private void frm_confirm_Load(object sender, EventArgs e) { frm_principal fr = new frm_principal(); frm_nous_ecrire fr2 = new frm_nous_ecrire(); frm_about_box fr3 = new frm_about_box(); fr.Enabled = false; fr2.Enabled = false; fr3.Enabled = false; }
private void btn_non_Click(object sender, EventArgs e) { this.Hide(); frm_principal fr = new frm_principal(); frm_nous_ecrire fr2 = new frm_nous_ecrire(); frm_about_box fr3 = new frm_about_box(); fr.Enabled = true; fr2.Enabled = true; fr3.Enabled = true; }
private void timer1_Tick(object sender, EventArgs e) { if (progressBar1.Value == 100) { timer1.Enabled = false; notification.Visible = false; frm_principal fr = new frm_principal(); fr.Show(); this.Hide(); } else { progressBar1.Increment(+1); } }