private void frmColorPicker_Load(object sender, EventArgs e) { cancelled = true; rscroll.Value = color.R; gscroll.Value = color.G; bscroll.Value = color.B; Updatevalues(true); DialogPositioner.ApplyTo(this); }
private void frmGetKey_Load(object sender, EventArgs e) { DialogPositioner.ApplyTo(this); oldactivecolor = colors.active; oldinactivecolor = colors.inactive; btnColInactive.BackColor = colors.inactive; btnColActive.BackColor = colors.active; lblKey.Text = "[ Press a key ]"; Cancelled = true; keychanged = false; }
private void frmAbout_Load(object sender, EventArgs e) { DialogPositioner.ApplyTo(this); }