コード例 #1
0
        public void DDRADNIKCommand(object sender, EventArgs e)
        {
            DDRADNIKWorkWithWorkItem item = this.WorkItem.Items.Get <DDRADNIKWorkWithWorkItem>("DD.DDRADNIK");

            if (item == null)
            {
                item = this.WorkItem.Items.AddNew <DDRADNIKWorkWithWorkItem>("DD.DDRADNIK");
            }
            item.Show(item.Workspaces["main"]);
        }
コード例 #2
0
 public void ShowDDRADNIK1(object sender, EventArgs e)
 {
     if (this.CurrentRow != null)
     {
         DDRADNIKWorkWithWorkItem item = this.WorkItem.Parent.Items.Get <DDRADNIKWorkWithWorkItem>("Placa.DDRADNIKFillByOPCINARADAIDOPCINE");
         if (item == null)
         {
             item = this.WorkItem.Parent.Items.AddNew <DDRADNIKWorkWithWorkItem>("Placa.DDRADNIKFillByOPCINARADAIDOPCINE");
         }
         item.Show(this.WorkItem.Workspaces["main"], "FillByOPCINARADAIDOPCINE", this.CurrentRow);
     }
 }