private void UC_withdrawl_Menu_Click(object sender, EventArgs e) { with_form = new Withdrawl_form(); panel_main.Controls.Clear(); with_form.TopLevel = false; with_form.Left = 180; panel_main.Controls.Add(with_form); with_form.Show(); panel_main.Visible = true; panel_menu.Hide(); count = 0; }
public Add_Update_Withdrawal_Form(Withdrawl_form with) { InitializeComponent(); withdrawal = with; }