コード例 #1
0
        private void btnThemLyDoChi_Click(object sender, EventArgs e)
        {
            frmLyDoChi Chi = new frmLyDoChi();

            Chi.ShowDialog();
            ctrlLyDo.HienthiAutoComboBox(cmbLyDoChi);
        }
コード例 #2
0
 private void mnuLyDoChi_Click(object sender, EventArgs e)
 {
     if (LyDoChi == null || LyDoChi.IsDisposed)
     {
         LyDoChi           = new frmLyDoChi();
         LyDoChi.MdiParent = this;
         LyDoChi.Show();
     }
     else
     {
         LyDoChi.Activate();
     }
 }