상속: System.EventArgs
예제 #1
0
 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);
 }
예제 #2
0
        /// <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);
            }
        }
예제 #3
0
 /// <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);
 }
예제 #4
0
 void Grid_GridLayer(object sender, GridLayerEventArgs e)
 {
 }
예제 #5
0
        void Grid_GridLayer(object sender, GridLayerEventArgs e)
        {

            Logger.Log(" *** New grid layer data " + e.Layer.Left.ToString() + "," + e.Layer.Right.ToString(), Helpers.LogLevel.Info);
        }
예제 #6
0
 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));
 }
예제 #7
0
 public virtual void Grid_OnGridLayer(object sender, GridLayerEventArgs e) { OnEvent("On-Grid-Layer", paramNamesOnGridLayer, paramTypesOnGridLayer, e); }