示例#1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            productName.Text  = Application.ProductName;
            versionLabel.Text = "Version " + Application.ProductVersion;
            licenceText.Text  = Properties.Resources.ShortLicence;

            Stylish.SetGradientBackground(tabPage3,
                                          new Stylish.GradientStyle(Color.LightCyan, Color.PaleTurquoise, -90F));
        }
示例#2
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            Logger.Add("UVA Arena started", "Main Form");

            //set styles
            customTabControl1.BackColor = Color.PaleTurquoise;
            Stylish.SetGradientBackground(menuStrip1,
                new Stylish.GradientStyle(Color.PaleTurquoise, Color.LightSteelBlue, 90F));
            Stylish.SetGradientBackground(tableLayoutPanel1,
                new Stylish.GradientStyle(Color.PaleTurquoise, Color.LightSteelBlue, 90F));
            Stylish.SetGradientBackground(loadingPanel,
              new Stylish.GradientStyle(Color.PaleTurquoise, Color.LightSteelBlue, 90F));

            //start status cleaner
            ClearStatus("");

            //other operations
            DelayOperations(true);
        }
示例#3
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            Logger.Add("UVA Arena started", "Main Form");

            //set styles
            customTabControl1.BackColor = Color.PaleTurquoise;
            Stylish.SetGradientBackground(menuStrip1,
                                          new Stylish.GradientStyle(Color.PaleTurquoise, Color.LightSteelBlue, 90F));
            Stylish.SetGradientBackground(tableLayoutPanel1,
                                          new Stylish.GradientStyle(Color.PaleTurquoise, Color.LightSteelBlue, 90F));

            //start status cleaner
            ClearStatus("");

            //set some properties to the form
            SetFormProperties();

            //initialize controls and add them
            DelayInitialize(true);
        }