예제 #1
0
        public GitConfigSettingsPage()
        {
            InitializeComponent();
            Text = "Config";

            _NO_TRANSLATE_cboMergeTool.Items.AddRange(RegisteredDiffMergeTools.All(DiffMergeToolType.Merge).ToArray());
            _NO_TRANSLATE_cboDiffTool.Items.AddRange(RegisteredDiffMergeTools.All(DiffMergeToolType.Diff).ToArray());

            InitializeComplete();

            _controller = new GitConfigSettingsPageController();
        }
        public GitConfigSettingsPage()
        {
            InitializeComponent();
            Text = "Config";

            txtDiffToolPath.Enabled                       =
                btnDiffToolBrowse.Enabled                 =
                    txtDiffToolCommand.Enabled            =
                        btnDiffToolCommandSuggest.Enabled = false;

            txtMergeToolPath.Enabled                       =
                btnMergeToolBrowse.Enabled                 =
                    txtMergeToolCommand.Enabled            =
                        btnMergeToolCommandSuggest.Enabled = false;

            _NO_TRANSLATE_cboMergeTool.Items.AddRange(RegisteredDiffMergeTools.All(DiffMergeToolType.Merge).ToArray());
            _NO_TRANSLATE_cboDiffTool.Items.AddRange(RegisteredDiffMergeTools.All(DiffMergeToolType.Diff).ToArray());

            InitializeComplete();

            _controller = new GitConfigSettingsPageController();
        }