private void loadToolStripMenuItem_Click(object sender, EventArgs e) { Filer.Form1 f = new Filer.Form1(); string fileName = f.LoadFile(); if (fileName != "") { fileName = new Sokoban.GetPath().GetTheDirectory() + "\\" + fileName; this.Ctl.Load(fileName); } }
/*****************************Load Display**********************************************************************/ private void openPToolStripMenuItem_Click(object sender, EventArgs e) { this.btnGridPanel.Controls.Clear(); Filer.Form1 f = new Filer.Form1(); string fileName = f.LoadFile(); if (fileName != "") { fileName = new Sokoban.GetPath().GetTheDirectory() + "\\" + fileName; this.Ctl.Load(fileName); } }
public void StartFiler() { Form filer = new Filer.Form1(); filer.Show(); }
private void saveToolStripMenuItem_Click(object sender, EventArgs e) { Filer.Form1 f = new Filer.Form1(); this.Ctl.Save(f.SaveFile()); }