Example #1
0
        public CMP_SaveProject(CreateMapPackageForm mappackageform)
        {
            InitializeComponent();
            //Set our map package form
            MapPackageForm = mappackageform;
            //Set our map id
            int mapid = (new Random().Next(1, 9) * 100) + (new Random().Next(1, 9) * 10);

            txtMapID.Text = mapid.ToString();
        }
Example #2
0
        private void menuButtonItem3_Activate(object sender, EventArgs e)
        {
            //Initialize our instance of the map Package creator
            CreateMapPackageForm cmpf = new CreateMapPackageForm();

            //Set its mdi parent as this
            cmpf.MdiParent = this;
            //Show the form
            cmpf.Show();
        }
Example #3
0
        private void createToolStripMenuItem2_Click(object sender, EventArgs e)
        {
            //Initialize our instance of the map Package creator
            CreateMapPackageForm cmpf = new CreateMapPackageForm();

            //Set its mdi parent as this
            cmpf.MdiParent = this;
            //Show the form
            cmpf.Show();
        }
Example #4
0
 public CMP_Welcome(CreateMapPackageForm mappackageform)
 {
     InitializeComponent();
     //Set our map package form
     MapPackageForm = mappackageform;
 }