public void DOPRINOSCommand(object sender, EventArgs e) { DOPRINOSWorkWithWorkItem item = this.WorkItem.Items.Get <DOPRINOSWorkWithWorkItem>("Placa.DOPRINOS"); if (item == null) { item = this.WorkItem.Items.AddNew <DOPRINOSWorkWithWorkItem>("Placa.DOPRINOS"); } item.Show(item.Workspaces["main"]); }
public void ShowDOPRINOS(object sender, EventArgs e) { if (this.CurrentRow != null) { DOPRINOSWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <DOPRINOSWorkWithWorkItem>("Placa.DOPRINOSFillByIDVRSTADOPRINOS"); if (item == null) { item = this.WorkItem.Parent.Items.AddNew <DOPRINOSWorkWithWorkItem>("Placa.DOPRINOSFillByIDVRSTADOPRINOS"); } item.Show(this.WorkItem.Workspaces["main"], "FillByIDVRSTADOPRINOS", this.CurrentRow); } }