private void treeView1_NodeMouseClick(object sender, TreeNodeMouseClickEventArgs e) { if (e.Node.Tag != null) { //MessageBox.Show(e.Node.Tag.ToString()); frmPlayVideo playVideo = new frmPlayVideo(); playVideo.ParentFormControl = this; playVideo.NextVideoFileList = (string[])e.Node.Tag; this.Hide(); playVideo.Show(); } }
private void button2_Click(object sender, EventArgs e) { frmPlayVideo frmVideo = new frmPlayVideo(); frmVideo.Show(); }