Ejemplo n.º 1
0
 private void editID3TagToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (selectedNode != null)
     {
         string s = selectedNode.Name;
         SongControl.CreateTagEditor(s, MusicPlayer.WinFormApp);
     }
 }
Ejemplo n.º 2
0
 private void iD3TagToolStripMenuItem1_Click(object sender, EventArgs e)
 {
     foreach (TreeNode n in musicControl.musicFileView.SelectedNodes)
     {
         string s = n.Name;
         SongControl.CreateTagEditor(s, this);
     }
 }
Ejemplo n.º 3
0
 public void OpenSelectedID3Tags()
 {
     foreach (int i in SelectedIndices)
     {
         string      path = manager.Items[i].Name;
         SongControl sc   = SongControl.CreateTagEditor(path, MusicPlayer.WinFormApp);
         sc.squashBoxControl1.Swap();
     }
 }
Ejemplo n.º 4
0
        private void editTagToolStripMenuItem_Click(object sender, EventArgs e)
        {
            TreeNode node = musicControl.musicFileView.hoveredNode;

            if (node == null)
            {
                return;
            }
            SongControl.CreateTagEditor(node.Name, this);
        }
Ejemplo n.º 5
0
        public static SongControl CreateTagEditor(string v, Form OwnerForm)
        {
            Form f = new Form();

            f.Text  = v;
            f.Owner = OwnerForm;
            f.Icon  = OwnerForm.Icon;
            SongControl sc = new SongControl();

            f.Size     = sc.Size;
            f.Location = new Point(f.Location.X, 0);
            sc.SetSong(v);
            f.Controls.Add(sc);
            sc.Dock = DockStyle.Fill;
            f.Show();
            return(sc);
        }