private void countrySettingToolStripMenuItem_Click(object sender, EventArgs e) { try { CloseAllAciveForms(); frmCountryMaster objfrmCountryMaster = new frmCountryMaster(); objfrmCountryMaster.TopLevel = false; plSettingsMenu.Controls.Add(objfrmCountryMaster); objfrmCountryMaster.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; objfrmCountryMaster.Dock = DockStyle.Fill; objfrmCountryMaster.Show(); } catch { } }
private void button11_Click(object sender, EventArgs e) { frmCountryMaster objfrmCountryMaster = new frmCountryMaster(); objfrmCountryMaster.Show(); }