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); } }
private void mnuHelpAbout_Click(object sender, System.EventArgs e) { frmAbout f = new frmAbout(); f.ShowDialog(this); }
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); }
private void mnuHelpAbout_Click(object sender, System.EventArgs e) { frmAbout f = new frmAbout(); f.ShowDialog(this); }