public Test(Form_add_user form_add_user_cons) { if (test == true) { form_add_user = form_add_user_cons; add_user_test_true(); add_user_test_false_date(); add_user_test_false_car(); add_user_test_false_bd(); add_user_test_false_phone_num(); } }
public Log(Form_operator frm_operator) { InitializeComponent(); form_operator = frm_operator; form_add_user = new Form_add_user(); user = new DataSet1TableAdapters.UserDataTableAdapter(); Opacity = 0; Timer timer = new Timer(); timer.Tick += new EventHandler((sender, e) => { if ((Opacity += 0.08d) >= 1) timer.Stop(); }); timer.Interval = 5; timer.Start(); }
public Log(Form_operator frm_operator) { InitializeComponent(); form_operator = frm_operator; form_add_user = new Form_add_user(); user = new DataSet1TableAdapters.UserDataTableAdapter(); Opacity = 0; Timer timer = new Timer(); timer.Tick += new EventHandler((sender, e) => { if ((Opacity += 0.08d) >= 1) { timer.Stop(); } }); timer.Interval = 5; timer.Start(); }
private void button_add_user_Click(object sender, EventArgs e) { form_add_user = new Form_add_user(); form_add_user.Show(); }