Beispiel #1
0
        public Main()
        {
            AutoEvNr.Check4Update(Globals.version);
            bool isLegit = checker.CheckFiles();

            if (!isLegit)
            {
                Error.CstmError.Show("You don't have permission to access the tool due wrong/modified files!");
                Application.Exit();
            }

            if (Globals.helper == true)
            {
                tabControl1.SelectedTab = tabPage5;
                tabControl2.Visible     = false;
                label1.Text             = "Howling Software | Update";
            }

            bool authed = auth.Authenticate(Globals.secret_key);

            if (authed != true)
            {
                Error.CstmError.Show("Please contact the Administration");
                Environment.Exit(0);
            }
            InitializeComponent();
        }
Beispiel #2
0
        public Main()
        {
            AutoEvNr.Check4Update(Globals.version);
            bool isLegit = checker.CheckFiles();

            if (!isLegit)
            {
                Error.CstmError.Show("You don't have permission to access the tool due wrong/modified files!");
                Application.Exit();
            }

            bool authed = auth.Authenticate(Globals.secret_key);

            if (authed != true)
            {
                Error.CstmError.Show("Please contact the Administration");
                Environment.Exit(0);
            }
            InitializeComponent();
        }