Beispiel #1
0
 private void Information_Load(object sender, EventArgs e)
 {
     this.WindowState = FormWindowState.Maximized;
     AlignControls.CenterControl(gbInfo);
     textBoxes   = EnumeratorForControls.GetChildControls <TextBox>(gbInfo);
     CompanyInfo = new CompanyInfo();
     Open();
     FillTextBoxes();
 }
Beispiel #2
0
        private void MainMenu_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;
            AlignControls.CenterControl(pnlMenuButtons);
            pnlMenuButtons.BackColor = Color.FromArgb(0, 88, 44, 55);   // Making the background of the menu buttons panel transparent

            if (Properties.Settings.Default.DontShow)
            {
                new MessageForm().ShowDialog();
            }

            Information.Open(); // Loading the company info
        }
Beispiel #3
0
 private void MainMenu_SizeChanged(object sender, EventArgs e)
 {
     AlignControls.CenterControl(pnlMenuButtons);
 }
Beispiel #4
0
 private void Information_SizeChanged(object sender, EventArgs e)
 {
     AlignControls.CenterControl(gbInfo);
 }