GitUI.CommandsDialogs.FormBrowse.fetchAllToolStripMenuItem_Click C# (CSharp) Method

fetchAllToolStripMenuItem_Click() private method

private fetchAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void fetchAllToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (!Settings.DonSetAsLastPullAction)
                Module.LastPullAction = Settings.PullAction.FetchAll;

            RefreshPullIcon();
            bool pullCompelted;

            UICommands.StartPullDialog(this, true, out pullCompelted, true);

            //restore Settings.FormPullAction value
            if (Settings.DonSetAsLastPullAction)
                Module.LastPullActionToFormPullAction();
        }
FormBrowse