示例#1
0
 static public ToolboxForm GetToolboxForm(ILog log, INotificator notificator)
 {
     if (toolboxForm == null)
     {
         toolboxForm = new ToolboxForm(log, notificator);
         toolboxForm.Show();
         toolboxForm.FormClosed += ToolboxForm_FormClosed;
         openForms.Add(toolboxForm);
     }
     return(toolboxForm);
 }
示例#2
0
 static private void ToolboxForm_FormClosed(object sender, FormClosedEventArgs e)
 {
     toolboxForm = null;
     OpenForm_FormClosed(sender, e);
 }