void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.btn_load = ((System.Windows.Controls.Button)(target)); #line 35 "..\..\MainWindow.xaml" this.btn_load.Click += new System.Windows.RoutedEventHandler(this.btn_load_Click); #line default #line hidden return; case 2: this.btn_clear = ((System.Windows.Controls.Button)(target)); #line 37 "..\..\MainWindow.xaml" this.btn_clear.Click += new System.Windows.RoutedEventHandler(this.btn_clear_Click); #line default #line hidden return; case 3: this.datagrid_table = ((System.Windows.Controls.DataGrid)(target)); return; case 4: this.gant_grid = ((nGantt.GanttControl)(target)); return; } this._contentLoaded = true; }
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: #line 9 "..\..\MainWindow.xaml" ((nGanttDemoWPF.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded); #line default #line hidden return; case 2: this.nGanttChart = ((nGantt.GanttControl)(target)); return; } this._contentLoaded = true; }