Exemple #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     //Case
     Case.CaseForm cf = new Case.CaseForm();
     SetClientValues(cf, "Case.ICaseEC");
     ShowMethod1(cf);
 }
Exemple #2
0
 private void btn_Case_Click(object sender, EventArgs e)
 {
     //Case
     if (UseEC2Interface)
     {
         Case.CaseFormEC2 cf = new Case.CaseFormEC2();
         cf.Text = "CaseForm (EC2)";
         SetClientValues(cf, "CaseEC2.ICaseEC2");
         ShowMethod1(cf);
     }
     else
     {
         Case.CaseForm cf = new Case.CaseForm();
         cf.Text = "CaseForm (EC)";
         SetClientValues(cf, "Case.ICaseEC");
         ShowMethod1(cf);
     }
 }