private void ButtonErrorLog_Click(object sender, RoutedEventArgs e)
        {
            ErrorLogWindow errorLogWindow = new ErrorLogWindow();

            errorLogWindow.Owner = Window.GetWindow(this);
            errorLogWindow.WindowStartupLocation = WindowStartupLocation.Manual;

            if (MainWindow.WindowState == System.Windows.WindowState.Maximized)
            {
                errorLogWindow.Top  = MainWindow.Top + MainWindow.Height - 150;
                errorLogWindow.Left = 0;
            }
            else
            {
                errorLogWindow.Top  = MainWindow.Top + MainWindow.Height - 25;
                errorLogWindow.Left = MainWindow.Left;
            }
            errorLogWindow.Width  = MainWindow.Width;
            errorLogWindow.Height = 150;
            errorLogWindow.Show();
        }
        private void ButtonErrorLog_Click(object sender, RoutedEventArgs e)
        {
            ErrorLogWindow errorLogWindow = new ErrorLogWindow();
            errorLogWindow.Owner = Window.GetWindow(this);
            errorLogWindow.WindowStartupLocation = WindowStartupLocation.Manual;

            if (MainWindow.WindowState == System.Windows.WindowState.Maximized)
            {
                errorLogWindow.Top = MainWindow.Top + MainWindow.Height - 150;
                errorLogWindow.Left = 0;
            }
            else
            {
                errorLogWindow.Top = MainWindow.Top + MainWindow.Height - 25;
                errorLogWindow.Left = MainWindow.Left;
            }
            errorLogWindow.Width = MainWindow.Width;
            errorLogWindow.Height = 150;
            errorLogWindow.Show();
        }