Example #1
0
 public FloodLevelForm(FloodLevel mesh)
 {
     InitializeComponent();
     this.fl = mesh;
     buttonColorPicker.BackColor = fl.FloodColor;
     numFloodLevel.Value         = (decimal)fl.FloodElevation;
 }
Example #2
0
 /// <summary>
 /// Plugin entry point - All plugins must implement this function
 /// </summary>
 public override void Load()
 {
     if (ParentApplication.WorldWindow.CurrentWorld != null && ParentApplication.WorldWindow.CurrentWorld.Name.IndexOf("SDSS") == -1)
     {
         FloodLevel layer = new FloodLevel(LayerName, ParentApplication.WorldWindow);
         ParentApplication.WorldWindow.CurrentWorld.RenderableObjects.Add(layer);
     }
 }
Example #3
0
 /// <summary>
 /// Plugin entry point - All plugins must implement this function
 /// </summary>
 public override void Load()
 {
     if (Global.worldWindow.CurrentWorld != null && Global.worldWindow.CurrentWorld.Name.IndexOf("SDSS") == -1)
     {
         FloodLevel layer = new FloodLevel(LayerName, Global.worldWindow);
         Global.worldWindow.CurrentWorld.RenderableObjects.Add(layer);
     }
 }