Exemplo n.º 1
0
        private void loạiCôngTrìnhToolStripMenuItem_Click(object sender, EventArgs e)
        {
            QL_LoaiCongTrinh loaiCT = new QL_LoaiCongTrinh();

            loaiCT.ShowDialog();
            CongTrinhVienThong_Ctrl pro = new CongTrinhVienThong_Ctrl();

            pro.ComboBoxCTVT(cmbLoaicongtrinh);
        }
 private void LoaiCongtrinh_LinkClicked(object sender, DevExpress.XtraNavBar.NavBarLinkEventArgs e)
 {
     if (formLoaiCongTrinh == null || formLoaiCongTrinh.IsDisposed)
     {
         formLoaiCongTrinh           = new QL_LoaiCongTrinh();
         formLoaiCongTrinh.MdiParent = this;
         formLoaiCongTrinh.Show();
     }
     else
     {
         formLoaiCongTrinh.Activate();
     }
 }
 private void button_loaicongtrinh_Click(object sender, EventArgs e)
 {
     if (formLoaiCongTrinh == null || formLoaiCongTrinh.IsDisposed)
     {
         formLoaiCongTrinh           = new QL_LoaiCongTrinh();
         formLoaiCongTrinh.MdiParent = this;
         formLoaiCongTrinh.Show();
     }
     else
     {
         formLoaiCongTrinh.Activate();
     }
 }