Ejemplo n.º 1
0
 //Constructor to Add New DB Config Information
 public frmEditDBConfig(CheckDuplicate check, SetDBInfo set_db_info, SetDBSerial set_serial, GateWayManager gwm, int index)
 {
     InitializeComponent();
     this.isEdit             = false;
     this.gateway_mgr        = gwm;;
     this.serial_index       = index;
     this.delgCheckDuplicate = check;
     this.delgSetDBInfo      = set_db_info;
     this.delgSetDBSerial    = set_serial;
 }
Ejemplo n.º 2
0
 //Constructor to Edit DB Config Information
 public frmEditDBConfig(SetDBInfo set_db_info, GateWayManager gwm, cls_DB_Info db_info, string gateway, string device, bool copy_flag)
 {
     InitializeComponent();
     this.isEdit        = true;
     this.isCopy        = copy_flag;
     this.gateway_mgr   = gwm;;
     this.db_data       = db_info;
     this.gateway_id    = gateway;
     this.device_id     = device;
     this.delgSetDBInfo = set_db_info;
 }