Exemplo n.º 1
0
        private static void CurrentNumberChanged(DependencyObject depObj, DependencyPropertyChangedEventArgs args)
        {
            ShowNumberControl s        = (ShowNumberControl)depObj;
            Label             theLabel = s.numberDisplay;

            theLabel.Content = args.NewValue.ToString();
        }
Exemplo n.º 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.mSNC = ((ITMO.WPF.WpfUserControl6_2.ShowNumberControl)(target));
         return;
     }
     this._contentLoaded = true;
 }