private void onRecordReport(object sender, EventArgs e) { Cursor = Cursors.WaitCursor; if (m_dlgReport == null) { m_dlgReport = new DlgReport(); } m_dlgReport.set(m_mission.getReport()); Cursor = Cursors.Default; m_dlgReport.ShowDialog(); }
public FrmMission() { InitializeComponent(); this.Text = this.Text + " " + CommonTools.Gui.LoginData.ApplicationVersion; Database.DataConfiguration.init(); m_mission = new Mission(); m_dlgEditXml = null; m_dlgReport = null; m_dlgSearch = new CommonTools.Gui.DlgSearch(); m_dlgSearch.configure(Net7.Tables.missions); m_fieldChangesMuted = false; configureTabs(); setState(State.View); }