private void linkLabelGNU_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { ScrumQueueDialog dg = new ScrumQueueDialog(IOQMessages.GNUTextTitle, IOQMessages.GNUText, ScrumQueueDialog.ScrumQueueDialogType.OK); dg.Size = new System.Drawing.Size(600, 300); dg.ShowDialog(); }
private void button_Save_Click(object sender, EventArgs e) { this.user.FirstName = this.textBox_firstName.Text.Trim(); this.user.LastName = this.textBox_LastName.Text.Trim(); this.user.Username = this.textBox_UserName.Text.Trim(); this.user.Password = this.textBox_Password.Text.Trim(); this.user.IsAdmin = this.checkBox_isAdmin.Checked; int userIDExist = BussinessLogic.Users.isUsernameAvailable(this.user); if (userIDExist >= 0) { ScrumQueueDialog dg = new ScrumQueueDialog("Username already exist", "The username already exists in the database. Please enter a new username", ScrumQueueDialog.ScrumQueueDialogType.OK); dg.ShowDialog(); return; } else { BussinessLogic.Users.SaveUsers(this.user); this.Close(); } }
private void yourRightsToolStripMenuItem_Click(object sender, EventArgs e) { ScrumQueueDialog dg = new ScrumQueueDialog(IOQMessages.AboutYourRights, IOQMessages.yourRights1, ScrumQueueDialog.ScrumQueueDialogType.OK); dg.Size = new System.Drawing.Size(600, 300); dg.ShowDialog(); }
private void gNUGENERALPUBLICLICENSEToolStripMenuItem_Click(object sender, EventArgs e) { ScrumQueueDialog dg = new ScrumQueueDialog(IOQMessages.GNUTextTitle, IOQMessages.GNUText, ScrumQueueDialog.ScrumQueueDialogType.OK); dg.Size = new System.Drawing.Size(600, 300); dg.ShowDialog(); }
private void comingSoonToolStripMenuItem_Click(object sender, EventArgs e) { ScrumQueueDialog dg = new ScrumQueueDialog("Coming Soon", IOQMessages.ComingSoon, ScrumQueueDialog.ScrumQueueDialogType.OK); dg.Size = new System.Drawing.Size(600, 300); dg.ShowDialog(); }