private void OnConfigurationChange(DocumentHandler docHandler, ConfigurationChangeState_e state, string confName) { if (state == ConfigurationChangeState_e.PostActivate) { if (docHandler.Model == m_App.IActiveDoc2) { InvokeTrigger(Triggers_e.ConfigurationChange); } } }
private void OnConfigurationChanged(DocumentHandler docHandler, ConfigurationChangeState_e type, string confName) { App.SendMsgToUser2($"'{docHandler.Model.GetTitle()}' configuration {confName} changed ({type}). Cancel?", (int)swMessageBoxIcon_e.swMbInformation, (int)swMessageBoxBtn_e.swMbOk); }