Exemple #1
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormThemKhachHang frmThem = new FormThemKhachHang();

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

            frmThem.ShowDialog();
            ShowSelectedRow();
        }
        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;
            }
        }
Exemple #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();
        }