コード例 #1
0
        public void OnFileEvent(object sender, FileEventArgs e)
        {
            string name;

            if (e.Save)
            {
                Saver.SaveMap(View.getFileName());
            }
            else if (e.Load)
            {
                name = View.getFileName();
                Loader.LoadFile(name);
                MainForm.SetLoadedMap();
            }
        }