Example #1
0
 private void InitMilltime()
 {
     if (pnlMilltime.Controls.Count > 0) return;
     WaitDialog.Show(this, "Loading components...");
     pnlMilltime.Controls.Clear();
     var website = new CompanyWebsite();
     website.Clear();
     website.LoadCompanyWebsite("tid.brightvision.se/milltime/cgi/milltime.cgi/login");
     website.Dock = DockStyle.Fill;
     pnlMilltime.Controls.Add(website);
     WaitDialog.Close();
 }
Example #2
0
 private void InitHelpWebsite()
 {
     if (pnlHelpWebsite.Controls.Count > 0) return;
     WaitDialog.Show(this, "Loading components...");
     pnlHelpWebsite.Controls.Clear();
     var website = new CompanyWebsite();
     website.Clear();
     website.LoadCompanyWebsite("brightsales.weebly.com");
     website.Dock = DockStyle.Fill;
     pnlHelpWebsite.Controls.Add(website);
     WaitDialog.Close();
 }