private void CreateAllProc() { // disable all controls ControlsHandler(this, new cControlsArgs(false)); // drop objects cIAGS.DisplayError = false; // drop all tables; SetProgText("Dropping Table(s)..."); SetProgMinMax(0, 7); SetProgValue(0); grade_list.DropTable(); SetProgValue(1); signup_list.DropTable(); SetProgValue(2); assign_list.DropTable(); SetProgValue(3); section_list.DropTable(); SetProgValue(4); inst_list.DropTable(); SetProgValue(5); person_list.DropTable(); SetProgValue(6); course_info_list.DropTable(); // dropt all view SetProgText("Dropping View(s)..."); SetProgMinMax(0, 4); SetProgValue(0); section_view.DropTable(); SetProgValue(1); inst_signup_view.DropTable(); SetProgValue(2); inst_assign_view.DropTable(); SetProgValue(3); inst_grade_view.DropTable(); cIAGS.DisplayError = true; // // create objects SetProgText("Creating Table(s)..."); SetProgMinMax(0, 7); SetProgValue(0); person_list.Create(); SetProgValue(1); course_info_list.Create(); SetProgValue(2); inst_list.Create(); SetProgValue(3); section_list.Create(); SetProgValue(4); assign_list.Create(); SetProgValue(5); signup_list.Create(); SetProgValue(6); grade_list.Create(); // create views SetProgText("Creating View(s)..."); section_view.Create(); SetProgMinMax(0, 4); SetProgValue(0); section_view.Create(); SetProgValue(1); inst_grade_view.Create(); SetProgValue(2); inst_signup_view.Create(); SetProgValue(3); inst_assign_view.Create(); // SetProgValue(0); SetProgText("Done."); // // enable all controls ControlsHandler(this, new cControlsArgs(true)); }