예제 #1
0
 private void closeAllItem_Click(object sender, EventArgs e)
 {
     inputMovie = null;
     maker      = null;
     UpdateMenuBar();
     Invalidate();
 }
예제 #2
0
        /// <summary>
        /// Pulls drawing area for the movie maker, and initalizes if needed.
        /// </summary>
        private void SetupMaker()
        {
            if (maker == null)
            {
                maker = new MovieMaker(this);
            }

            Rectangle r = ClientRectangle;

            r.Y            = menuStrip1.Height;
            maker.DrawArea = r;
        }
예제 #3
0
 /// <summary>
 /// Clean up files on close
 /// </summary>
 /// <param name="e"></param>
 protected override void OnClosed(EventArgs e)
 {
     maker      = null;
     inputMovie = null;
 }