예제 #1
0
 public static bool CheckIfNull(SendWindow mw)
 {
     if (String.IsNullOrEmpty(mw.destination.Text) || String.IsNullOrEmpty(mw.fee.Text) || String.IsNullOrEmpty(mw.money.Text))
     {
         MessageBox.Show("Can not be empty", "Error", MessageBoxButton.OK, MessageBoxImage.Error);
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #2
0
 private void Send_Click(object sender, RoutedEventArgs e)
 {
     sw = new SendWindow();
 }