Esempio n. 1
0
        public void RAD1VEZASPOLCommand(object sender, EventArgs e)
        {
            RAD1VEZASPOLWorkWithWorkItem item = this.WorkItem.Items.Get <RAD1VEZASPOLWorkWithWorkItem>("Placa.RAD1VEZASPOL");

            if (item == null)
            {
                item = this.WorkItem.Items.AddNew <RAD1VEZASPOLWorkWithWorkItem>("Placa.RAD1VEZASPOL");
            }
            item.Show(item.Workspaces["main"]);
        }
Esempio n. 2
0
 public void ShowRAD1VEZASPOL(object sender, EventArgs e)
 {
     if (this.CurrentRow != null)
     {
         RAD1VEZASPOLWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <RAD1VEZASPOLWorkWithWorkItem>("Placa.RAD1VEZASPOLFillByIDSPOL");
         if (item == null)
         {
             item = this.WorkItem.Parent.Items.AddNew <RAD1VEZASPOLWorkWithWorkItem>("Placa.RAD1VEZASPOLFillByIDSPOL");
         }
         item.Show(this.WorkItem.Workspaces["main"], "FillByIDSPOL", this.CurrentRow);
     }
 }