private void menuItemClick(object sender, EventArgs e) { if (sender == openProjectMenuItem) { mainControler.openMWD(); } else if (sender == openTransportMenuItem) { mainControler.importTransportLayer(true); } else if (sender == importProjectMenuItem) { mainControler.importMWD(); } else if (sender == importTransportMenuItem) { mainControler.importTransportLayer(false); } else if (sender == saveMenuItem) { mainControler.save(); } #if DEVELOP else if (sender == stressTest) { mainControler.stressTest(); } #endif else if (sender == saveAsMenuItem) { mainControler.showSaveDialog(); } else if (sender == closeMenuItem) { mainControler.ExitProgram(); } else if (sender == loadDefaultSettingsMenuItem) { mainControler.LoadDefaultSettings(); } else if (sender == aboutMenuItem) { mainControler.showAboutDialog(); } else if (sender == settingsMenuItem) { mainControler.showSettingsDialog(); } }