private void button8_Click(object sender, EventArgs e) { ReporteeElementListForm relf = new ReporteeElementListForm(); SetClientValues(relf, "ReporteeElementList.IReporteeElementListEC"); ShowMethod1(relf); }
private void btn_ReporteeElementList_Click(object sender, EventArgs e) { if (UseEC2Interface) { ReporteeElementListFormEC2 relf = new ReporteeElementListFormEC2(); relf.Text = "ReporteeElementListForm (EC2)"; SetClientValues(relf, "ReporteeElementListEC2.IReporteeElementListEC2"); ShowMethod1(relf); } else { ReporteeElementListForm relf = new ReporteeElementListForm(); relf.Text = "ReporteeElementListForm (EC)"; SetClientValues(relf, "ReporteeElementList.IReporteeElementListEC"); ShowMethod1(relf); } }