private void materialRaisedButton2_Click(object sender, EventArgs e) { ManageControl.AddManager manage = new AddManager(AddManager.Account.Update, new Accounts(Convert.ToInt32(lblID.Text), txtUsername.Text, txtEmail.Text, txtPassword.Text, lblAccountType.Text)); manage.ShowDialog(); }
private void materialRaisedButton2_Click(object sender, EventArgs e) { ManageControl.AddManager manage = new AddManager(AddManager.Quizs.Update, new Quiz(Convert.ToInt32(lblID.Text), Quiz_Title, lblNo.Text, lblQuestion.Text, choices, cAnswer)); manage.ShowDialog(); }
private void Button_Click(object sender, EventArgs e) { ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Quizs.Add, new ManageControl.Quiz()); add.ShowDialog(); }
private void AccountButton_Click(object sender, EventArgs e) { ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Account.Add, new ManageControl.Accounts()); add.ShowDialog(); }
private void ModuleButton_Click(object sender, EventArgs e) { ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Modules.Add, new ManageControl.Module()); add.ShowDialog(); }