private void buttonShowArgumentsHelp_Click(object sender, EventArgs e)
        {
            var helpDisplayDialog = new SimpleHelpDisplayDialog();

            helpDisplayDialog.DialogTitle = _scriptSettingsPageHelpDisplayArgumentsHelp.Text;
            helpDisplayDialog.ContentText = @_scriptSettingsPageHelpDisplayContent.Text.Replace("\n", Environment.NewLine);

            helpDisplayDialog.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnArgumentsHelp_Click(object sender, EventArgs e)
        {
            if (_argumentsCheatSheet is object)
            {
                _argumentsCheatSheet.BringToFront();
                return;
            }

            _argumentsCheatSheet = new SimpleHelpDisplayDialog
            {
                DialogTitle = _scriptSettingsPageHelpDisplayArgumentsHelp.Text,
                ContentText = _scriptSettingsPageHelpDisplayContent.Text.Replace("\n", Environment.NewLine)
            };

            _argumentsCheatSheet.Show(this);
        }
Exemplo n.º 3
0
        private void buttonShowArgumentsHelp_Click(object sender, EventArgs e)
        {
            var helpDisplayDialog = new SimpleHelpDisplayDialog();

            helpDisplayDialog.DialogTitle = "Arguments help";
            helpDisplayDialog.ContentText = @"User Input:
{UserInput}

Selected Branch:
{sTag}
{sBranch}
{sLocalBranch}
{sRemoteBranch}
{sRemote}
{sRemoteUrl}
{sRemotePathFromUrl}
{sHash}
{sMessage}
{sAuthor}
{sCommitter}
{sAuthorDate}
{sCommitDate}

Current Branch:
{cTag}
{cBranch}
{cLocalBranch}
{cRemoteBranch}
{cHash}
{cMessage}
{cAuthor}
{cCommitter}
{cAuthorDate}
{cCommitDate}
{cDefaultRemote}
{cDefaultRemoteUrl}
{cDefaultRemotePathFromUrl}".Replace("\n", Environment.NewLine);

            helpDisplayDialog.ShowDialog();
        }
        private void buttonShowArgumentsHelp_Click(object sender, EventArgs e)
        {
            var helpDisplayDialog = new SimpleHelpDisplayDialog();
            helpDisplayDialog.DialogTitle = _scriptSettingsPageHelpDisplayArgumentsHelp.Text;
            helpDisplayDialog.ContentText = @_scriptSettingsPageHelpDisplayContent.Text.Replace("\n", Environment.NewLine);

            helpDisplayDialog.ShowDialog();
        }
Exemplo n.º 5
0
        private void buttonShowArgumentsHelp_Click(object sender, EventArgs e)
        {
            var helpDisplayDialog = new SimpleHelpDisplayDialog();
            helpDisplayDialog.DialogTitle = "Arguments help";
            helpDisplayDialog.ContentText = @"User Input:
            {UserInput}

            Selected Branch:
            {sTag}
            {sBranch}
            {sLocalBranch}
            {sRemoteBranch}
            {sRemote}
            {sHash}
            {sMessage}
            {sAuthor}
            {sCommitter}
            {sAuthorDate}
            {sCommitDate}

            Current Branch:
            {cTag}
            {cBranch}
            {cLocalBranch}
            {cRemoteBranch}
            {cHash}
            {cMessage}
            {cAuthor}
            {cCommitter}
            {cAuthorDate}
            {cCommitDate}
            {cDefaultRemote}".Replace("\n", Environment.NewLine);

            helpDisplayDialog.ShowDialog();
        }