Ejemplo n.º 1
0
 private void fLogin_FormClosing(object sender, FormClosingEventArgs e)
 {
     if (MessageBox.Show("Bạn có chắc chắn muốn thoát không ?", "Thông báo", MessageBoxButtons.OKCancel) != System.Windows.Forms.DialogResult.OK)
     {
         ConnectData.Disconnect();
         e.Cancel = true;
     }
 }
Ejemplo n.º 2
0
 private void fAccount_FormClosing(object sender, FormClosingEventArgs e)
 {
     ConnectData.Disconnect();
 }
Ejemplo n.º 3
0
 private void fChiTieu_FormClosing(object sender, FormClosingEventArgs e)
 {
     ConnectData.Disconnect();
 }