Esempio n. 1
0
        public override void OnCreate()
        {
            base.OnCreate();

            SingletonInitializer.Initialize(this);
            Logger.Information("OnCreate()", nameof(MainApplication));

            RegisterActivityLifecycleCallbacks(this);
        }
Esempio n. 2
0
        private void MainForm_Load(object sender, EventArgs e)
        {
            Show();
#if (DEBUG)
            Properties.Settings.Default.DebugMode    = true;
            Properties.Settings.Default.DeleteOutput = false;
#else
            Properties.Settings.Default.DebugMode = false;
            //Properties.Settings.Default.DeleteOutput = true;
#endif
            SingletonInitializer.Initialize();
            Logger.WriteLine(String.Format("Client Test Tool v.{0} has successfully loaded", Properties.Settings.Default.Version));
        }