سؤال

I need to programtically make settings for all items that are shown in Settings menu of windows mobile. This includes Personal, System and Connection tabs on setttings screen. Is there any API that provices access to all settings items? I am using .NET CF 2.0.

هل كانت مفيدة؟

المحلول

All these settings should be saved in Windows Registry. You can use CERegSpy to monitor Registry changes and programmatically apply them in your .NET CF application. The following code snippet may help:

using using Microsoft.Win32;
Registry.SetValue(`PATH`, `KEY_NAME`, `VALUE`);
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top