Beispiel #1
0
 private void tbMain_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
 {
     if (e.Button == tbbSave)
     {
         m_SaveMap();
     }
     if (e.Button == tbbOpen)
     {
         LoadMap();
     }
     if (e.Button == tbbHelp)
     {
         frmAbout f = new frmAbout();
         f.ShowDialog(this);
     }
     else if (e.Button == tbbNew)
     {
         NewMap(true);
     }
 }
Beispiel #2
0
        private void mnuHelpAbout_Click(object sender, System.EventArgs e)
        {
            frmAbout f = new frmAbout();

            f.ShowDialog(this);
        }
Beispiel #3
0
 private void tbMain_ButtonClick(object sender, System.Windows.Forms.ToolBarButtonClickEventArgs e)
 {
     if (e.Button == tbbSave)
         m_SaveMap();
     if (e.Button == tbbOpen)
         LoadMap();
         if(e.Button == tbbHelp)
         {
             frmAbout f = new frmAbout();
             f.ShowDialog(this);
         }
     else if (e.Button == tbbNew)
         NewMap(true);
 }
Beispiel #4
0
 private void mnuHelpAbout_Click(object sender, System.EventArgs e)
 {
     frmAbout f = new frmAbout();
     f.ShowDialog(this);
 }