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