예제 #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);
 }