private void SetBatteryValue() { double maxium = Rec_Battery.MaxWidth; double percentage = LocalMethod.GetBatteryPercentage(); Rec_Battery.Width = maxium * percentage; }
private void SetUSBState() { if (LocalMethod.GetUSBExistence()) { ShowUSBIcon(); } else { HideUSBIcon(); } }
private void SetMuteState() { if (LocalMethod.GetMuteExistence()) { ShowMuteIcon(); } else { HideMuteIcon(); } }
private void Set3GState() { if (LocalMethod.Get3GExistence()) { Show3GIcon(); } else { Hide3GIcon(); } }
private void SetBlueToothState() { if (LocalMethod.GetBlueToothExistence()) { ShowBlueToothIcon(); } else { HideBlueToothIcon(); } }