public Form1() { This = this; InitializeComponent(); #if !DEBUG DlgSplash splash = new DlgSplash(); splash.Show(); Thread.Sleep(1000); #endif AppSettings = new AppSettings(); label3.Text = ""; Tm = new TestManager(); Type t = Type.GetType(AppSettings.TestClass); Tm.TestClass = Activator.CreateInstance(t); }
public Form1() { Log.WriteLine($"Version {Constants.Version:0.000}. Application started..."); This = this; InitializeComponent(); #if !DEBUG DlgSplash splash = new DlgSplash(); splash.Show(); Thread.Sleep(1000); #endif AppSettings = new AppSettings(); label3.Text = ""; Tm = new TestManager(); Type t = Type.GetType(AppSettings.TestClass); Tm.TestClass = Activator.CreateInstance(t); }