コード例 #1
0
 public CRequestController(DbCenter db, ClientCommunication c)
 {
     _db = db;
     _cc = c;
     _sendRequestView    = new VSendRequest();
     _recivedRequestView = new VRecievedRequest();
     _sentRequestView    = new VSentRequest();
     _requestListView    = new VRequestList();
 }
コード例 #2
0
        public void ShowSentRequestForm()
        {
            if (_sentRequestView == null)
            {
                _sentRequestView = new VSentRequest();
            }

            _sentRequestView.controller      = this;
            _sentRequestView.current_request = null; // set current request
            _sentRequestView.ShowForm();
        }