private void btnThoatCTHD_Click(object sender, EventArgs e) { this.Hide(); DangNhap frm = new DangNhap(); frm.Show(); }
private void btnBackSanPhan_Click(object sender, EventArgs e) { this.Hide(); DangNhap frm = new DangNhap(); frm.Show(); }
private void Kho_FormClosed(object sender, FormClosedEventArgs e) { this.Hide(); DangNhap frm = new DangNhap(); frm.Show(); }
private void DoiMatKhau_FormClosing(object sender, FormClosingEventArgs e) { DialogResult result = MessageBox.Show("Bạn có thật sự muốn thoát?", "Thông báo", MessageBoxButtons.YesNo); if (result == DialogResult.No) { e.Cancel = true; } DangNhap frm = new DangNhap(); frm.Show(); this.Hide(); }