private void UiInitialisation() { //startpage MOO_START_PAGE = new StartPage(); MOO_START_PAGE.Show(MDockArea); MOO_START_PAGE.DockState = DockState.Document; MOO_START_PAGE.NewProjectRequested += new NewProjectRequestHandler(NewPrjectFile); MOO_START_PAGE.OpenProjectRequested += new OpenProjectRequestHandler(OpenPrjectFile); //project Browser MOO_PROJECT_BROWSER = new FProjectBrowser(); MOO_PROJECT_BROWSER.Show(MDockArea); MOO_PROJECT_BROWSER.DockState = DockState.DockLeftAutoHide; MOO_PROJECT_BROWSER.NewProjectRequested += new NewProjectRequestHandler(NewPrjectFile); MOO_PROJECT_BROWSER.NewFileRequested += new NewFileRequestHandler(NewPrjectFile); MOO_PROJECT_BROWSER.OpenProjectRequested += new OpenProjectRequestHandler(OpenPrjectFile); MOO_PROJECT_BROWSER.OpenSelectedFileNodeRequested += new OpenFileRequestHandler(OpenSelectedFileNode); //brunch Browser MOO_BRUNCH_BROWSER = new FBrunchBrowser(); MOO_BRUNCH_BROWSER.Show(MDockArea); MOO_BRUNCH_BROWSER.DockState = DockState.DockLeftAutoHide; MOO_BRUNCH_BROWSER.InsertSelectedBrunchNodeRequested += new InsertBrunchRequestHandler(InsertCodeBrunch); //file system Browser MOO_FILE_SYSTBROWSER = new FFileSystBrowser(); MOO_FILE_SYSTBROWSER.Show(MDockArea); MOO_FILE_SYSTBROWSER.DockState = DockState.DockRightAutoHide; MOO_FILE_SYSTBROWSER.OpenSelectedFileRequested += new OpenFileRequestHandler(OpenSelectedFileNode); //file Searcher MOO_FILE_SEARCHER = new FFileSearcher(); MOO_FILE_SEARCHER.Show(MDockArea); MOO_FILE_SEARCHER.DockState = DockState.DockBottomAutoHide; MOO_FILE_SEARCHER.OpenSelectedFileRequested += new OpenFileRequestHandler(OpenSelectedFileNode); //creating buildoutput window MOO_BUILD_OUTPUT = new BuildOutput(); MOO_BUILD_OUTPUT.Show(MDockArea); MOO_BUILD_OUTPUT.DockState = DockState.DockBottomAutoHide; //todo list MOO_TODO_LIST = new TodoList(); MOO_TODO_LIST.Show(MDockArea); MOO_TODO_LIST.DockState = DockState.DockBottomAutoHide; }
private void UiInitialisation() { //startpage MOO_START_PAGE = new StartPage(); MOO_START_PAGE.Show(MDockArea); MOO_START_PAGE.DockState = DockState.Document; MOO_START_PAGE.NewProjectRequested += new NewProjectRequestHandler(NewPrjectFile); MOO_START_PAGE.OpenProjectRequested += new OpenProjectRequestHandler(OpenPrjectFile); //project Browser MOO_PROJECT_BROWSER = new FProjectBrowser(); MOO_PROJECT_BROWSER.Show(MDockArea); MOO_PROJECT_BROWSER.DockState = DockState.DockLeftAutoHide; MOO_PROJECT_BROWSER.NewProjectRequested +=new NewProjectRequestHandler(NewPrjectFile); MOO_PROJECT_BROWSER.NewFileRequested +=new NewFileRequestHandler(NewPrjectFile); MOO_PROJECT_BROWSER.OpenProjectRequested += new OpenProjectRequestHandler(OpenPrjectFile); MOO_PROJECT_BROWSER.OpenSelectedFileNodeRequested+=new OpenFileRequestHandler(OpenSelectedFileNode); //brunch Browser MOO_BRUNCH_BROWSER = new FBrunchBrowser(); MOO_BRUNCH_BROWSER.Show(MDockArea); MOO_BRUNCH_BROWSER.DockState = DockState.DockLeftAutoHide; MOO_BRUNCH_BROWSER.InsertSelectedBrunchNodeRequested += new InsertBrunchRequestHandler(InsertCodeBrunch); //file system Browser MOO_FILE_SYSTBROWSER = new FFileSystBrowser(); MOO_FILE_SYSTBROWSER.Show(MDockArea); MOO_FILE_SYSTBROWSER.DockState = DockState.DockRightAutoHide; MOO_FILE_SYSTBROWSER.OpenSelectedFileRequested += new OpenFileRequestHandler(OpenSelectedFileNode); //file Searcher MOO_FILE_SEARCHER = new FFileSearcher(); MOO_FILE_SEARCHER.Show(MDockArea); MOO_FILE_SEARCHER.DockState = DockState.DockBottomAutoHide; MOO_FILE_SEARCHER.OpenSelectedFileRequested += new OpenFileRequestHandler(OpenSelectedFileNode); //creating buildoutput window MOO_BUILD_OUTPUT = new BuildOutput(); MOO_BUILD_OUTPUT.Show(MDockArea); MOO_BUILD_OUTPUT.DockState = DockState.DockBottomAutoHide; //todo list MOO_TODO_LIST = new TodoList(); MOO_TODO_LIST.Show(MDockArea); MOO_TODO_LIST.DockState = DockState.DockBottomAutoHide; }