private void loadData(object sender, System.Windows.Input.MouseButtonEventArgs e) { details details = new details(); details.createBTN.IsEnabled = false; details.ReadData(3); details.Owner = this; details.ShowDialog(); }
private void AddBTN_Click(object sender, RoutedEventArgs e) { details details = new details(); details.Owner = this; details.ShowDialog(); details.saveBTN.IsEnabled = false; }