예제 #1
0
 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;
 }
예제 #2
0
 public MainWindow()
 {
     InitializeComponent();
     processor = new PictureProcessor();
     edited    = false;
 }