public static void SwitchForm(string formName) { CloseForm(FormNavigator.currentForm); var formToShow = FormNavigator.OpenForm(formName); FormNavigator.currentForm = formToShow; }
public static void CloseForm(StockUpForm form) { form.Hide(); }
public static void SwitchForm(string formName) { CloseForm(FormNavigator.currentForm); var formToShow = FormNavigator.OpenForm(formName); FormNavigator.currentForm = formToShow; }
public static void CloseForm(StockUpForm form) { form.Hide(); }