Example #1
0
        public ElucidateForm()
        {
            InitializeComponent();

            if (Properties.Settings.Default.UpdateRequired)
            {
                // Thanks go to http://cs.rthand.com/blogs/blog_with_righthand/archive/2005/12/09/246.aspx
                Properties.Settings.Default.Upgrade();
                Properties.Settings.Default.UpdateRequired = false;
                Properties.Settings.Default.Save();
            }
            WindowLocation.GeometryFromString(Properties.Settings.Default.WindowLocation, this);
            if (Enum.TryParse(Properties.Settings.Default.Theme, out PaletteModeManager value))
            {
                RecalcNonClient();
                kryptonManager1.GlobalPaletteMode = value;
            }

            liveLog.Show(); // go modeless
            liveRunLogControl1.TaskStarted += LiveRunLogControl_TaskStarted;

            recover1.RunLogControl  = liveRunLogControl1;
            commonTab.RunLogControl = liveRunLogControl1;
            // Hook into changes in the global palette
            KryptonManager.GlobalPaletteChanged += OnPaletteChanged;
            ThemeManager.PropagateThemeSelector(themeComboBox);
            themeComboBox.Text = ThemeManager.ReturnPaletteModeManagerAsString(PaletteModeManager.Office2007Blue, kryptonManager1);
        }
Example #2
0
 private void ElucidateForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     tpCoverage.StopProcessing();
     Properties.Settings.Default.LogWindowLocation = WindowLocation.GeometryToString(liveLog);
     Properties.Settings.Default.WindowLocation    = WindowLocation.GeometryToString(this);
     Properties.Settings.Default.Save();
 }
Example #3
0
 public Elucidate()
 {
     InitializeComponent();
     miscTabCtrl.Elucidate = this;
     if (Properties.Settings.Default.UpdateRequired)
     {
         // Thanks go to http://cs.rthand.com/blogs/blog_with_righthand/archive/2005/12/09/246.aspx
         Properties.Settings.Default.Upgrade();
         Properties.Settings.Default.UpdateRequired = false;
         Properties.Settings.Default.Save();
     }
     WindowLocation.GeometryFromString(Properties.Settings.Default.WindowLocation, this);
     AddThreadingCallbacks();
 }
Example #4
0
        public ElucidateForm()
        {
            InitializeComponent();
            //RichTextBoxTarget.ReInitializeAllTextboxes(this);

            if (Properties.Settings.Default.UpdateRequired)
            {
                // Thanks go to http://cs.rthand.com/blogs/blog_with_righthand/archive/2005/12/09/246.aspx
                Properties.Settings.Default.Upgrade();
                Properties.Settings.Default.UpdateRequired = false;
                Properties.Settings.Default.Save();
            }
            WindowLocation.GeometryFromString(Properties.Settings.Default.WindowLocation, this);

            liveRunLogControl1.ActionWorker.RunWorkerCompleted += liveRunLogControl1_RunWorkerCompleted;
            recover1.TaskStarted   += Recover1_TaskStarted;
            recover1.TaskCompleted += Recover1_TaskCompleted;
        }
Example #5
0
        public ElucidateForm()
        {
            InitializeComponent();

            if (Properties.Settings.Default.UpdateRequired)
            {
                // Thanks go to http://cs.rthand.com/blogs/blog_with_righthand/archive/2005/12/09/246.aspx
                Properties.Settings.Default.Upgrade();
                Properties.Settings.Default.UpdateRequired = false;
                Properties.Settings.Default.Save();
            }
            WindowLocation.GeometryFromString(Properties.Settings.Default.WindowLocation, this);
            liveRunLogControl1.ActionWorker.RunWorkerCompleted += liveRunLogControl1_RunWorkerCompleted;
            recover1.TaskStarted            += Recover1_TaskStarted;
            recover1.TaskCompleted          += Recover1_TaskCompleted;
            AppUpdate.NewVersonAvailable    += VersionCheck_NewVersonAvailable;
            AppUpdate.NewVersonInstallReady += VersionCheck_NewVersonInstallReady;
        }
Example #6
0
 private void ElucidateForm_ResizeEnd(object sender, EventArgs e)
 {
     // persist our geometry string.
     Properties.Settings.Default.WindowLocation = WindowLocation.GeometryToString(this);
     Properties.Settings.Default.Save();
 }
Example #7
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     // persist our geometry string.
     Properties.Settings.Default.WindowLocation = WindowLocation.GeometryToString(this);
     Properties.Settings.Default.Save();
 }