예제 #1
0
파일: Form1.cs 프로젝트: katadam/wockets
 public Form1(DirectoryInfo sourceDir)
 {
     InitializeComponent();
     progressForm = new ProgressForm();
     progressForm.Show();
     this.textBox1.Text = sourceDir.FullName.ToString();
     if (validateSourcePath())
     {
         this.button2.Enabled = false;
         this.button1.Enabled = true;
     }
     else
     {
         this.button2.Enabled = false;
         this.button1.Enabled = false;
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: katadam/wockets
 public Form1()
 {
     InitializeComponent();
     progressForm = new ProgressForm();
     progressForm.Show();
 }