示例#1
0
 private void btn_settings_Click(object sender, EventArgs e)
 {
     new SelectMenu().menuColor(this, btn_settings, Properties.Resources.settings_on, Properties.Resources.settings_off);
     pnl_main.Controls.Clear();
     SwitchUC.Switch(pnl_main, new uc_MainSettingsMenu());
     SwitchUC.Switch(pnl_sideMenu, uc_SettingsMenu.Instance);
 }
示例#2
0
 private void btn_AllContracts_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_MainContract.Instance); // on charge tous les contrats
 }
示例#3
0
 private void btn_AllPatents_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_MainPatent.Instance); // on charge tous les brevets
 }
示例#4
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateContract {
         id = id, company_id = company_id, patent_id = patent_id, create_date = create_date, duration = duration, price = price
     });
 }
示例#5
0
 private void btn_create_user_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Admin.pnl_main, new uc_CreateUpdateUser());
 }
示例#6
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(uc_MainRole.pnl_createUpdate, new uc_CreateUpdateRole {
         id = id, libelle = libelle
     });
 }
示例#7
0
 private void btn_users_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(pnl_main, new uc_MainUser());
 }
示例#8
0
 private void btn_AllUtilities_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_MainUtility.Instance); // on charge toutes les utilitées
 }
示例#9
0
 private void btn_next_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(parent_form.pnl_main, new uc_Location(parent_form));
 }
示例#10
0
 private void btn_analytics_Click(object sender, EventArgs e)
 {
     new SelectMenu().menuColor(this, btn_analytics, Properties.Resources.analytics_on, Properties.Resources.analytics_off);
     pnl_sideMenu.Controls.Clear();
     SwitchUC.Switch(pnl_main, new uc_MainAnalytic());
 }
示例#11
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Admin.pnl_main, new uc_CreateUpdateUser {
         id = id, last_name = last_name, first_name = first_name, username = username, password = password, birth_date = birth_date, role_id = role_id
     });
 }
示例#12
0
 private void btn_profil_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_MainProfil()); // changer les profils
 }
示例#13
0
 private void btn_options_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_Options.Instance); // charger les options
 }
示例#14
0
 private void btn_AllCompanies_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_MainCompany.Instance); // on charge toutes les entreprises
 }
示例#15
0
 private void btn_create_role_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(pnl_createUpdate, new uc_CreateUpdateRole());
 }
示例#16
0
 private void btn_AllMolecules_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_MainMolecule.Instance); // on charge toutes les molécules
 }
示例#17
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateCompany {
         id = id, name = name, address = address, city = city, zip_code = zip_code
     });
 }
示例#18
0
 private void form_Installer_Shown(object sender, EventArgs e)
 {
     SwitchUC.Switch(pnl_main, new uc_Download(this));
 }
示例#19
0
 private void btn_CreateUtility_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateUtility());
 }
示例#20
0
 private void btn_roles_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(pnl_main, new uc_MainRole());
 }
示例#21
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateUtility {
         id = id, molecule_id = molecule_id, name = name, description = description
     });
 }
示例#22
0
 private void btn_create_company_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_CreateUpdateCompany.Instance);
 }
示例#23
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdatePatent {
         id = id, molecule_id = molecule_id, company_id = company_id, country = country, number = number, deposit_date = deposit_date, duration = duration
     });
 }
示例#24
0
 private void btn_create_molecule_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, uc_CreateUpdateMolecule.Instance);
 }
示例#25
0
 private void btn_edit_Click(object sender, EventArgs e)
 {
     SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateMolecule {
         id = id, generic_name = generic_name, real_name = real_name, formula = formula
     });
 }