コード例 #1
0
 private void BT_Add_Closed(object sender, EventArgs e)
 {
     if (childwindow.DialogResult.GetValueOrDefault(false)) {
         ItemSources.Add(childwindow.NewSource);
     }
     childwindow = null;
     GenerateList();
     EnableDisableButtons();
 }
コード例 #2
0
 private void BT_Edit_Closed(object sender, EventArgs e)
 {
     if (childwindow.DialogResult.GetValueOrDefault(false))
     {
         ItemSources[TheListBox.SelectedIndex] = childwindow.NewSource;
     }
     childwindow = null;
     GenerateList();
     EnableDisableButtons();
 }
コード例 #3
0
ファイル: ItemSourceEditor.xaml.cs プロジェクト: rakot/rawr
 private void BT_Edit_Closed(object sender, EventArgs e)
 {
     if (childwindow.DialogResult.GetValueOrDefault(false))
     {
         ItemSources[TheListBox.SelectedIndex] = childwindow.NewSource;
     }
     childwindow = null;
     GenerateList();
     EnableDisableButtons();
 }
コード例 #4
0
ファイル: ItemSourceEditor.xaml.cs プロジェクト: rakot/rawr
 private void BT_Add_Closed(object sender, EventArgs e)
 {
     if (childwindow.DialogResult.GetValueOrDefault(false))
     {
         ItemSources.Add(childwindow.NewSource);
     }
     childwindow = null;
     GenerateList();
     EnableDisableButtons();
 }
コード例 #5
0
 private void BT_Edit_Click(object sender, RoutedEventArgs e)
 {
     childwindow = new ItemSourceEditorChild(TheListBox.SelectedItem as ItemLocation);
     childwindow.Closed += new EventHandler(BT_Edit_Closed);
     childwindow.Show();
 }
コード例 #6
0
 private void BT_Add_Click(object sender, RoutedEventArgs e)
 {
     childwindow = new ItemSourceEditorChild();
     childwindow.Closed += new EventHandler(BT_Add_Closed);
     childwindow.Show();
 }
コード例 #7
0
ファイル: ItemSourceEditor.xaml.cs プロジェクト: rakot/rawr
 private void BT_Edit_Click(object sender, RoutedEventArgs e)
 {
     childwindow         = new ItemSourceEditorChild(TheListBox.SelectedItem as ItemLocation);
     childwindow.Closed += new EventHandler(BT_Edit_Closed);
     childwindow.Show();
 }
コード例 #8
0
ファイル: ItemSourceEditor.xaml.cs プロジェクト: rakot/rawr
 private void BT_Add_Click(object sender, RoutedEventArgs e)
 {
     childwindow         = new ItemSourceEditorChild();
     childwindow.Closed += new EventHandler(BT_Add_Closed);
     childwindow.Show();
 }