private void btnPlaybookInfo_Click(object sender, RoutedEventArgs e) { if (this.CurrentClauseId != "") { DataRow clause = this.GetClauseRow(this.CurrentClauseId)[0]; string html = clause["Clause__r_Concept__r_PlayBookInfo__c"].ToString(); Playbook p = new Playbook(); p.Open(this,this.CurrentConceptId, html, "Info"); p.Show(); } }
void lExp2_Click(object sender, RoutedEventArgs e) { Button b = (Button)sender; PlaybookTag pbt = (PlaybookTag)b.Tag; Playbook p = new Playbook(); p.OpenFromContract(pbt.id, pbt.html, pbt.type); p.Show(); }