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); }
private void btn_AllContracts_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_MainContract.Instance); // on charge tous les contrats }
private void btn_AllPatents_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_MainPatent.Instance); // on charge tous les brevets }
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 }); }
private void btn_create_user_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Admin.pnl_main, new uc_CreateUpdateUser()); }
private void btn_edit_Click(object sender, EventArgs e) { SwitchUC.Switch(uc_MainRole.pnl_createUpdate, new uc_CreateUpdateRole { id = id, libelle = libelle }); }
private void btn_users_Click(object sender, EventArgs e) { SwitchUC.Switch(pnl_main, new uc_MainUser()); }
private void btn_AllUtilities_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_MainUtility.Instance); // on charge toutes les utilitées }
private void btn_next_Click(object sender, EventArgs e) { SwitchUC.Switch(parent_form.pnl_main, new uc_Location(parent_form)); }
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()); }
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 }); }
private void btn_profil_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, new uc_MainProfil()); // changer les profils }
private void btn_options_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_Options.Instance); // charger les options }
private void btn_AllCompanies_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_MainCompany.Instance); // on charge toutes les entreprises }
private void btn_create_role_Click(object sender, EventArgs e) { SwitchUC.Switch(pnl_createUpdate, new uc_CreateUpdateRole()); }
private void btn_AllMolecules_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_MainMolecule.Instance); // on charge toutes les molécules }
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 }); }
private void form_Installer_Shown(object sender, EventArgs e) { SwitchUC.Switch(pnl_main, new uc_Download(this)); }
private void btn_CreateUtility_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, new uc_CreateUpdateUtility()); }
private void btn_roles_Click(object sender, EventArgs e) { SwitchUC.Switch(pnl_main, new uc_MainRole()); }
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 }); }
private void btn_create_company_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_CreateUpdateCompany.Instance); }
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 }); }
private void btn_create_molecule_Click(object sender, EventArgs e) { SwitchUC.Switch(form_Public.pnl_main, uc_CreateUpdateMolecule.Instance); }
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 }); }