private async void Form5_Load(object sender, EventArgs e) { //FILTRO Filter.arrangeFilterPanelsPosition(this); Filter.filterButtonStyle(filterButtonPanel); Filter.orderFilterElements(filterPanel); //Localização e estilos ScreenElements.arrangeCentralPanelLocation(this); ScreenElements.stylizePlusButton(this); ScreenElements.stylizeLoadingMessage(this); try { await loadSeriesAsync(); await loadTeachersAsync(); await loadIcons(); await loadColors(); } catch (Exception ex) { MessageBox.Show(ex.Message); } arrangeIconsColors(); listTurmas(null); }
private void Form2_Load(object sender, EventArgs e) { //FILTRO Filter.arrangeFilterPanelsPosition(this); Filter.filterButtonStyle(filterButtonPanel); Filter.orderFilterElements(filterPanel); //Localização e estilos ScreenElements.arrangeCentralPanelLocation(this); ScreenElements.stylizePlusButton(this); ScreenElements.stylizeLoadingMessage(this); listSeries(null); }