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 += "*"; } }
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 += "*"; }