Exemple #1
0
 public DialogResult Show(NebulaGames.RPGWorld.GameBuilder.EditorWorld CurrentWorld, NebulaGames.RPGWorld.GameBuilder.LayerInfo CurrentLayerInfo)
 {
     WorldRef                = CurrentWorld;
     LayerName.Text          = CurrentLayerInfo.Name;
     LayerType.SelectedIndex = LayerType.Properties.Items.GetItemIndexByValue(CurrentLayerInfo.LayerType.ToString());
     IsVisible.Checked       = CurrentLayerInfo.Visible;
     _IsNew = false;
     return(this.ShowDialog());
 }
Exemple #2
0
 public DialogResult Show(NebulaGames.RPGWorld.GameBuilder.EditorWorld CurrentWorld)
 {
     WorldRef                = CurrentWorld;
     LayerName.Text          = "";
     LayerType.SelectedIndex = -1;
     IsVisible.Checked       = false;
     _IsNew = true;
     return(this.ShowDialog());
 }