Example #1
0
        public override void ProcessMessage(Message message)
        {
            SetLayoutActionMessage msg = message as SetLayoutActionMessage;

            if (msg != null)
            {
                Action.SetLayout(msg.Rows, msg.Columns);
            }
        }
Example #2
0
        private void OnClick(WebLayoutChangerAction action, int rows, int columns)
        {
            Hide();

            var msg = new SetLayoutActionMessage
            {
                Columns    = columns,
                Rows       = rows,
                TargetId   = action.Identifier,
                Identifier = action.Identifier
            };

            _actionDispatcher.EventDispatcher.DispatchMessage(msg);
        }
Example #3
0
        private void OnClick(WebLayoutChangerAction action, int rows, int columns)
        {
            Hide();

            var msg = new SetLayoutActionMessage
                          {
                              Columns = columns,
                              Rows = rows,
                              TargetId = action.Identifier,
                              Identifier = action.Identifier
                          };

            _actionDispatcher.EventDispatcher.DispatchMessage(msg);
        }