using System;
// this is COM component that can be found under the name "Microsoft Shell Controls And Automation"
// this must be added to project references
using Shell32;
Code:
static void Main()
{
//Creating an object of shell to access all the control panel items.
Shell shell = new Shell();
// accessibility options
shell.ControlPanelItem("access.cpl");
// add-remove programs
shell.ControlPanelItem("appwiz.cpl");
// bluetooth configuration
shell.ControlPanelItem("btcpl.cpl");
// desktop settings
shell.ControlPanelItem("desk.cpl");
// directX properties
shell.ControlPanelItem("directx.cpl");
// add hardware wizard
shell.ControlPanelItem("hdwwiz.cpl");
// internet properties
shell.ControlPanelItem("inetcpl.cpl");
// regional and language options
shell.ControlPanelItem("intl.cpl");
// Wireless link
shell.ControlPanelItem("irprops.cpl");
// Game controllers
shell.ControlPanelItem("joy.cpl");
// Mouse properties
shell.ControlPanelItem("main.cpl");
// Sounds and audio devices properties
shell.ControlPanelItem("mmsys.cpl");
// Network connections
shell.ControlPanelItem("ncpa.cpl");
// User accounts
shell.ControlPanelItem("nusrmgr.cpl");
// ODBC datasource administrator
shell.ControlPanelItem("odbccp32.cpl");
// Power options properties
shell.ControlPanelItem("powercfg.cpl");
// System properties
shell.ControlPanelItem("sysdm.cpl");
// Location information - telephone properties
shell.ControlPanelItem("telephon.cpl");
// Date and time properties
shell.ControlPanelItem("timedate.cpl");
// Automatic updates - WindowsUpdate settings
shell.ControlPanelItem("wuaucpl.cpl");
}
0 comments:
Post a Comment