protected OnScreenKey(int row, int column, string[] values, CaptionUpdateDelegate valueIndexFunction = null, ExecuteDelegate executeFunction = null) { _values = values; _valueIndexFunction = valueIndexFunction ?? CaptionUpdateDelegateDelegateFunction.FirstInArray; _executeFunction = executeFunction ?? ExecuteDelegateFunctions.DefaultExecuteDelegate; Content = Value = values[0]; GridRow = row; GridColumn = column; Click += KeyPressEventHandler; }
protected OnScreenKey(int row, int column, string[] values, CaptionUpdateDelegate valueIndexFunction = null, ExecuteDelegate executeFunction = null) { _values = values; _valueIndexFunction = valueIndexFunction ?? CaptionUpdateDelegateDelegateFunction.FirstInArray; _executeFunction = executeFunction ?? ExecuteDelegateFunctions.DefaultExecuteDelegate; Content = Value = values[0]; GridRow = row; GridColumn = column; Click += KeyPressEventHandler; //Modifiers.Add(new OnScreenKeyStateModifier(OnScreenKeyModifierType.Special, false, false)); }
internal OnScreenKeyNormal(int row, int column, string[] values, CaptionUpdateDelegate valueIndexFunction) : base(row, column, values, valueIndexFunction) { }