Exemplo n.º 1
0
        void PopulateTable()
        {
            try
            {
                Log.Debug("MWC", "EXHIBITORS PopulateTable");

                if (exhibitors == null || exhibitors.Count == 0)
                {
                    Log.Debug("MWC", "EXHIBITORS PopulateTable GetExhibitors");
                    this.exhibitors = MWC.BL.Managers.ExhibitorManager.GetExhibitors();

                    if (this.exhibitors.Count > 0)
                    {
                        // create our adapter
                        this.exhibitorListAdapter = new MWC.Adapters.ExhibitorListAdapter(this, this.exhibitors);

                        //Hook up our adapter to our ListView
                        this.exhibitorListView.Adapter = this.exhibitorListAdapter;
                    }
                }
            }
            catch (Exception e)
            {
                Log.Wtf("MWC", e.ToString());
            }
        }
Exemplo n.º 2
0
        void PopulateTable()
        {
            try
            {
                Log.Debug("MWC", "EXHIBITORS PopulateTable");

                if (exhibitors == null || exhibitors.Count == 0)
                {
                    Log.Debug("MWC", "EXHIBITORS PopulateTable GetExhibitors");
                    this.exhibitors = MWC.BL.Managers.ExhibitorManager.GetExhibitors();

                    if (this.exhibitors.Count > 0)
                    {
                        // create our adapter
                        this.exhibitorListAdapter = new MWC.Adapters.ExhibitorListAdapter(this, this.exhibitors);

                        //Hook up our adapter to our ListView
                        this.exhibitorListView.Adapter = this.exhibitorListAdapter;
                    }
                }
            }
            catch (Exception e)
            {
                Log.Wtf("MWC", e.ToString());
            }
        }