BitSharp.Client.MainWindow.OnClosing C# (CSharp) Method

OnClosing() protected method

protected OnClosing ( System.CancelEventArgs e ) : void
e System.CancelEventArgs
return void
        protected override void OnClosing(CancelEventArgs e)
        {
            DataContext = null;
            Dispose();

            base.OnClosing(e);
        }