示例#1
0
文件: MainForm.cs 项目: sfike/Awe
        /// <summary>
        /// Constructs the main form.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            contentBuilder = new ContentBuilder();

            contentManager = new ContentManager(editorViewerControl.Services,
                                                contentBuilder.OutputDirectory);

            // Automatically start with an empty game manifest
            gameManifest = new GameManifest();
        }
示例#2
0
        /// <summary>
        /// Constructs the main form.
        /// </summary>
        public MainForm()
        {
            InitializeComponent();

            contentBuilder = new ContentBuilder();

            contentManager = new ContentManager(editorViewerControl.Services,
                                                contentBuilder.OutputDirectory);
            // Automatically start with an empty game manifest
            gameManifest = new GameManifest();

            // Don't start with a default save location
            saveLocation = null;
            UpdateManifestView();
        }
示例#3
0
 /// <summary>
 /// Event handler for the New menu option
 /// </summary>
 void NewMenuClicked(object sender, EventArgs e)
 {
     gameManifest = new GameManifest();
     UpdateManifestView();
 }