AerialForWindows.App.ShowConfiguration C# (CSharp) Method

ShowConfiguration() private static method

private static ShowConfiguration ( IntPtr parentHwnd ) : void
parentHwnd System.IntPtr
return void
        private static void ShowConfiguration(IntPtr parentHwnd)
        {
            var dialog = new SettingsView();
            WindowInteropHelper windowInteropHelper = null;
            if (parentHwnd != IntPtr.Zero) {
                windowInteropHelper = new WindowInteropHelper(dialog) { Owner = parentHwnd };
            }
            dialog.ShowDialog();
            GC.KeepAlive(windowInteropHelper);
            Current.Shutdown();
        }