Пример #1
0
        private void CreateNewProject(object sender, NewProjectEventArgs e)
        {
            NAntDocument   doc    = new NAntDocument(_outputWindow, _options);
            DocumentWindow window = new DocumentWindow(doc.FullName);

            SetupWindow(window, doc);
            window.Contents = Utils.GetNewDocumentContents(e.Info);
            ParseBuildFile(doc);
        }
Пример #2
0
 private void CreateNewProject(object sender, NewProjectEventArgs e)
 {
     NAntDocument doc = new NAntDocument(_outputWindow, _options);
     DocumentWindow window = new DocumentWindow(doc.FullName);
     SetupWindow(window, doc);
     window.Contents = Utils.GetNewDocumentContents(e.Info);
     ParseBuildFile(doc);
 }