예제 #1
0
        private void UpdateVrageRemoteAPI()
        {
            string response = MyStatic.VrageRemoteApiRequest("session/grids", Method.GET);

            if (!string.IsNullOrEmpty(response))
            {
                grids = new JavaScriptSerializer().Deserialize <GridInformationFormat>(response);
            }
        }
 private void b_Delete_Click(object sender, RoutedEventArgs e)
 {
     Tuple <string, string>[] _params = new Tuple <string, string> [1];
     _params[0] = new Tuple <string, string>("entityId", grid.EntityId.ToString());
     MyStatic.VrageRemoteApiRequest("session/grids/" + grid.EntityId.ToString(), RestSharp.Method.DELETE);
 }