Пример #1
0
        public void showReportListView()
        {
            //get needed stuff from db and fill view and then show the view
            _listView             = new ReportListView();
            _listView._controller = this;

            allReportsList = _db.getAllReportList();
            _listView.setAllReportList(allReportsList);

            //sentReportsList = _db.getSentReportList();
            //_listView.setAllReportList(sentReportsList);

            //recievedReportsList = _db.getRecievedList();
            //_listView.setAllReportList(recievedReportsList);

            _listView.show();
        }
        public void showReportListView()
        {
            //get needed stuff from db and fill view and then show the view

            _listView             = new ReportListView();
            _listView._controller = this;
            //we have delay here
            //allReportsList = _db.getAllReportList();
            _listView.setAllReportList(allReportsList);

            //sentReportsList = _db.getSentReportList();
            //_listView.setSentReportList(sentReportsList);

            //recievedReportsList = _db.getRecievedList();
            //_listView.setRecievedReportList(recievedReportsList);

            //_allowedSenders = _db.getAllowedSendersList();
            //_listView.setSenderList(_allowedSenders);


            _listView.show();
        }