public void initBySqlDataReader(SqlDataReader reader) { reader.Read(); lID = Int32.Parse(reader[0].ToString()); pID = Int32.Parse(reader[1].ToString()); lContent = reader[2].ToString(); lMapLayerName = reader[3].ToString(); lIsChoosed = Boolean.Parse(reader[4].ToString()); uncomleteLabelContentManager = new UncompleteLabelComboBoxManager(); }
public Label() { lID = C.ERROR_INT; pID = C.ERROR_INT; lContent = C.ERROR_STRING; lMapLayerName = C.ERROR_STRING; lIsChoosed = C.ERROR_BOOL; uncomleteLabelContentManager = new UncompleteLabelComboBoxManager(); }