Пример #1
0
 public static Variable ShowEditor(AutoSplitEnv env, Type type, Variable source = null)
 {
     using (var form = new VariableEditor(env, type, source))
     {
         if (form.ShowDialog() != DialogResult.Cancel)
         {
             return(form.EditedVariable);
         }
     }
     return(source);
 }