Esempio n. 1
0
        public static void SwitchForm(string formName)
        {
            CloseForm(FormNavigator.currentForm);
            var formToShow = FormNavigator.OpenForm(formName);

            FormNavigator.currentForm = formToShow;
        }
Esempio n. 2
0
 public static void CloseForm(StockUpForm form)
 {
     form.Hide();
 }