public void DDRADNIKCommand(object sender, EventArgs e) { DDRADNIKWorkWithWorkItem item = this.WorkItem.Items.Get <DDRADNIKWorkWithWorkItem>("DD.DDRADNIK"); if (item == null) { item = this.WorkItem.Items.AddNew <DDRADNIKWorkWithWorkItem>("DD.DDRADNIK"); } item.Show(item.Workspaces["main"]); }
public void ShowDDRADNIK1(object sender, EventArgs e) { if (this.CurrentRow != null) { DDRADNIKWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <DDRADNIKWorkWithWorkItem>("Placa.DDRADNIKFillByOPCINARADAIDOPCINE"); if (item == null) { item = this.WorkItem.Parent.Items.AddNew <DDRADNIKWorkWithWorkItem>("Placa.DDRADNIKFillByOPCINARADAIDOPCINE"); } item.Show(this.WorkItem.Workspaces["main"], "FillByOPCINARADAIDOPCINE", this.CurrentRow); } }