示例#1
0
 public ID_ViewModel(Window_ID parent)
 {
     parentWindow = parent;
     Model_Instance = new ID_Model(this);
     Do_StandarizeID = new RelayCommand(StandarizeID, (x) => true);
 }
示例#2
0
 private void ButtonID_Click(object sender, RoutedEventArgs e)
 {
     this.Hide();
     var GetID_instance = new Window_ID(this);
     GetID_instance.Show();
 }
示例#3
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.thisWindow = ((NHIRD.Window_ID)(target));
     
     #line 9 "..\..\..\..\WPF Forms\ID\WindowID.xaml"
     this.thisWindow.Unloaded += new System.Windows.RoutedEventHandler(this.WindowID_Unloaded);
     
     #line default
     #line hidden
     
     #line 9 "..\..\..\..\WPF Forms\ID\WindowID.xaml"
     this.thisWindow.Loaded += new System.Windows.RoutedEventHandler(this.WindowID_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.inputFolderSelect = ((NHIRD.IOFolderSelector)(target));
     return;
     case 3:
     this.fileListControl = ((NHIRD.FileListControl)(target));
     return;
     case 4:
     this.ouputFolderSelect = ((NHIRD.IOFolderSelector)(target));
     return;
     }
     this._contentLoaded = true;
 }