コード例 #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();
 }