void ReleaseDesignerOutlets() { if (IconStatus != null) { IconStatus.Dispose(); IconStatus = null; } if (RewardImage != null) { RewardImage.Dispose(); RewardImage = null; } if (RewardName != null) { RewardName.Dispose(); RewardName = null; } if (RewardTime != null) { RewardTime.Dispose(); RewardTime = null; } }
private void Put(NotifierType notifierType, IconStatus status) { if (this.unitaryStatus.ContainsKey(notifierType)) { this.unitaryStatus.Remove(notifierType); } this.unitaryStatus.Add(notifierType, status); }
private void ToggleIcon(IconStatus iconStatus) { _trayIcon.Icon = _iconStatusMap[iconStatus]; }