コード例 #1
0
 public VideoKeyframesWindow GetThumbsWindow()
 {
     if (_videoKeyframesWindow == null)
     {
         _videoKeyframesWindow                    = _videoThumbsWindowCreator();
         _videoKeyframesWindow.FormClosed        += new FormClosedEventHandler(ThumbsFormClosed);
         _videoKeyframesWindow.KeyframeSourceTree = _headerTree;
     }
     return(_videoKeyframesWindow);
 }
コード例 #2
0
 private void ThumbsFormClosed(object sender, FormClosedEventArgs e)
 {
     _videoKeyframesWindow.FormClosed -= new FormClosedEventHandler(ThumbsFormClosed);
     _videoKeyframesWindow             = null;
 }