void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) { switch (connectionId) { case 1: this.lihat_transaksi = ((test.lihattrans)(target)); return; case 2: this.GridLT = ((System.Windows.Controls.DataGrid)(target)); return; case 3: this.hapuslt = ((System.Windows.Controls.Button)(target)); return; } this._contentLoaded = true; }
private void latrans_click(object sender, RoutedEventArgs e) { lihattrans latr = new lihattrans(); latr.Show(); }