private void InitWindow() { _style.GeneratePreview(WindowPanel.Width, WindowPanel.Height); StyleDrawer.Content = _style.Images[0]; StyleDrawer.ZoomIn(); _windW = WindowPanel.Width; _windH = WindowPanel.Height; }