Exemple #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     NetTools nt = new NetTools();
     showForm();
     /*if (!nt.getUserStatus())
     {
         showForm();
     }
     if (Screen.AllScreens.Length > 1)
     {
         //em.Show();
     }*/
 }
Exemple #2
0
 private void showForm()
 {
     NetTools nt = new NetTools();
     this.webBrowser1.Url = new Uri("http://timesheet.attic-architect.com/login.php?a=v_status&b=" + nt.HostMAC);
     this.webBrowser1.ObjectForScripting = this;
     this.Show();
     this.WindowState = FormWindowState.Maximized;
     this.Activate();
     //showOnMonitor(0);
 }