Beispiel #1
0
        //Při načtení
        private void Main_Load(object sender, EventArgs e)
        {
            this.WindowState = FormWindowState.Maximized;

            LoadBackground();
            LoadAccount();
            LoadAnime();

            AnimeS_BT01.Focus();
            AnimeS_BT01.Select();

            AnimeS.MouseWheel += new MouseEventHandler(AnimeS_MouseWheel);
        }
Beispiel #2
0
        //Výběr dalšího controlu
        private void ControlSelect()
        {
            if (TabStop > 3)
            {
                TabStop = 0;
            }

            if (TabStop < 0)
            {
                TabStop = 3;
            }

            switch (TabStop)
            {
            case 0:
                AnimeS_BT01.Focus();
                AnimeS_BT01.Select();
                break;

            case 1:
                AnimeS.Focus();
                AnimeS.Select();

                break;

            case 2:
                AnimeS_BT02.Focus();
                AnimeS_BT02.Select();
                break;

            case 3:
                Episodes.Focus();
                Episodes.Select();
                break;
            }
        }