void ShowError(string text, TypesMessageEnumerstion type) { Messgae.Height = Double.NaN; ((Label)Messgae.Child).Content = text; }
void ShowMessage(string str, TypesMessageEnumerstion type) { HeightPoleForMessage.Height = new GridLength(50, GridUnitType.Pixel); PoleForMessage.Content = str; }