Пример #1
0
        /// <summary>
        /// Switch to a branch using a dialog to select the branch
        /// </summary>
        private static void MenuSwitchClick(object sender, EventArgs e)
        {
            FormSwitchToBranch switchBranch = new FormSwitchToBranch();

            if (switchBranch.ShowDialog() == DialogResult.OK)
            {
                App.DoRefresh();
            }
        }
Пример #2
0
 /// <summary>
 /// Switch to a branch using a dialog to select the branch
 /// </summary>
 private static void MenuSwitchClick(object sender, EventArgs e)
 {
     FormSwitchToBranch switchBranch = new FormSwitchToBranch();
     if (switchBranch.ShowDialog() == DialogResult.OK)
         App.DoRefresh();
 }