public frmListEDCXml(SetEDCManager set_edc_mgrr, EDCManager edc_mgr, GateWayManager gwm) { InitializeComponent(); this.delgEDCManager = set_edc_mgrr; //this.edcm = (EDCManager)edc_mgr.Clone(); this.edcm = edc_mgr; this.gateway_mgr = (GateWayManager)gwm.Clone(); this.edcm.eventAddEDCXml += new EventHandler(this.btnAddXml_Click); }
public frmListDBConfig(SetDBManager set_db_mgrr, DBManager db_mgr, GateWayManager gw_mgr) { InitializeComponent(); //this.dbm = (DBManager)db_mgr.Clone(); this.dbm = db_mgr; this.gateway_mgr = (GateWayManager)gw_mgr.Clone(); this.delgDBManager = set_db_mgrr; this.dbm.eventAddDBConfig += new EventHandler(this.btnAddDBConfig_Click); }