public BrowseWorkspaceDirectory()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            MogControl_LocalBranchTreeView.InitializeDrivesOnly();

            // Set default
            this.BrowseTargetTextBox.Text = "C:\\" + MOG_ControllerProject.GetProjectName();
        }
        public CreateNewLocalBranchForm()
        {
            InitializeComponent();

            NewLocalMogControl_LocalBranchTreeView.MOGSorted = true;

            // Initialize the local branch view to show only drives
            NewLocalMogControl_LocalBranchTreeView.InitializeDrivesOnly();

            // Intialize the branch
            List <string> branches = guiStartup.GetBranches(MOG_ControllerProject.GetProjectName());

            NewLocalBranchComboBox.Items.Clear();
            NewLocalBranchComboBox.Items.AddRange(branches.ToArray());
            NewLocalBranchComboBox.SelectedIndex = 0;

            NewLocalBranchComboBox.Text = MOG_ControllerProject.GetBranchName();
            UpdateLocalBranchComboBox();
        }