Exemplo n.º 1
0
 private void BillManagement_Shown(object sender, EventArgs e)
 {
     QueryBuildingRequest request = new QueryBuildingRequest();
     request.token = Token;
     request.form = new BuildingQueryForm { };
     _buildingResponse = SDKFactory.Client.Execute(request);
 }
Exemplo n.º 2
0
 private void FormShown_Callback(QueryBuildingResponse response)
 {
     foreach (var buiding in response.List)
     {
         TreeNode node = new TreeNode
         {
             Name = buiding.ID,
             Text = buiding.Name,
             Tag = buiding,
         };
         tvBuilding.TopNode.Nodes.Add(node);
     }
     tvBuilding.TopNode.ExpandAll();
     _buildings = response.List;
 }
Exemplo n.º 3
0
 private void QueryBuilding_Callback(QueryBuildingResponse response)
 {
     _buildings = response.List;
 }