private void Verify_Click(object sender, RoutedEventArgs e) { MySqlCommand cmdupdate = new MySqlCommand("UPDATE customer SET cusStatus='2' WHERE cusID='" + cusID + "'", con); cmdupdate.Connection.Open(); cmdupdate.ExecuteNonQuery(); con.Close(); MessageBox.Show("ยืนยันตนสำเร็จ!!!", "สำเร็จ"); VerifyCustomer go = new VerifyCustomer(); go.Show(); this.Close(); }
private void Verify_Click(object sender, RoutedEventArgs e) { VerifyCustomer go = new VerifyCustomer(); go.Show(); }