Example #1
0
 static public PixelArtToolboxForm GetPixelArtToolboxForm(ILog log, INotificator notificator)
 {
     if (pixelArtToolboxForm == null)
     {
         pixelArtToolboxForm = new PixelArtToolboxForm(log, notificator);
         pixelArtToolboxForm.Show();
         pixelArtToolboxForm.FormClosed += PixelArtToolboxForm_FormClosed;
         openForms.Add(pixelArtToolboxForm);
     }
     return(pixelArtToolboxForm);
 }
Example #2
0
 static private void PixelArtToolboxForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     pixelArtToolboxForm = null;
     OpenForm_FormClosed(sender, e);
 }