Esempio n. 1
0
        private void btnFindSjediste_Click(object sender, EventArgs e)
        {
            LookUpForm novaForma1 = new LookUpForm(new SjedistePropertyClass(), terminID);

            novaForma1.ShowDialog();
            txtSjedisteKey.Text   = novaForma1.Key;
            txtSjedisteValue.Text = novaForma1.Value;
            return;
        }
Esempio n. 2
0
 private void btn_LookUp_Click(object sender, EventArgs e)
 {
     //LookUp
     if (UseEC2Interface)
     {
         LookUpFormEC2 luf = new LookUpFormEC2();
         luf.Text = "LookUpForm (EC2)";
         SetClientValues(luf, "LookUpEC2.ILookUpExternalEC2");
         ShowMethod1(luf);
     }
     else
     {
         LookUpForm luf = new LookUpForm();
         luf.Text = "LookUpForm (EC)";
         SetClientValues(luf, "LookUp.ILookUpExternalEC");
         ShowMethod1(luf);
     }
 }
Esempio n. 3
0
 private void btnFind_Click(object sender, EventArgs e)
 {
     if (myInterface.GetType() == typeof(SjedistePropertyClass))
     {
         LookUpForm novaForma1 = new LookUpForm(myInterface, terminID);
         novaForma1.ShowDialog();
         Key              = novaForma1.Key;
         Value            = novaForma1.Value;
         txtValue.Text    = Value;
         txtKeyValue.Text = Key;
         return;
     }
     else
     {
         LookUpForm novaForma = new LookUpForm(myInterface);
         novaForma.ShowDialog();
         Key              = novaForma.Key;
         Value            = novaForma.Value;
         txtValue.Text    = Value;
         txtKeyValue.Text = Key;
     }
 }