예제 #1
0
        public void SHEMADDCommand(object sender, EventArgs e)
        {
            SHEMADDWorkWithWorkItem item = this.WorkItem.Items.Get <SHEMADDWorkWithWorkItem>("Placa.SHEMADD");

            if (item == null)
            {
                item = this.WorkItem.Items.AddNew <SHEMADDWorkWithWorkItem>("Placa.SHEMADD");
            }
            item.Show(item.Workspaces["main"]);
        }
예제 #2
0
 public void ShowSHEMADD(object sender, EventArgs e)
 {
     if (this.CurrentRow != null)
     {
         SHEMADDWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <SHEMADDWorkWithWorkItem>("Placa.SHEMADDFillBySHEMADDOJIDORGJED");
         if (item == null)
         {
             item = this.WorkItem.Parent.Items.AddNew <SHEMADDWorkWithWorkItem>("Placa.SHEMADDFillBySHEMADDOJIDORGJED");
         }
         item.Show(this.WorkItem.Workspaces["main"], "FillBySHEMADDOJIDORGJED", this.CurrentRow);
     }
 }