Esempio n. 1
0
        private bool OnRebuild(DocumentHandler docHandler, RebuildState_e state)
        {
            if (state == RebuildState_e.PostRebuild)
            {
                if (docHandler.Model == m_App.IActiveDoc2)
                {
                    InvokeTrigger(Triggers_e.Rebuild);
                }
            }

            return(true);
        }
Esempio n. 2
0
 private bool OnRebuild(DocumentHandler docHandler, RebuildState_e type)
 {
     return(App.SendMsgToUser2($"'{docHandler.Model.GetTitle()}' rebuilt ({type}). Cancel?",
                               (int)swMessageBoxIcon_e.swMbQuestion, (int)swMessageBoxBtn_e.swMbYesNo) == (int)swMessageBoxResult_e.swMbHitNo);
 }