public void SetLoginResult(UserViewModel user) { if (user == null) { this.ShowWarning("Username atau Password salah!"); return; } _presenter.CompileLoginInformation(user); this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); }