示例#1
0
        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();
        }
示例#2
0
 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();
     }
 }