private void Show_Click(object sender, RoutedEventArgs e)
        {
            int subWinHeight  = 0;
            int subWinWidth   = 0;
            int subWinDivider = 0;

            try
            {
                subWinHeight  = int.Parse(this.picHeight.Text);
                subWinWidth   = int.Parse(this.picWidth.Text);
                subWinDivider = int.Parse(this.picDivider.Text);
            }
            catch (Exception)
            {
                throw;
            }

            this.subWindow = new SubWindow(subWinHeight, subWinWidth, subWinDivider, dlg);
            subWindow.Show();

            this.Close();
        }
        private void Show_Click(object sender, RoutedEventArgs e)
        {
            int subWinHeight = 0;
            int subWinWidth = 0;
            int subWinDivider = 0;

            try
            {
                subWinHeight = int.Parse(this.picHeight.Text);
                subWinWidth = int.Parse(this.picWidth.Text);
                subWinDivider = int.Parse(this.picDivider.Text);
            }
            catch (Exception)
            {
                throw;
            }

            this.subWindow = new SubWindow(subWinHeight, subWinWidth, subWinDivider, dlg);
            subWindow.Show();

            this.Close();
        }