Пример #1
0
 public static void Initialize()
 {
     AppGlobalSettings.Log      = AppConfigUtility.AppSettings("logPath");
     AppGlobalSettings.DataFile = AppConfigUtility.AppSettings("dataFileName");
     if (AppConfigUtility.AppSettings("factory") == "test")
     {
         _factory = new ElementaryParticlesTestFactory();
     }
     else if (AppConfigUtility.AppSettings("factory") == "split")
     {
         _factory = new ElementaryParticleSplitFileFactory();
     }
 }
Пример #2
0
 public FrmMain()
 {
     InitializeComponent();
     factory = AppGlobalSettings.factory;
 }