Example #1
0
        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            try
            {
                Lyric ly = new Lyric();

                lyricdata a = new lyricdata(ly.getly);
                titledata b = new titledata(ly.getti);

                a(this.textBox1);
                b(this.textBox2);
                ly.Show();
            }
            catch { }
        }
Example #2
0
 private void newToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         DialogResult saveVar;
         saveVar = MessageBox.Show("Bạn Muốn Save Không ?", "Lưu", MessageBoxButtons.YesNoCancel);
         if (DialogResult.Yes == saveVar)
         {
             save();
             textBox1.Text = "";
             this.Text = "";
             current = 0;
             Lyric ly = new Lyric();
             ly.Show();
             this.Visible = false;
         }
         if (DialogResult.No == saveVar)
         {
             textBox1.Text = "";
             this.Text = "";
             current = 0;
             Lyric ly = new Lyric();
             ly.Show();
             this.Visible = false;
         }
     }
     catch { }
 }