Ejemplo n.º 1
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormThemKhachHang frmThem = new FormThemKhachHang();

            frmThem.ShowDialog();
            XuatThongTin();
        }
Ejemplo n.º 2
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormThemKhachHang frmThem = new FormThemKhachHang();

            frmThem.ShowDialog();
            ShowSelectedRow();
        }
Ejemplo n.º 3
0
        private void pictureBoxThemKH_Click(object sender, EventArgs e)
        {
            FormThemKhachHang themkh = new FormThemKhachHang();

            themkh.ShowDialog();
            if (themkh.DialogResult == DialogResult.OK)
            {
                PushNoti noti = new PushNoti("Success", "Thêm khách hàng thành công!");
                noti.Width = this.Width;
                this.Controls.Add(noti);
                noti.Show();
                noti.ShowNoti();
                txtMaKH.Text = themkh.MaKH;
            }
        }
Ejemplo n.º 4
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormThemKhachHang frmThem = new FormThemKhachHang();

            frmThem.ShowDialog();
            if (frmThem.DialogResult == DialogResult.OK)
            {
                PushNoti noti1 = new PushNoti("Success", "Thêm khách hàng thành công!");
                noti1.Width = this.Width;
                this.Controls.Add(noti1);
                noti1.Show();
                noti1.ShowNoti();
            }
            Reset();
            ShowSelectedRow();
        }