private bool pr__read_panels(List <wcl_db_adapter.cDBRow> lst_panel_rows) { bool b_rc = true; try { if (lst_panel_rows.Count > 0) { //b_rc = b_rc && this.pr__init_lst_panels(); b_rc = b_rc && this.pr__init_lst(ref this.m_lst_c_panels); } foreach (wcl_db_adapter.cDBRow c_row in lst_panel_rows) { cPanel c_panel = new cPanel(this.m_c_db, c_row); this.p_lst_c_panels.Add(c_panel); } } catch (Exception) { b_rc = false; System.Diagnostics.Debugger.Break(); } finally { } return(b_rc); }
public cLocation(cPanel c_panel) { bool b_rc = true; try { this.m_b_location_selected = false; this.m_s_location_desc = c_panel.p_s_panel_location; this.m_s_location_name = c_panel.p_s_panel_location; this.m_s_location_address = c_panel.p_s_panel_address; this.m_s_location_street = c_panel.p_s_panel_street; this.m_s_location_sub_place = c_panel.p_s_panel_sub_place; this.m_s_location_main_place = c_panel.p_s_panel_main_place; this.m_s_location_province = c_panel.p_s_panel_province; this.m_s_location_country = c_panel.p_s_panel_country; this.m_s_location_country_code = c_panel.p_s_panel_country_code; this.m_dt_timestamp = c_panel.p_dt_timestamp; } catch (Exception) { b_rc = false; System.Diagnostics.Debugger.Break(); } finally { } }