コード例 #1
0
 private void VideoAndPicture_FormClosing(object sender, FormClosingEventArgs e)
 {
     videoSourcePlayer1.SignalToStop();
     videoSourcePlayer1.WaitForStop();
     action1();
     //writer.Dispose();
     _danli = null;
 }
コード例 #2
0
 public static VideoAndPicture CreateForm(string path, videoaction action2)
 {
     action1 = action2;
     Path    = path;
     if (_danli == null)
     {
         _danli = new VideoAndPicture();
     }
     return(_danli);
 }