Example #1
0
        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"]);
        }
Example #2
0
 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);
     }
 }