示例#1
0
 private static void OnSetOutputPath(DependencyObject d, DependencyPropertyChangedEventArgs e)
 {
     if (e.NewValue is string)
     {
         CorkBoard source = (CorkBoard)d;
         source.SetOutputPath(e.NewValue.ToString(), source);
     }
 }
示例#2
0
        private void SetOutputPath(string value, CorkBoard source)
        {
            CorkboardViewModel vm = (CorkboardViewModel)source.RootElement.DataContext;

            vm.OutputFilePath = value;
        }