Пример #1
0
 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 { }
 }
Пример #2
0
        private void button11_Click(object sender, EventArgs e)
        {
            frmCountryMaster objfrmCountryMaster = new frmCountryMaster();

            objfrmCountryMaster.Show();
        }