示例#1
0
 /// <summary>
 /// Show form color picker
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripButtonColorPicker_Click(object sender, EventArgs e)
 {
     using (FormColorPicker form = new FormColorPicker())
     {
         this.Hide();
         form.ShowDialog();
         this.Show();
     }
 }
示例#2
0
 /// <summary>
 /// Show form color picker
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void toolStripButtonColorPicker_Click(object sender, EventArgs e)
 {
     using (FormColorPicker form = new FormColorPicker())
     {
         this.Hide();
         form.ShowDialog();
         this.Show();
     }
 }