POCKET PC,照片管理系统!提供了真正意义上的目录打开功能

源代码在线查看: mainclass.cs

软件大小: 182 K
上传用户: zjf646
关键词: POCKET PC 管理系统
下载地址: 免注册下载 普通下载 VIP

相关代码

				using System;
				using System.Diagnostics;
				using System.Threading;
				using Addot.Diagnostics;
				using Addot.Win32;
				using Addot.Windows.Forms;
				
				namespace Addot
				{
					/// 
					/// Summary description for Main.
					/// 
					public class MainClass
					{
						public MainClass()
						{
							//
							// TODO: Add constructor logic here
							//
						}
				
				        public static void Main()
				        {
				//            new Form1().ShowDialog();    
				//            ShellExecute.Execute(@"\Windows\default.htm");
				//            RegistryKey key = Registry.CurrentUser;
				//            RegistryKey key = Registry.CurrentUser.OpenSubKey(@"Comm\RasBook");
				//            RegistryKey key = Registry.ClassesRoot.OpenSubKey(@".gif");
				//            int toto = key.ValueCount;
				//            Console.WriteLine(toto);
				
				//            FolderBrowserDialog fbd = new FolderBrowserDialog();
				//            fbd.RootFolder = Environment.SpecialFolder.History;
				//            fbd.ShowDialog();
				
				            string val1 = Addot.Configuration.ConfigurationSettings.AppSettings.Get("cle1");
				            string val2 = Addot.Configuration.ConfigurationSettings.AppSettings.Get("cle2");
				
				            Addot.Configuration.ConfigurationSettings.AppSettings.Set("cle1", "toto1");
				            Addot.Configuration.ConfigurationSettings.AppSettings.Set("cle2", "toto2");
				
				            Addot.Configuration.ConfigurationSettings.Save();
				
				            Console.WriteLine("");
				        }
					}
				}
							

相关资源