Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }