public void RAD1SPREMEVEZACommand(object sender, EventArgs e) { RAD1SPREMEVEZAWorkWithWorkItem item = this.WorkItem.Items.Get <RAD1SPREMEVEZAWorkWithWorkItem>("Placa.RAD1SPREMEVEZA"); if (item == null) { item = this.WorkItem.Items.AddNew <RAD1SPREMEVEZAWorkWithWorkItem>("Placa.RAD1SPREMEVEZA"); } item.Show(item.Workspaces["main"]); }
public void ShowRAD1SPREMEVEZA(object sender, EventArgs e) { if (this.CurrentRow != null) { RAD1SPREMEVEZAWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <RAD1SPREMEVEZAWorkWithWorkItem>("Placa.RAD1SPREMEVEZAFillByIDSTRUCNASPREMA"); if (item == null) { item = this.WorkItem.Parent.Items.AddNew <RAD1SPREMEVEZAWorkWithWorkItem>("Placa.RAD1SPREMEVEZAFillByIDSTRUCNASPREMA"); } item.Show(this.WorkItem.Workspaces["main"], "FillByIDSTRUCNASPREMA", this.CurrentRow); } }