protected override void OnShown(EventArgs e) { base.OnShown(e); //Initialize glass sheet GlassMargins = new VistaControls.Dwm.Margins(0, 0, 58, 28); //Init timer for animated footer _timer = new Timer(); _timer.Interval = 4200; _timer.Enabled = true; _timer.Tick += new EventHandler(_timer_Tick); }
protected override void OnShown(EventArgs e) { base.OnShown(e); //Initialize glass sheet GlassMargins = new VistaControls.Dwm.Margins(0, 0, 30, 0); // Place the panel on the form... since I'm not docking this control currently I just manually // put the position and the height in. panel1.Top = 30; panel1.Height = this.Height - 120; horizontalPanel1.Top = panel1.Bottom; }
protected override void OnShown(EventArgs e) { base.OnShown(e); //Initialize glass sheet GlassMargins = new VistaControls.Dwm.Margins(0, 0, 30, 28); // Place the panel on the form... since I'm not docking this control currently I just manually // put the position and the height in. aeroVerticalPanel1.Top = 30; aeroVerticalPanel1.Left = 0; aeroVerticalPanel1.Height = 365; // Now, move the normal panel with the white background to fill the rest. panel1.Top = aeroVerticalPanel1.Top; panel1.Left = aeroVerticalPanel1.Right; panel1.Height = aeroVerticalPanel1.Height; }