Beispiel #1
0
        private void btnIntroducetions_Click(object sender, EventArgs e)
        {
            FIntroduction f = new FIntroduction();

            this.Hide();
            f.ShowDialog();
            this.Show();
        }
Beispiel #2
0
        private void btnNo_Click(object sender, EventArgs e)
        {
            FIntroduction tabLearnNewWord = new FIntroduction();

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

            tabLearnNewWord.FormBorderStyle = FormBorderStyle.None;
            tabLearnNewWord.Show();
            pnlLoad.Visible = true;
        }
Beispiel #3
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            FIntroduction tabLearnNewWord = new FIntroduction();

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

            tabLearnNewWord.FormBorderStyle = FormBorderStyle.None;
            tabLearnNewWord.Show();
            pnlLoad.Visible          = true;
            this.btnSpeaker2.Visible = false;
            this.btnDone.Visible     = false;
            this.btnHome.Visible     = false;
        }
Beispiel #4
0
        private void btnHome_Click(object sender, EventArgs e)
        {
            tabHome          = new FIntroduction();
            tabHome.TopLevel = false;
            pnlLoadForm.Controls.Clear();
            pnlLoadForm.Controls.Add(tabHome);
            tabHome.FormBorderStyle = FormBorderStyle.None;
            tabHome.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();
            }
        }