From 632781d1adf54287ecfe7cbcbc17074e14a769b2 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Sat, 29 Sep 2018 23:59:42 +0200 Subject: added database methods --- ZooBOTanica/CritCreate.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ZooBOTanica/CritCreate.cs') diff --git a/ZooBOTanica/CritCreate.cs b/ZooBOTanica/CritCreate.cs index 08a6ff0..08f527d 100644 --- a/ZooBOTanica/CritCreate.cs +++ b/ZooBOTanica/CritCreate.cs @@ -15,7 +15,7 @@ namespace ZooBOTanica public partial class CritCreateForm : Form { - private DSALib.Characters.Critter critter; + public DSALib.Characters.Critter critter; public CritCreateForm() { @@ -23,7 +23,7 @@ namespace ZooBOTanica this.AllowDrop = true; } - private new void Load(string path) + public new void Load(string path) { this.critter = Critter.Load(path); @@ -48,12 +48,12 @@ namespace ZooBOTanica } } - private void CritCreateForm_DragDrop(object sender, DragEventArgs e) + public void CritCreateForm_DragDrop(object sender, DragEventArgs e) { this.Load(e.Data.GetData(DataFormats.Text).ToString()); } - private void LoadButton_Click(object sender, EventArgs e) + public void LoadButton_Click(object sender, EventArgs e) { var dig = new OpenFileDialog(); dig.CheckFileExists = true; @@ -67,7 +67,7 @@ namespace ZooBOTanica } } - private void SaveButton_Click(object sender, EventArgs e) + public void SaveButton_Click(object sender, EventArgs e) { this.critter = new Critter(); this.critter.Astralpunkte_Basis = (int)this.AeEdit.Value; -- cgit v1.2.3-54-g00ecf