예제 #1
0
파일: Form1.cs 프로젝트: 95rade/Tractor
        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);
        }
예제 #2
0
        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);
        }