Ejemplo n.º 1
0
 public void OnEQPIDSelectedEvent(object sender, ParentChildRelateEventArgs <string> e)
 {
     if (this.EQPIDSelectedEvent != null)
     {
         EQPIDSelectedEvent(sender, e);
     }
 }
Ejemplo n.º 2
0
        private void ucButtonOK_Click(object sender, EventArgs e)
        {
            if (this.dataGridViewEQPID.Rows.Count == 0)
            {
                return;
            }

            string eqpidList = string.Empty;

            for (int i = 0; i < dataGridViewEQPID.Rows.Count; i++)
            {
                if (dataGridViewEQPID.Rows[i].Cells[0].Value.ToString().ToLower() == "true")
                {
                    eqpidList += "," + dataGridViewEQPID.Rows[i].Cells["EQPID"].Value.ToString().Trim().ToUpper();
                }
            }

            if (eqpidList.Length > 0)
            {
                eqpidList = eqpidList.Substring(1);
            }

            ParentChildRelateEventArgs <string> args = new ParentChildRelateEventArgs <string>(eqpidList);

            this.OnEQPIDSelectedEvent(sender, args);
            this.Close();
        }
Ejemplo n.º 3
0
 public void OnBigLineSelectedEvent(object sender, ParentChildRelateEventArgs <string> e)
 {
     if (this.BiglineSelectedEvent != null)
     {
         BiglineSelectedEvent(sender, e);
     }
 }
Ejemplo n.º 4
0
 private void ssCodeSelectorForFactory_SSCodeSelectedEvent(object sender, ParentChildRelateEventArgs <string> e)
 {
     this.txtSSCodeListForFactory.Text = e.CustomObject;
 }
Ejemplo n.º 5
0
 private void eqpIDSelector_EqpIDSelectedEvent(object sender, ParentChildRelateEventArgs <string> e)
 {
     this.txtEQPID.Text = e.CustomObject;
 }