void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.pMenuCon = ((Tjssm_Multi_Touch_Table.phoneMenu)(target)); return; case 2: this.bt1 = ((System.Windows.Controls.Button)(target)); return; case 3: this.bt2 = ((System.Windows.Controls.Button)(target)); return; case 4: this.bt3 = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }