Advertisement
FederationHax

Skype tool source part 2 | by federation

Jun 7th, 2016
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.20 KB | None | 0 0
  1. BY FEDERATION | Skype tool source | part 2 --> Loading screen
  2.  
  3.  
  4. using AstroHDgamers_Skype_Tool.Properties;
  5. using System;
  6. using System.ComponentModel;
  7. using System.Drawing;
  8. using System.Windows.Forms;
  9. using theme;
  10.  
  11. namespace AstroHDGammers_Skype_Tool
  12. {
  13. public class loading : Form
  14. {
  15. private IContainer components = (IContainer) null;
  16. private FormSkin formSkin1;
  17. private FlatProgressBar flatProgressBar1;
  18. private Timer timer1;
  19. private Timer timer2;
  20. private Label label1;
  21. private Timer timer3;
  22.  
  23. public loading()
  24. {
  25. this.InitializeComponent();
  26. this.timer1.Start();
  27. }
  28.  
  29. private void timer1_Tick(object sender, EventArgs e)
  30. {
  31. this.flatProgressBar1.Increment(1);
  32. if (this.flatProgressBar1.Value != 100)
  33. return;
  34. this.Hide();
  35. new Form1().Show();
  36. this.timer1.Stop();
  37. }
  38.  
  39. protected override void Dispose(bool disposing)
  40. {
  41. if (disposing && this.components != null)
  42. this.components.Dispose();
  43. base.Dispose(disposing);
  44. }
  45.  
  46. private void InitializeComponent()
  47. {
  48. this.components = new System.ComponentModel.Container();
  49. this.formSkin1 = new theme.FormSkin();
  50. this.flatProgressBar1 = new theme.FlatProgressBar();
  51. this.timer1 = new System.Windows.Forms.Timer(this.components);
  52. this.timer2 = new System.Windows.Forms.Timer(this.components);
  53. this.timer3 = new System.Windows.Forms.Timer(this.components);
  54. this.label1 = new System.Windows.Forms.Label();
  55. this.formSkin1.SuspendLayout();
  56. this.SuspendLayout();
  57. //
  58. // formSkin1
  59. //
  60. this.formSkin1.BackColor = System.Drawing.Color.White;
  61. this.formSkin1.BaseColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73)))));
  62. this.formSkin1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(53)))), ((int)(((byte)(58)))), ((int)(((byte)(60)))));
  63. this.formSkin1.Controls.Add(this.label1);
  64. this.formSkin1.Controls.Add(this.flatProgressBar1);
  65. this.formSkin1.Dock = System.Windows.Forms.DockStyle.Fill;
  66. this.formSkin1.FlatColor = System.Drawing.Color.DeepSkyBlue;
  67. this.formSkin1.Font = new System.Drawing.Font("Segoe UI", 12F);
  68. this.formSkin1.HeaderColor = System.Drawing.Color.FromArgb(((int)(((byte)(45)))), ((int)(((byte)(47)))), ((int)(((byte)(49)))));
  69. this.formSkin1.HeaderMaximize = false;
  70. this.formSkin1.Location = new System.Drawing.Point(0, 0);
  71. this.formSkin1.Name = "formSkin1";
  72. this.formSkin1.Size = new System.Drawing.Size(1071, 324);
  73. this.formSkin1.TabIndex = 0;
  74. this.formSkin1.Text = "SmashKv Skype Tool is Loading...";
  75. //
  76. // flatProgressBar1
  77. //
  78. this.flatProgressBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(60)))), ((int)(((byte)(70)))), ((int)(((byte)(73)))));
  79. this.flatProgressBar1.DarkerProgress = System.Drawing.Color.DeepSkyBlue;
  80. this.flatProgressBar1.Location = new System.Drawing.Point(152, 253);
  81. this.flatProgressBar1.Maximum = 100;
  82. this.flatProgressBar1.Name = "flatProgressBar1";
  83. this.flatProgressBar1.ProgressColor = System.Drawing.Color.DeepSkyBlue;
  84. this.flatProgressBar1.Size = new System.Drawing.Size(802, 42);
  85. this.flatProgressBar1.TabIndex = 0;
  86. this.flatProgressBar1.Text = "flatProgressBar1";
  87. this.flatProgressBar1.Value = 0;
  88. //
  89. // timer1
  90. //
  91. this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
  92. //
  93. // label1
  94. //
  95. this.label1.AutoSize = true;
  96. this.label1.BackColor = System.Drawing.Color.Gray;
  97. this.label1.Font = new System.Drawing.Font("Impact", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
  98. this.label1.ForeColor = System.Drawing.Color.Red;
  99. this.label1.Location = new System.Drawing.Point(141, 107);
  100. this.label1.Name = "label1";
  101. this.label1.Size = new System.Drawing.Size(869, 117);
  102. this.label1.TabIndex = 1;
  103. this.label1.Text = "SmashKv Skype Tool";
  104. //
  105. // loading
  106. //
  107. this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
  108. this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  109. this.ClientSize = new System.Drawing.Size(1071, 324);
  110. this.Controls.Add(this.formSkin1);
  111. this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
  112. this.Name = "loading";
  113. this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
  114. this.Text = "loading";
  115. this.TransparencyKey = System.Drawing.Color.Fuchsia;
  116. this.formSkin1.ResumeLayout(false);
  117. this.formSkin1.PerformLayout();
  118. this.ResumeLayout(false);
  119.  
  120. }
  121. }
  122. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement