public void UCENIKpREGLEDCommand(object sender, EventArgs e) { UCENIKWorkWithWorkItem item = this.WorkItem.Items.Get <UCENIKWorkWithWorkItem>("Placa.UCENIK"); if (item == null) { item = this.WorkItem.Items.AddNew <UCENIKWorkWithWorkItem>("Placa.UCENIK"); } item.Show(item.Workspaces["main"]); }
public void ShowUCENIK(object sender, EventArgs e) { if (this.CurrentRow != null) { UCENIKWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <UCENIKWorkWithWorkItem>("Placa.UCENIKFillByPOSTANSKIBROJ"); if (item == null) { item = this.WorkItem.Parent.Items.AddNew <UCENIKWorkWithWorkItem>("Placa.UCENIKFillByPOSTANSKIBROJ"); } item.Show(this.WorkItem.Workspaces["main"], "FillByPOSTANSKIBROJ", this.CurrentRow); } }