protected virtual void OnImagePropertyChanged(ImagePropertyEvent evt) { if (ImagePropertyChanged != null) { ImagePropertyChanged(this, evt); } //notify the tabs that the image properties have changed so that they can update themselves. foreach (ImageEditingTabPageControl tabPage in TabPages) { tabPage.HandleImagePropertyChangedEvent(evt); } }
private void tabPage_ImagePropertyChanged(object source, ImagePropertyEvent evt) { OnImagePropertyChanged(evt); }
protected virtual void OnImagePropertyChanged(ImagePropertyEvent evt) { if(ImagePropertyChanged != null) { ImagePropertyChanged(this, evt); } //notify the tabs that the image properties have changed so that they can update themselves. foreach(ImageEditingTabPageControl tabPage in TabPages) { tabPage.HandleImagePropertyChangedEvent(evt); } }