C
Cub71
Can anyone explain to me why none of these fires when I switch the
phone on and off:
public MainForm()
{
InitializeComponent();
SystemState _PhoneRoaming = new SystemState(
SystemProperty.PhoneRoaming);
_PhoneRoaming.Changed += new
ChangeEventHandler(_PhoneRoaming_Changed);
SystemState _PhoneHomeService = new
SystemState(SystemProperty.PhoneHomeService);
_PhoneHomeService.Changed += new
ChangeEventHandler(_PhoneHomeService_Changed);
SystemState _PhoneGprsCoverage = new
SystemState(SystemProperty.PhoneGprsCoverage);
_PhoneGprsCoverage.Changed += new
ChangeEventHandler(_PhoneGprsCoverage_Changed);
SystemState _PhoneNoService = new
SystemState(SystemProperty.PhoneNoService);
_PhoneNoService.Changed += new
ChangeEventHandler(_PhoneNoService_Changed);
}
void _PhoneNoService_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneGprsCoverage_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneHomeService_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneRoaming_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
phone on and off:
public MainForm()
{
InitializeComponent();
SystemState _PhoneRoaming = new SystemState(
SystemProperty.PhoneRoaming);
_PhoneRoaming.Changed += new
ChangeEventHandler(_PhoneRoaming_Changed);
SystemState _PhoneHomeService = new
SystemState(SystemProperty.PhoneHomeService);
_PhoneHomeService.Changed += new
ChangeEventHandler(_PhoneHomeService_Changed);
SystemState _PhoneGprsCoverage = new
SystemState(SystemProperty.PhoneGprsCoverage);
_PhoneGprsCoverage.Changed += new
ChangeEventHandler(_PhoneGprsCoverage_Changed);
SystemState _PhoneNoService = new
SystemState(SystemProperty.PhoneNoService);
_PhoneNoService.Changed += new
ChangeEventHandler(_PhoneNoService_Changed);
}
void _PhoneNoService_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneGprsCoverage_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneHomeService_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}
void _PhoneRoaming_Changed(object sender, ChangeEventArgs
args)
{
throw new NotImplementedException();
}