예제 #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();
 }
예제 #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();
 }
예제 #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();
 }
예제 #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();
 }
예제 #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();
 }