/// <summary> /// Show and handle operation of the login form for the /// authentication portion of the execution /// </summary> public void Run() { // If we already have saved Inara credentials, load the form up with // them and automatically try to login once the UI is visible if (state.HasInaraCreds()) { form.User = state.CurrentState.InaraU; form.Pass = state.CurrentState.InaraP; form.AutoLogin = true; } // Show and Wait form.ShowDialog(); }