void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.ReportVatTuWindow = ((QLVT.ReportVatTu)(target)); return; case 2: #line 50 "..\..\ReportVatTu.xaml" ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonPreview_Click); #line default #line hidden return; case 3: this.ReportViewVatTu = ((Microsoft.Reporting.WinForms.ReportViewer)(target)); return; } this._contentLoaded = true; }
private void ButtonInDSVT_Click(object sender, RoutedEventArgs e) { ReportVatTu reportvattu = new ReportVatTu(); reportvattu.ShowDialog(); }