public QDriveAdminConsole() { InitializeComponent(); this.Style.Border = new Pen(Color.FromArgb(1, 115, 199), 2); this.Style.InactiveBorder = new Pen(Color.FromArgb(1, 115, 199), 2); panels.Add(pnlLogin); panels.Add(pnlSettings); panels.Add(pnlLoading); panels.Add(pnlLocal); panels.Add(pnlNotConfigured); QDLib.AlignPanels(this, panels, 716, 440); pbxQDLogo.Image = Properties.Resources.QDriveProgamFavicon; pbxQDLogoLocal.Image = Properties.Resources.QDriveProgamFavicon; pbxQDLogoLoading.Image = Properties.Resources.QDriveProgamFavicon; pbxLogoNotConfigured.Image = Properties.Resources.QDriveProgamFavicon; lblVersion.Text = "Version " + QDInfo.QDVersion; pnlLoading.BringToFront(); txbMasterPassword.Focus(); }
public QDriveSetup() { InitializeComponent(); // Add Panels to panel-collection panels.Add(pnlS0Welcome); panels.Add(pnlS1ConnectionType); panels.Add(pnlS2LocalConnection); panels.Add(pnlS2OnlineConnectionA); panels.Add(pnlS2OnlineConnectionB); panels.Add(pnlS3Finish); panels.Add(pnlS3Error); QDLib.AlignPanels(this, panels, 680, 500); this.Style.Border = new Pen(Color.FromArgb(77, 216, 255), 2); this.Style.InactiveBorder = new Pen(Color.FromArgb(77, 216, 255), 2); }