Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: Battery Download
 Description: 在WinCE操作系统中,用于读取电池的状态。 调用方法: //主窗口电池 Battery battery = new Battery() Battery.State SLast = Battery.State.Normal //主界面时钟,用户查看电池状态 private void timer2_Tick(object sender, EventArgs e) { ((Timer)sender).Enabled = false Battery.SystemIdleTimerReset() SLast = battery.Status Rectangle Rect = battery.BatteryState if (battery.Status != SLast) { Invalidate() } ((Timer)sender).Enabled = true } //主窗口画画图事件 private void FrmMain_Paint(object sender, PaintEventArgs e) { //画出电池形状
 Downloaders recently: [More information of uploader 覃赞]
 To Search:
File list (Check if you may need any files):
 

Battery.cs
    

CodeBus www.codebus.net