예제 #1
0
        private void picture_set_btn_Click(object sender, EventArgs e)
        {
            FolderDialog aa = new FolderDialog();

            aa.DisplayDialog();
            if (aa.Path != null)
            {
                folder data = new folder();
                folder da   = new folder();
                da.Read();
                data.Write(aa.Path + "\n" + da.data[1]);
            }
            folder s = new folder();

            s.Read();
            textBox1.Text = s.data[0];
            textBox2.Text = s.data[1];
        }
예제 #2
0
        private void video_set_btn_Click(object sender, EventArgs e)
        {
            FolderDialog aa = new FolderDialog();

            aa.DisplayDialog();
            if (aa.Path != null)
            {
                folder data = new folder();
                folder da   = new folder();
                da.Read();
                data.Write(da.data[0] + "\n" + aa.Path);
            }
            folder s = new folder();

            s.Read();
            string d = s.data[0];

            textBox1.Text = d;
            textBox2.Text = s.data[1];
        }