Beispiel #1
0
 public void Form5_Load(object sender, EventArgs e)
 {
     get_User_Info();
     Auto_class.Change_Font(new Label[] { label1, label2 });
     Auto_class.Change_Font(new Button[] { button2, button3, button4 });
     get_location(Common.form3);
     Auto_class.Show_Dynamic(this, Common.form3.Button_enabled);
     First_Load = false;
 }
Beispiel #2
0
 private void Form6_Load(object sender, EventArgs e)
 {
     Auto_class.Change_Font(new Label[] { label1, label2, label3, label4 });
     for (int i = 0; i < Label_Array.Length; i++)
     {
         Auto_class.Change_Font(Label_Array[i]);
     }
     get_location(Common.form3);
     Auto_class.Show_Dynamic(this, Common.form3.Button_enabled);
     First_Load = false;
 }
Beispiel #3
0
 private void Button1_Click(object sender, EventArgs e)
 {
     if (Common.form3.Button_enabled)
     {
         this.Hide();
         Common.form3.Close();
         Auto_class.Show_Dynamic(Common.form1);
         Common.form1.Show();
         Common.form1.Activate();
     }
     else
     {
         IniFiles W_Config = new IniFiles();
         W_Config.DeleteIniFile();
         Application.Exit();
         Process.Start(Common.Program_Path);
     }
 }
Beispiel #4
0
 private void Form3_Load(object sender, EventArgs e)
 {
     Auto_ChangePicBoxSize();
     Auto_class.Change_Font(new Label[] { label1, label2, label3, link_State });
     Auto_class.Show_Dynamic(this);
 }
Beispiel #5
0
 //窗口载入
 private void Form2_Load(object sender, EventArgs e)
 {
     this.Location = new Point(M_Form.Location.X, M_Form.Location.Y + M_Form.Height);
     Auto_class.Change_Font(new Label[] { label1, label2, label3, label4 });
     Auto_class.Show_Dynamic(this);
 }