private void Button_Click(object sender, RoutedEventArgs e)
        {
            try
            {
                if (YearRB.IsChecked.Value)
                {
                    MainWindow.GetData(Glue.SearchStudent(int.Parse(FirstArgTB.Text), SecondArgTB.Text));
                }
                else
                {
                    MainWindow.GetData(Glue.SearchStudent(FirstArgTB.Text, SecondArgTB.Text));
                }
            }
            catch (Exception a)
            {
                Error.GetError(a);
            }

            Close();
        }