private void BunifuButton1_Click(object sender, EventArgs e) { var form_Add_Employer = new Add_Employer(); form_Add_Employer.Closed += (s, args) => this.Close(); this.Hide(); form_Add_Employer.Show(); }
private void Add_Employer_Load(object sender, EventArgs e) { //uC11.Visible = false; _obj = this; PnlContainer.Controls.Clear(); UC1 un = new UC1(); un.Dock = DockStyle.Fill; PnlContainer.Controls.Add(un); timer1.Enabled = true; }