Пример #1
0
 private void citySettingToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         CloseAllAciveForms();
         frmCityMaster objfrmCityMaster = new frmCityMaster();
         objfrmCityMaster.TopLevel = false;
         plSettingsMenu.Controls.Add(objfrmCityMaster);
         objfrmCityMaster.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
         objfrmCityMaster.Dock            = DockStyle.Fill;
         objfrmCityMaster.Show();
     }
     catch { }
 }
Пример #2
0
        private void button16_Click(object sender, EventArgs e)
        {
            frmCityMaster objfrmCityMaster = new frmCityMaster();

            objfrmCityMaster.Show();
        }