Beispiel #1
0
        public void Proizvod_Command(object sender, EventArgs e)
        {
            PROIZVODWorkWithWorkItem item = this.WorkItem.Items.Get <PROIZVODWorkWithWorkItem>("JN.Proizvod");

            if (item == null)
            {
                item = WorkItem.Items.AddNew <PROIZVODWorkWithWorkItem>("JN.Proizvod");
            }
            item.Show(item.Workspaces["main"]);
        }
Beispiel #2
0
 public void ShowPROIZVOD(object sender, EventArgs e)
 {
     if (this.CurrentRow != null)
     {
         PROIZVODWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <PROIZVODWorkWithWorkItem>("Placa.PROIZVODFillByFINPOREZIDPOREZ");
         if (item == null)
         {
             item = this.WorkItem.Parent.Items.AddNew <PROIZVODWorkWithWorkItem>("Placa.PROIZVODFillByFINPOREZIDPOREZ");
         }
         item.Show(this.WorkItem.Workspaces["main"], "FillByFINPOREZIDPOREZ", this.CurrentRow);
     }
 }