示例#1
0
        private void button10_Click(object sender, EventArgs e)
        {
            ContextHandlerAgencyForm chaf = new ContextHandlerAgencyForm();

            SetClientValues(chaf, "ContextHandler.IContextHandlerEC");
            ShowMethod1(chaf);
        }
示例#2
0
 private void btn_ContextHandlerAgency_Click(object sender, EventArgs e)
 {
     if (UseEC2Interface)
     {
         ContextHandlerAgencyFormEC2 chaf = new ContextHandlerAgencyFormEC2();
         chaf.Text = "ContextHandlerAgencyForm (EC2)";
         SetClientValues(chaf, "ContextHandlerEC2.IContextHandlerEC2");
         ShowMethod1(chaf);
     }
     else
     {
         ContextHandlerAgencyForm chaf = new ContextHandlerAgencyForm();
         chaf.Text = "ContextHandlerAgencyForm (EC)";
         SetClientValues(chaf, "ContextHandler.IContextHandlerEC");
         ShowMethod1(chaf);
     }
 }