Example #1
0
        public void ShowMessagePanel(bool flag)
        {
            EventHandler handler = ShowPanelEvent;

            if (handler != null)
            {
                UpdatePropertyEventArgs args = new UpdatePropertyEventArgs()
                {
                    Value        = flag,
                    PropertyName = "ShowMessagePanel"
                };
                handler(this, args);
            }
        }
Example #2
0
        public void OnUpdateDocTable(object value, [CallerMemberName] string property = null)
        {
            Log.TraceWrite(CallerInfo.Create(), "Property: {0}", property);
            EventHandler handler = UpdateDocTableEvent;

            if (handler != null)
            {
                UpdatePropertyEventArgs args = new UpdatePropertyEventArgs()
                {
                    Value        = value,
                    PropertyName = property
                };
                ChangePending = true;
                handler(this, args);
            }
        }