예제 #1
0
        private void BtnThemNCCMoi_Click(object sender, EventArgs e)
        {
            frmNhaCungCap kh = new frmNhaCungCap();

            kh.ShowDialog();

            //cbNhaCungCap.DataSource = Dal.loa();
            //cboKH.DisplayMember = "TenKH";
            //cboKH.ValueMember = "MaKH";
        }
예제 #2
0
        private void barButtonItem7_ItemClick(object sender, ItemClickEventArgs e)
        {
            Form form = IsActive(typeof(frmNhaCungCap));

            if (form == null)
            {
                frmNhaCungCap f = new frmNhaCungCap();
                f.MdiParent = this;
                f.Show();
            }
            else
            {
                form.Activate();
            }
        }