Exemple #1
0
 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);
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 private void frmAbout_Load(object sender, EventArgs e)
 {
     DialogPositioner.ApplyTo(this);
 }