Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 private void Button_Click(object sender, EventArgs e)
 {
     ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Quizs.Add, new ManageControl.Quiz());
     add.ShowDialog();
 }
Exemplo n.º 4
0
 private void AccountButton_Click(object sender, EventArgs e)
 {
     ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Account.Add, new  ManageControl.Accounts());
     add.ShowDialog();
 }
Exemplo n.º 5
0
 private void ModuleButton_Click(object sender, EventArgs e)
 {
     ManageControl.AddManager add = new ManageControl.AddManager(ManageControl.AddManager.Modules.Add, new ManageControl.Module());
     add.ShowDialog();
 }