Пример #1
0
 private void bunifuImageButton6_Click(object sender, EventArgs e)
 {
     if (colour == null)
     {
         colour             = new COlourList();
         colour.RefreshDgv += new COlourList.DoEvent(ResetColor);
         colour.Show(this);
     }
     else
     {
         colour.WindowState = FormWindowState.Normal;
         colour.Focus();
     }
 }
Пример #2
0
 void ResetColor()
 {
     colour = null;
 }