示例#1
0
        private static void OnSelectedFileEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            UImageBox ctrl = obj as UImageBox;

            if (ctrl.internalUpdate)
            {
                return;
            }

            ctrl.displayImage(ctrl.FileName, "storage");
        }
示例#2
0
        private static void OnSelectedExtFlagEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            UImageBox ctrl = obj as UImageBox;

            if (ctrl.internalUpdate)
            {
                return;
            }

            ctrl.extFlag = (String)e.NewValue;
        }
示例#3
0
 private static void OnSelectedFilterEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
 {
     UImageBox ctrl = obj as UImageBox;
 }
示例#4
0
        private static void OnSelectedCaptionEvtChanged(DependencyObject obj, DependencyPropertyChangedEventArgs e)
        {
            UImageBox ctrl = obj as UImageBox;

            ctrl.txtCaption.Text = ctrl.Caption;
        }