private void BookStyle() { CommonStyle(); MyText.FontFamily = new FontFamily("Luminari"); MyText.FontSize = 16; ImageFor.ImageSource = new BitmapImage(new Uri("pack://application:,,,/Resources/Book.jpg")); MyText.AppendText("/t"); MyMainWindow.Title = "Book"; }