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(); }
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(); }
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(); }
public CMP_Welcome(CreateMapPackageForm mappackageform) { InitializeComponent(); //Set our map package form MapPackageForm = mappackageform; }