예제 #1
0
 private void batalBtn_Click(object sender, RoutedEventArgs e)
 {
     if (MessageBox.Show("Batalkan Tambah Data?", "Batalkan?", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.No)
     {
     }
     else
     {
         barangMasuk.Show();
         this.Close();
     }
 }
예제 #2
0
        private void BarangMasukBtn_Click(object sender, RoutedEventArgs e)
        {
            BarangMasuk barangMasuk = new BarangMasuk();

            barangMasuk.Show();
            this.Close();
        }