コード例 #1
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormNhapNhanVien frmNhapNV = new FormNhapNhanVien();

            frmNhapNV.ShowDialog();
            Reset();
        }
コード例 #2
0
        private void PictureBox16_Click(object sender, EventArgs e)
        {
            FormNhapNhanVien frmNhapNV = new FormNhapNhanVien();

            frmNhapNV.ShowDialog();
            if (frmNhapNV.DialogResult == DialogResult.OK)
            {
                PushNoti noti1 = new PushNoti("Success", "Thêm nhân viên thành công!");
                noti1.Width = this.Width;
                this.Controls.Add(noti1);
                noti1.Show();
                noti1.ShowNoti();
            }
            Reset();
        }