public void Save(PinWidget view) { DigitCount = (int)view.DigitCount; DigitBorderColor = view.DigitBorderColor; DigitBackgroundColor = view.DigitBackgroundColor; DigitHeight = view.DigitHeight; DigitWidth = view.DigitWidth; DigitSpacing = view.DigitSpacing; AccentColor = view.AccentColor; AccentHeight = view.AccentHeight; TextSize = view.TextSize; TextColor = view.TextColor; }
public void Restore(PinWidget view) { view.DigitCount = (uint)DigitCount; view.DigitBorderColor = DigitBorderColor; view.DigitBackgroundColor = DigitBackgroundColor; view.DigitHeight = DigitHeight; view.DigitWidth = DigitWidth; view.DigitSpacing = DigitSpacing; view.AccentColor = AccentColor; view.AccentHeight = AccentHeight; view.TextSize = TextSize; view.TextColor = TextColor; }
public PrivatePinListener(string pinFinishedMethod, PinWidget view) { this._pinFinishedMethod = pinFinishedMethod; this._view = view; }