コード例 #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);
 }
コード例 #2
0
 static private void PixelArtToolboxForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     pixelArtToolboxForm = null;
     OpenForm_FormClosed(sender, e);
 }