Ejemplo n.º 1
0
        void ReplaceGesture(ButtonActions.Gesture gesture)
        {
            var d    = new ActionSelectDialog();
            var slot = (slotMenu.Tag as CapturedInput).Clone();

            slot.ButtonGesture        = gesture;
            d.ActionSelect.MainForm   = mainForm;
            d.ActionSelect.Controller = controller;
            d.ActionSelect.Slot       = slot;

            d.ShowDialog(this.ParentForm);
        }
Ejemplo n.º 2
0
        void ReplaceGesture(ButtonActions.Gesture gesture)
        {
            var d = new ActionSelectDialog();
            var slot = (slotMenu.Tag as CapturedInput).Clone();

            slot.ButtonGesture = gesture;
            d.ActionSelect.MainForm = mainForm;
            d.ActionSelect.Controller = controller;
            d.ActionSelect.Slot = slot;

            d.ShowDialog(this.ParentForm);
        }