protected virtual void DisplayWarning() { if (!Settings.Default.DisplayWarning) return; using (var frm = new SyncWarningForm()) frm.ShowDialog(); }
/// <summary> /// Display a warning about synchronization loss between host application and Reflexil, /// after making major changes like inject/rename/delate. /// </summary> protected virtual void DisplayWarning() { if (Settings.Default.DisplayWarning) { using (SyncWarningForm frm = new SyncWarningForm()) { frm.ShowDialog(); } } }