public MainWindow() { InitializeComponent(); _ListViewItem = NTabItem_Work.NListViewControl.NView.Items; _WorkModelItemControl_L = NTabItem_Work.WorkModelControl_L; _WorkModelItemControl_R = NTabItem_Work.WorkModelControl_R; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.WorkModelControl_L = ((DY.SAMPLE.LEAK_TESTER.WorkModelItemControl)(target)); return; case 2: this.WorkModelControl_R = ((DY.SAMPLE.LEAK_TESTER.WorkModelItemControl)(target)); return; case 3: this.NListViewControl = ((DY.SAMPLE.LEAK_TESTER.ModelListViewItemControl)(target)); return; } this._contentLoaded = true; }