/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ public static void Show(bool beforeEditing) { bool showMsg = !PaApp.SettingsHandler.GetBoolSettingsValue("XYChartHelperAddOn", beforeEditing ? "dontshowbegineditmsg" : "dontshowsavingmsg", false); if (showMsg) { using (RestoreMarkersMessageDlg dlg = new RestoreMarkersMessageDlg(beforeEditing)) dlg.ShowDialog(); } }
/// ------------------------------------------------------------------------------------ /// <summary> /// /// </summary> /// ------------------------------------------------------------------------------------ protected bool OnSaveChartAs(object args) { try { if (m_chartHasBeenAutoFilled) { RestoreMarkersMessageDlg.Show(false); OnResetAutoFilledChart(null); } } catch { } return(false); }