Пример #1
0
 private void SetMap(string Filename,frmMap MapToSet)
 {
     frmMap fm = GetMap(Filename);
     if (fm == null) return;
     int i = OpenFiles.IndexOf(fm);
     OpenFiles[i] = MapToSet;
 }
Пример #2
0
 private void ShowNewForm(object sender, EventArgs e)
 {
     frmMap childForm = new frmMap();
     childForm.MdiParent = this;
     childForm.Text = "Untitled Map " + childFormNumber++;
     childForm.Show();
     childForm.Map = null;
     OpenFiles.Add(childForm);
 }
Пример #3
0
 private string NewForm()
 {
     frmMap childForm = new frmMap();
     childForm.MdiParent = this;
     childForm.Text = "Untitled Map " + childFormNumber++;
     childForm.Show();
     childForm.Map = null;
     OpenFiles.Add(childForm);
     return childForm.Text;
 }