コード例 #1
0
 private void cmdColors_Click(object sender, EventArgs e)
 {
     try { frmColors.Close(); }
     catch { /* do nothing */ }
     frmColors = new ColorsForm(ref _pal, _image.Frames[_frame].NumberOfColors);
     frmColors.Show();
     if (!Text.Contains("*"))
     {
         Text += "*";
     }
 }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: MikeG621/XwingActEditor
 private void cmdColors_Click(object sender, EventArgs e)
 {
     try { frmColors.Close(); }
     catch { /* do nothing */ }
     frmColors = new ColorsForm(ref _pal, _image.Frames[_frame].NumberOfColors);
     frmColors.Show();
     if (!Text.Contains("*")) Text += "*";
 }