Exemple #1
0
 private void openInNewWindowToolStripMenuItem_Click(object sender, EventArgs e)
 {
     browser new_form = new browser();
     new_form.Show();
     new_form.getCurrentBrowser().Navigate(adress);
 }
Exemple #2
0
        private void mediaButton13_MouseClick(object sender, MouseEventArgs e)
        {
            if (button == 1 || button == 11)
            {
                flagpicture = true;
                mediaButton9.Hide();
                AddControlPicture();
            }
            else if (button == 3)
            {
                //button = 31;
                player_hide_show(false);
            }
            else if (button == 5)
            {
                SaveFileDialog s = new SaveFileDialog();
                s.Filter = "Word Documents (*.doc)|*.doc|Text (.txt)|*.txt";
                if (tbx_song.Text != "")
                    s.FileName = tbx_song.Text + "_Lyric";

                if (s.ShowDialog() == DialogResult.OK)
                    write_lyric(s.FileName);
            }
            else if (button == 6)
            {
                browser b = new browser();
                b.Show();
            }
        }