Example #1
0
 public static void FileErrorDialog(MainWindow w)
 {
     w.ShowMessageAsync("Неверный или поврежденный файл", "Ошибка чтения файла");
 }
Example #2
0
 public static void ShowAbout(MainWindow w)
 {
     w.ShowMessageAsync("About", "XML Generator version 0.1.2(Beta). No rights reserved");
 }
Example #3
0
        public static void ClearControls(MainWindow w)
        {
            w.HeaderField.Text = null;
            w.HeightField.Value = null;
            w.WidthField.Value = null;
            w.HeaderNameField.Text = null;
            w.HeaderAlignBox.SelectedItem = null;
            w.FontsizeField.Value = null;

            w.CellParametrField.Text = null;
            w.CellAlignBox.SelectedItem = null;
            w.CellPrecisionBox.SelectedItem = null;
        }