Example #1
0
 private void InitialData(string DirectoryName)
 {
     _Directory        = new Direcotr(DirectoryName, Path.GetDirectoryName(DirectoryName));
     pictureBox1.Image = _Directory.image;
     DirectoryName     = _Directory.Name;
     label1.Text       = _Directory.Name;
 }
Example #2
0
 private void InitialData()
 {
     _Directory        = new Direcotr();
     pictureBox1.Image = _Directory.image;
     DirectoryName     = _Directory.Name;
     label1.Text       = _Directory.Name;
 }
Example #3
0
        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
                });
            }
        }
Example #4
0
 private void Controls_OnDriveClick(Direcotr direcotr, object sender, EventArgs args)
 {
     this.flowLayoutPanel1.Controls.Clear();
 }