コード例 #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.Pluto = ((Gestione_impianto___Telecamera_WPF.Custom_Element.cstButton)(target));
         return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.swt_Connessione = ((Gestione_impianto___Telecamera_WPF.Switch)(target));
                return;

            case 2:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 3:
                this.btnManuale = ((Gestione_impianto___Telecamera_WPF.Custom_Element.cstButton)(target));
                return;
            }
            this._contentLoaded = true;
        }