Esempio n. 1
0
        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);
            }
        }
Esempio n. 2
0
        /*****************************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);
            }
        }
Esempio n. 3
0
        public void StartFiler()
        {
            Form filer = new Filer.Form1();

            filer.Show();
        }
Esempio n. 4
0
 private void saveToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Filer.Form1 f = new Filer.Form1();
     this.Ctl.Save(f.SaveFile());
 }