예제 #1
0
        public WelcomeForm()
        {
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            FileInfo   fi = new FileInfo("samples/samples.xml");
            SampleList sl = SampleList.FromXml(fi.FullName);

            foreach (Sample s in sl.Samples)
            {
                ListViewItem lvi = new ListViewItem(new string[] { s.Name, s.Description });
                lvi.Tag = new Uri(new Uri(fi.FullName), s.File);
                listView1.Items.Add(lvi);
            }

            startW = wtc.Width;
            startH = wtc.Height;

//			NewFileWizard nfw=new NewFileWizard();
//			welcomeTabPage2.Controls.Add(nfw);
//			nfw.Dock=DockStyle.Fill;
        }