コード例 #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
ファイル: FormFontDraw.cs プロジェクト: pedoc/mos-font-tool
 /// <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();
     }
 }