void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ReportChiTietNXWindow = ((QLVT.ReportChiTietNX)(target)); return; case 2: this.FR = ((System.Windows.Controls.DatePicker)(target)); return; case 3: this.TO = ((System.Windows.Controls.DatePicker)(target)); return; case 4: #line 62 "..\..\ReportChiTietNX.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonPreview_Click); #line default #line hidden return; case 5: this.ReportViewChiTietNX = ((Microsoft.Reporting.WinForms.ReportViewer)(target)); return; } this._contentLoaded = true; }
private void ButtonInDSNX_Click(object sender, RoutedEventArgs e) { ReportChiTietNX reportchitietnxWindow = new ReportChiTietNX(); reportchitietnxWindow.ShowDialog(); }