Beispiel #1
0
        private void mnuNew_Click(object sender, EventArgs e)
        {
            SaveFileDialog dialog = new SaveFileDialog();

            dialog.Filter = "MB SceneObj File|*.sco";
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                session = new ScoAppSession(this);
                session.New(dialog.FileName);
            }
        }
Beispiel #2
0
        private void mnuOpen_Click(object sender, EventArgs e)
        {
            OpenFileDialog dialog = new OpenFileDialog();

            dialog.Filter = "MB SceneObj File|*.sco";
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                session = new ScoAppSession(this);
                session.Open(dialog.FileName);
                btnMissionObjects_Click(sender, e);
            }
        }