ScreenToGif.Windows.Other.Startup.GenericShowDialog C# (CSharp) Method

GenericShowDialog() private method

private GenericShowDialog ( Window window ) : void
window System.Windows.Window
return void
        private void GenericShowDialog(Window window)
        {
            Hide();
            window.Owner = this;
            window.ShowDialog();
            Close();
        }