Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.viewModel = ((tscui.MainViewModel)(target));
                return;

            case 2:
                this.selectableItemsControl_TopMenu = ((Apex.Controls.SelectableItemsControl)(target));
                return;

            case 3:
                this.selectableItemsControl_BottomMenu = ((Apex.Controls.SelectableItemsControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.viewModel = ((tscui.MainViewModel)(target));
     return;
     case 2:
     this.selectableItemsControl_TopMenu = ((Apex.Controls.SelectableItemsControl)(target));
     return;
     case 3:
     this.selectableItemsControl_BottomMenu = ((Apex.Controls.SelectableItemsControl)(target));
     return;
     }
     this._contentLoaded = true;
 }