コード例 #1
0
        private void btnPractice_Click(object sender, EventArgs e)
        {
            FPractice f = new FPractice();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
コード例 #2
0
        private void guna2Button1_Click(object sender, EventArgs e)
        {
            FPractice tabLearnNewWord = new FPractice();

            tabLearnNewWord.AutoScroll = true;
            tabLearnNewWord.TopLevel   = false;
            pnlLoad.Controls.Clear();
            pnlLoad.Controls.Add(tabLearnNewWord);

            tabLearnNewWord.FormBorderStyle = FormBorderStyle.None;
            tabLearnNewWord.Show();
            pnlLoad.Dock    = DockStyle.Fill;
            pnlLoad.Visible = true;
        }
コード例 #3
0
        private void btnPractice_Click(object sender, EventArgs e)
        {
            tabPractice          = new FPractice();
            tabPractice.TopLevel = false;
            pnlLoadForm.Controls.Clear();
            pnlLoadForm.Controls.Add(tabPractice);
            tabPractice.FormBorderStyle = FormBorderStyle.None;
            tabPractice.Show();

            /*  this.pnlMenu.Visible = false;
             * this.pnlMenu.Left = -1 * this.pnlMenu.Width;*/
            this.btnShowMenu.Visible = true;
            HideMenuBar();
            if (Data.simpleLove.Created)
            {
                Data.simpleLove.Ctlcontrols.stop();
            }
            if (Data.simpleSound.IsLoadCompleted)
            {
                Data.simpleSound.Stop();
            }
        }