Inheritance: Inventory.Entry
Ejemplo n.º 1
0
 protected override Control CreateUIControl()
 {
     ParamWaterPicker paramWaterPicker = new ParamWaterPicker();
     paramWaterPicker.Entry = this.m_value;
     paramWaterPicker.EntryChanged += delegate(object sender, EventArgs e)
     {
         this.Value = ((ParamWaterPicker)sender).Entry;
     }
     ;
     return paramWaterPicker;
 }
Ejemplo n.º 2
0
 public static void SetWaterLevelSector(int sx, int sy, float waterLevel, WaterInventory.Entry entry)
 {
     Binding.FCE_TerrainManager_SetWaterLevelSector(sx, sy, waterLevel, (entry != null) ? entry.Pointer : IntPtr.Zero);
 }
Ejemplo n.º 3
0
 private void OnAssign()
 {
     using (PromptInventoryList promptInventoryList = new PromptInventoryList())
     {
         promptInventoryList.Root = WaterInventory.Instance.Root;
         promptInventoryList.Value = this.m_entry;
         if (promptInventoryList.ShowDialog(this) == DialogResult.OK)
         {
             this.Entry = (WaterInventory.Entry)promptInventoryList.Value;
         }
     }
 }