示例#1
0
 public static MMPIDataHandler GetDataHandler(string FileName, MessageHandler MessageHandler)
 {
     if (self == null)
     {
         self = new MMPIDataHandler(FileName, MessageHandler);
     }
     return(self as MMPIDataHandler);
 }
示例#2
0
 private void DataBaseInitialization()
 {
     dataHandler = MMPIDataHandler.GetDataHandler("mmpidata", Message);
     this.Dispatcher.Invoke((Action)(() =>
     {
         panel_initdatabase.Visibility = Visibility.Collapsed;
         panel_main.Visibility = Visibility.Visible;
         loader.DatabaseInitialized();
     }));
 }