예제 #1
0
        private void setReg_Click(object sender, System.EventArgs e)
        {
            RegistrySettings rs = new RegistrySettings();

            rs.SetCopyToDir(@"D:\temp");
            rs.SetWindowPosition(new Point(10, 12));
            rs.SetWindowSize(new Size(850, 675));

            ConfigFile cf = new ConfigFile(@"D:\Documents and Settings\Stan Dewan\My Documents\Programming\C#\Programs\Slideshow.NET\Test Files\TestConfig.ssc");

            cf.Load();

            rs.SetConfigSettings(cf);
        }