Exemple #1
0
        private void eventSelector_SelectedIndexChanged_1(object sender, EventArgs e)
        {
            switch (eventSelector.SelectedIndex)
            {
            case 0:
            {
                var aaNorthbay2014 = new AerialAssist_Northbay();
                aaNorthbay2014.Show();
            }
            break;

            case 1:
            {
                var aaRahChaCha2014 = new AerialAssist_RahChaCha();
                aaRahChaCha2014.Show();
            }
            break;

            case 2:
            {
                var rrgtre = new RecycleRush_GTR_East();
                rrgtre.Show();
            }
            break;

            case 3:
            {
                var rrnb = new RecycleRush_Northbay();
                rrnb.Show();
            }
            break;

            case 4:
            {
                var rrffj = new RecycleRush_Fall_Fiesta_Junior();
                rrffj.Show();
            }
            break;

            case 5:
            {
                var rrffs = new RecycleRush_Fall_Fiesta_Senior();
                rrffs.Show();
            }
            break;
            }

            if (Settings.Default.minimizeHomeWentEventLoads)
            {
                WindowState = FormWindowState.Minimized;
            }
        }
Exemple #2
0
        private void eventSelector_SelectedIndexChanged_1(object sender, EventArgs e)
        {
            switch (eventSelector.SelectedIndex)
            {
                case 0:
                {
                    var aaNorthbay2014 = new AerialAssist_Northbay();
                    aaNorthbay2014.Show();

                    if (Settings.Default.minimizeHomeWentEventLoads)
                    {
                        WindowState = FormWindowState.Minimized;
                    }
                }
                    break;
                case 1:
                {
                    var aaRahChaCha2014 = new AerialAssist_RahChaCha();
                    aaRahChaCha2014.Show();

                    if (Settings.Default.minimizeHomeWentEventLoads)
                    {
                        WindowState = FormWindowState.Minimized;
                    }
                }
                    break;
                case 2:
                {
                    var rrgtre = new RecycleRush_GTR_East();
                    rrgtre.Show();

                    if (Settings.Default.minimizeHomeWentEventLoads)
                    {
                        WindowState = FormWindowState.Minimized;
                    }
                }
                    break;
                case 3:
                {
                    var rrnb = new RecycleRush_Northbay();
                    rrnb.Show();

                    if (Settings.Default.minimizeHomeWentEventLoads)
                    {
                        WindowState = FormWindowState.Minimized;
                    }
                }
                    break;
                case 4:
                {
                    var rriri = new RecycleRush_IRI();
                    rriri.Show();
                    if (Settings.Default.minimizeHomeWentEventLoads)
                    {
                        WindowState = FormWindowState.Minimized;
                    }
                }
                    break;
            }
        }