AerialForWindows.App.ShowConfiguration C# (CSharp) Метод

ShowConfiguration() приватный статический Метод

private static ShowConfiguration ( IntPtr parentHwnd ) : void
parentHwnd System.IntPtr
Результат 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();
        }