Esempio n. 1
0
        public static void NbrBillesPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            HoleControl control = d as HoleControl;

            if (control != null)
            {
                control.NbrBilles = (int)e.NewValue;
            }
        }
Esempio n. 2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.MyHoleControl = ((Projet_Awale.HoleControl)(target));
         return;
     }
     this._contentLoaded = true;
 }