Exemplo n.º 1
0
        private void btnNCC_Click(object sender, EventArgs e)
        {
            NCC f7 = new NCC();

            f7.ShowDialog();
            this.Hide();
        }
Exemplo n.º 2
0
 private void btnThem_Click(object sender, EventArgs e)
 {
     if (kiemtra())
     {
         try
         {
             //////////tạo mới đối tượng nhà cung cấp
             NCC ncc = new NCC();
         }
         catch (Exception ex)
         {
             MessageBox.Show(" Có lỗi xảy ra trong quá trình thêm mới nhà cung cấp", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information);
         }
     }
 }