Antialiasing.AntialiasingMain.WindowClosing C# (CSharp) Method

WindowClosing() private method

Execute shutdown tasks
private WindowClosing ( object sender, System e ) : void
sender object object sending the event
e System event arguments
return void
        private void WindowClosing(object sender, System.ComponentModel.CancelEventArgs e)
        {
            if (null != this.sensor)
            {
                this.sensor.Stop();
                this.sensor = null;
            }
        }