Esempio n. 1
0
        /// <summary>
        /// Show the live view window.
        /// </summary>
        public void ShowLiveView()
        {
            if (this.liveViewWindow == null)
            {
                this.liveViewWindow         = new LiveView();
                this.liveViewWindow.Closed += this.OnLiveViewWindowClosed;
            }

            this.liveViewWindow.Show();
        }
Esempio n. 2
0
 /// <summary>
 /// Discard our live view window reference once it is closed.
 /// </summary>
 /// <param name="sender">Event source.</param>
 /// <param name="e">Event arguments.</param>
 private void OnLiveViewWindowClosed(object sender, EventArgs e)
 {
     this.liveViewWindow = null;
 }