Exemple #1
0
        public void RAD1GELEMENTIVEZACommand(object sender, EventArgs e)
        {
            RAD1GELEMENTIVEZAWorkWithWorkItem item = this.WorkItem.Items.Get <RAD1GELEMENTIVEZAWorkWithWorkItem>("Placa.RAD1GELEMENTIVEZA");

            if (item == null)
            {
                item = this.WorkItem.Items.AddNew <RAD1GELEMENTIVEZAWorkWithWorkItem>("Placa.RAD1GELEMENTIVEZA");
            }
            item.Show(item.Workspaces["main"]);
        }
Exemple #2
0
 public void ShowRAD1GELEMENTIVEZA(object sender, EventArgs e)
 {
     if (this.CurrentRow != null)
     {
         RAD1GELEMENTIVEZAWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <RAD1GELEMENTIVEZAWorkWithWorkItem>("Placa.RAD1GELEMENTIVEZAFillByRAD1GELEMENTIID");
         if (item == null)
         {
             item = this.WorkItem.Parent.Items.AddNew <RAD1GELEMENTIVEZAWorkWithWorkItem>("Placa.RAD1GELEMENTIVEZAFillByRAD1GELEMENTIID");
         }
         item.Show(this.WorkItem.Workspaces["main"], "FillByRAD1GELEMENTIID", this.CurrentRow);
     }
 }