public void SetResizePanel(MainWindow mainWindow, PictureProcessor processor) { this.processor = processor; isInit = true; picHeight = processor.CurrentBitmap.Height; this.HeightTextBox.Text = picHeight.ToString(); picWidth = processor.CurrentBitmap.Width; this.WidthTextBox.Text = picWidth.ToString(); this.mainWindow = mainWindow; isInit = false; }
public MainWindow() { InitializeComponent(); processor = new PictureProcessor(); edited = false; }