private void InitialData(string DirectoryName) { _Directory = new Direcotr(DirectoryName, Path.GetDirectoryName(DirectoryName)); pictureBox1.Image = _Directory.image; DirectoryName = _Directory.Name; label1.Text = _Directory.Name; }
private void InitialData() { _Directory = new Direcotr(); pictureBox1.Image = _Directory.image; DirectoryName = _Directory.Name; label1.Text = _Directory.Name; }
private void Controls_OnDriveClick1(Direcotr direcotr, object sender) { this.flowLayoutPanel1.Controls.Clear(); List <Direcotr> direcotrs = direcotr.GetDirecotrs(); foreach (var item in direcotrs) { this.flowLayoutPanel1.Controls.Add(new FolderControl() { DirectoryName = item.FileName, FullPath = item.FullPath }); } }
private void Controls_OnDriveClick(Direcotr direcotr, object sender, EventArgs args) { this.flowLayoutPanel1.Controls.Clear(); }