public VideoProcessorPresentationModel() { const string DEFAULT_HINT_MESSAGE = "載入影片後,按下任一影像處理方法鍵便會開始撥放影片。"; _hintLabelText = DEFAULT_HINT_MESSAGE; _processButtonsEnabled = false; _checkedType = ImageProcessFunctions.MaskType.Type1; _instance = this; }
public void SetProcessMethod(ImageProcessFunctions.Methods method,int intArgument1 = 0, int intArgument2 = 0, float floatArgument = 0.0f, ImageProcessFunctions.MaskType maskType = ImageProcessFunctions.MaskType.Type1) { _processMethod = method; _intArgument1 = intArgument1; _intArgument2 = intArgument2; _floatArgument = floatArgument; _maskArgument = maskType; }