Exemplo n.º 1
0
 /// <summary>
 /// Handles the Add New Project Item command click.
 /// </summary>
 protected override void AddNewProjectItem()
 {
     using (var f = new NewProjectItemForm())
     {
         f.SetTypes(new string[] { "picoComputer Source File" });
         if (f.ShowDialog() == DialogResult.OK)
         {
             AddNewProjectItem(f.ItemName);
         }
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Handles the Add New Project Item command click.
 /// </summary>
 protected override void AddNewProjectItem()
 {
     using (var f = new NewProjectItemForm())
     {
         f.SetTypes(new string[] { "picoComputer Source File" });
         if (f.ShowDialog() == DialogResult.OK)
         {
             AddNewProjectItem(f.ItemName);
         }
     }
 }