public void DefineCommands() { MouseLeavePlayCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeavePlay, null); MouseEnterPlayCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnterPlay, null); MouseLeftButtonDownPlayCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownOnPlay, null); MouseLeavePauseCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeavePause, null); MouseEnterPauseCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnterPause, null); MouseLeftButtonDownPauseCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownOnPause, null); MouseLeaveStopCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeaveStop, null); MouseEnterStopCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnterStop, null); MouseLeftButtonDownStopCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownOnStop, null); ClickPlayCommand = new DelegatedCommand<object>(OnClickPlay); ClickStopCommand = new DelegatedCommand<object>(OnClickStop); ClickPauseCommand = new DelegatedCommand<object>(OnClickPause); }
private void DefineCommands() { ClearButtonClickedCommand = new DelegateCommand<object>(OnClearButtonClicked, OnCanExecuteClear); DoneButtonClickedCommand = new DelegateCommand<object>(OnDoneButtonClicked, OnCanExecuteDone); NewButtonClickedCommand = new DelegateCommand<object>(OnNewButtonClicked, OnCanExecuteNew); ApplyButtonClickedCommand = new DelegateCommand<object>(OnApplyButtonClicked, OnCanExecuteApply); TextChangedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTextChangedCommand, null); ClickCloseCommand = new DelegatedCommand<object>(OnClose); }
private void DefineCommands() { SaveButtonClickedCommand = new DelegateCommand<object>(OnSave, OnCanExecuteSave); CloseButtonClickedCommand = new DelegateCommand<object>(OnClose, OnCanExecuteClose); ClearButtonClickedCommand = new DelegateCommand<object>(OnClear, OnCanExecuteClear); SelectionChangedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnSelectionChanged, null); CanExecuteClear = false; CanExecuteClose = true; }
public void DefineCommands() { DeleteArcCommand = new DelegatedCommand<object>(OnDeleteArc); FlipArcCommand = new DelegatedCommand<object>(OnFlipArc); MouseEnterCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnter, CanHandleMouseEnter); MouseLeaveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeave, CanHandleMouseLeave); MouseLeftButtonUpCommand = new DelegatedCommand<object>(OnMouseLeftButtonUpCommand, CanHandleMouseLeftButtonUp); MouseRightButtonDownCommand = new DelegatedCommand<object>(OnMouseRightButtonDownCommand, CanHandleMouseRightButtonDown); }
public void DefineCommands() { MouseEnterCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnter, null); MouseLeaveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeave, null); MouseLeftButtonDownAcceptCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownAccept, null); MouseLeftButtonDownRejectCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownReject, null); ClickCommand = new DelegatedCommand<object>(OnClick); MouseRightButtonDownCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseRightButtonDown, null); }
public void DefineCommands() { ClickCommand = new DelegatedCommand<object>(OnClick); ClickPrint = new DelegatedCommand<object>(OnClickPrint); ClickSave = new DelegatedCommand<object>(OnClickSave); ClickTranspose = new DelegatedCommand<object>(OnClickTranspose); ClickHub = new DelegatedCommand<object>(OnClickHub); ClickProvenance = new DelegatedCommand<object>(OnClickProvenance); ClickCollaborate = new DelegatedCommand<object>(OnClickCollaborate); MouseMoveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseMove, null); MouseLeftButtonUpCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonUpCommand, null); ClickManageLyrics = new DelegatedCommand<object>(OnClickManageLyrics); AddStaff = new DelegatedCommand<object>(OnAddStaff); }
private void DefineCommands() { MouseMoveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseMove, CanReactToMouseMove); MouseMoveSidebarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseMoveSidebar, CanReactToMouseMoveSidebar); MouseLeftButtonUpCommand = new DelegatedCommand<object>(OnMouseLeftButtonUpCommand, CanReactToMouseClick); LogExceptionLeftButtonUpCommand = new DelegatedCommand<object>(OnLogException, CanLogExceptions); CloseExceptionLeftButtonUpCommand = new DelegatedCommand<object>(OnCloseException); PrintCommand = new DelegatedCommand<object>(OnPrintCommand); }
public void DefineCommands() { ClickCommand = new DelegatedCommand<object>(OnClick); MouseMoveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseMove, null); MouseLeaveCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeave, null); MouseLeaveBarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeaveBar, null); MouseEnterBarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseEnterBar, null); MouseLeftButtonUpBarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonUpOnBar, null); MouseLeftButtonDownBarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseLeftButtonDownOnBar, null); MouseRightButtonUpCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseRightButtonUp, null); MouseMoveBarCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnMouseMoveBar, null); ClickFooterAcceptAllCommand = new DelegatedCommand<object>(OnClickFooterAcceptAll); ClickFooterRejectAllCommand = new DelegatedCommand<object>(OnClickFooterRejectAll); ClickFooterCompareCommand = new DelegatedCommand<object>(OnClickFooterCompare); ClickFooterSelectAllCommand = new DelegatedCommand<object>(OnClickFooterSelectAll); ClickFooterDeleteCommand = new DelegatedCommand<object>(OnClickFooterDelete); }
private void DefineCommands() { TransposeButtonClickedCommand = new DelegateCommand<object>(OnTransposeButtonClicked, OnCanExecuteTranspose); CancelButtonClickedCommand = new DelegateCommand<object>(OnCancelButtonClicked, OnCanExecuteCancel); TransposeIntervalCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeIntervalCheckedCommand, null); TransposeIntervalUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeIntervalUncheckedCommand, null); TransposeOctaveCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeOctaveCheckedCommand, null); TransposeOctaveUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeOctaveUncheckedCommand, null); TransposeKeyCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeKeyCheckedCommand, null); TransposeKeyUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnTransposeKeyUncheckedCommand, null); IntervalUpUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnIntervalUpUncheckedCommand, null); IntervalUpCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnIntervalUpCheckedCommand, null); IntervalDownUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnIntervalDownUncheckedCommand, null); IntervalDownCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnIntervalDownCheckedCommand, null); OctaveUpUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnOctaveUpUncheckedCommand, null); OctaveUpCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnOctaveUpCheckedCommand, null); OctaveDownUncheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnOctaveDownUncheckedCommand, null); OctaveDownCheckedCommand = new ExtendedDelegateCommand<ExtendedCommandParameter>(OnOctaveDownCheckedCommand, null); }