private void InitializeForm() { // ModuleID ModuleID = "ACC-02003"; // form visual style AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }
private void InitializeForm() { this.Text = Application.ProductName; this.StartPosition = FormStartPosition.Manual; this.Top = 0; this.Left = 0; this.Width = Screen.PrimaryScreen.WorkingArea.Width; this.Height = Screen.PrimaryScreen.WorkingArea.Height; this.ribbonLabel3.Text = "User: "******" - Logged As: " + AppHelper.appRoleName; this.ribbonLabel1.Text = "Connected to: " + AppHelper.dbServer + " (" + AppHelper.dbName + ")"; this.ribbonLabel4.Text = Application.ProductName + " (Version: " + Application.ProductVersion + ")"; AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }
public frmAbout() { InitializeComponent(); // Initialize the AboutBox to display the product information from the assembly information. // Change assembly information settings for your application through either: // - Project->Properties->Application->Assembly Information // - AssemblyInfo.cs this.Text = String.Format("About {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); this.labelCompanyName.Text = AssemblyCompany; this.textBoxDescription.Text = AssemblyDescription; AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }
public frmLoginEx() { InitializeComponent(); this.Text = Application.ProductName; this.label8.Text = "Version: " + Application.ProductVersion; this.Height = _hideDbSetting; this.c1TextBox3.Text = AppHelper.dbServer; this.c1TextBox4.Text = AppHelper.dbName; this.c1TextBox6.Text = AppHelper.dbUser; this.c1TextBox7.Text = AppHelper.dbPassword; this.c1TextBox4.TabStop = (this.Height == _showDbSetting); this.c1TextBox6.TabStop = (this.Height == _showDbSetting); this.c1TextBox7.TabStop = (this.Height == _showDbSetting); AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }
public frmEntry2() { InitializeComponent(); AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }
private void frmSearch_Helper(int id) { InitializeComponent(); AppHelper.ApplyFormStyle(this); AppHelper.ApplyVisualStyle(this.Controls); }