private void Grid_OnGridLayer(object sender, GridLayerEventArgs e) { GridLayer layer = e.Layer; WriteLine(String.Format("Layer({0}) Bottom: {1} Left: {2} Top: {3} Right: {4}", layer.ImageID.ToString(), layer.Bottom, layer.Left, layer.Top, layer.Right)); //string filename = layer. //Client.ExecuteCommand("download " + layer.ImageID.ToString() + " " + AssetType.ImageTGA + " " + filename); }
/// <summary>Raises the GridLayer event</summary> /// <param name="e">A GridLayerEventArgs object containing the /// data sent by simulator</param> protected virtual void OnGridLayer(GridLayerEventArgs e) { EventHandler <GridLayerEventArgs> handler = m_GridLayer; if (handler != null) { handler(this, e); } }
/// <summary>Raises the GridLayer event</summary> /// <param name="e">A GridLayerEventArgs object containing the /// data sent by simulator</param> protected virtual void OnGridLayer(GridLayerEventArgs e) { EventHandler<GridLayerEventArgs> handler = m_GridLayer; if (handler != null) handler(this, e); }
void Grid_GridLayer(object sender, GridLayerEventArgs e) { }
void Grid_GridLayer(object sender, GridLayerEventArgs e) { Logger.Log(" *** New grid layer data " + e.Layer.Left.ToString() + "," + e.Layer.Right.ToString(), Helpers.LogLevel.Info); }
void Grid_GridLayer(object sender, GridLayerEventArgs e) { Console.WriteLine(String.Format("Layer({0}) Bottom: {1} Left: {2} Top: {3} Right: {4}", e.Layer.ImageID.ToString(), e.Layer.Bottom, e.Layer.Left, e.Layer.Top, e.Layer.Right)); }
public virtual void Grid_OnGridLayer(object sender, GridLayerEventArgs e) { OnEvent("On-Grid-Layer", paramNamesOnGridLayer, paramTypesOnGridLayer, e); }