private void ReadIniFile() { Width = Convert.ToInt32(_iniFilereader.ReadINI("settings", "Width")); Height = Convert.ToInt32(_iniFilereader.ReadINI("settings", "Height")); AddRange(_iniFilereader.ReadINI("settings", "StandartText").Split(":")); AddButton.Content = _iniFilereader.ReadINI("settings", "AddButtonText"); CloseBtnTextBlock.Text = _iniFilereader.ReadINI("settings", "CloseButtonTextBlock"); Title = _iniFilereader.ReadINI("settings", "WindowTitle").ToString(); }