private int updatefrequency = 12; // in hours #endregion Fields #region Constructors public frmMain() { InitializeComponent(); lvwSystems.ListViewItemSorter = lvwSorter; this.Enabled = false; stat = new Interface.frmStartup(); stat.Show(); stat.Refresh(); }
public frmMain() { InitializeComponent(); lvwSystems.ListViewItemSorter = lvwSorter; this.Enabled = false; if (IsRootDrive()) { cont = false; if (MessageBox.Show(StringValue.RootDrive, "Running in root drive!", MessageBoxButtons.YesNo) == System.Windows.Forms.DialogResult.Yes) { cont = true; } } if (cont) { stat = new Interface.frmStartup(); stat.Show(); stat.Refresh(); } }