public static void FileErrorDialog(MainWindow w) { w.ShowMessageAsync("Неверный или поврежденный файл", "Ошибка чтения файла"); }
public static void ShowAbout(MainWindow w) { w.ShowMessageAsync("About", "XML Generator version 0.1.2(Beta). No rights reserved"); }
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; }