private static void OnSelectedFileEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) { UImageBox ctrl = obj as UImageBox; if (ctrl.internalUpdate) { return; } ctrl.displayImage(ctrl.FileName, "storage"); }
private static void OnSelectedExtFlagEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) { UImageBox ctrl = obj as UImageBox; if (ctrl.internalUpdate) { return; } ctrl.extFlag = (String)e.NewValue; }
private static void OnSelectedFilterEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) { UImageBox ctrl = obj as UImageBox; }
private static void OnSelectedCaptionEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e) { UImageBox ctrl = obj as UImageBox; ctrl.txtCaption.Text = ctrl.Caption; }