public static void Launch() { LoginForm2 form = new LoginForm2(); form.ShowDialog(); /*DialogResult result; result = form.ShowDialog(); if (result == DialogResult.OK) //Зафигачить проверку && !String.IsNullOrEmpty(Login.Type) { TO mainform = new TO(); mainform.ShowDialog(); }*/ }
public static void Launch() { LoginForm2 form = new LoginForm2(); form.ShowDialog(); /*DialogResult result; * result = form.ShowDialog(); * if (result == DialogResult.OK) //Зафигачить проверку && !String.IsNullOrEmpty(Login.Type) * { * TO mainform = new TO(); * mainform.ShowDialog(); * }*/ }