Exemplo n.º 1
0
        private void btnDrives_Click(object sender, EventArgs e)
        {
            DiskDrivesForm drivesForm = new DiskDrivesForm(((FavoriteEditor)this.ParentForm), this.RedirectedDrives, this.RedirectDevices);

            drivesForm.ShowDialog(this);
            this.RedirectedDrives = drivesForm.RedirectedDrives;
            this.RedirectDevices  = drivesForm.RedirectDevices;
        }
Exemplo n.º 2
0
        private void btnDrives_Click(object sender, EventArgs e)
        {
            DiskDrivesForm drivesForm = new DiskDrivesForm(this.RedirectedDrivesList, this.RedirectDevices);

            drivesForm.ShowDialog(this);
            this.RedirectedDrivesList = drivesForm.RedirectedDrives;
            this.RedirectDevices      = drivesForm.RedirectDevices;
        }
Exemplo n.º 3
0
 private void BtnDrives_Click(object sender, EventArgs e)
 {
     using (var drivesForm = new DiskDrivesForm(this))
         drivesForm.ShowDialog(this);
 }
 private void BtnDrives_Click(object sender, EventArgs e)
 {
     using(var drivesForm = new DiskDrivesForm(this))
         drivesForm.ShowDialog(this);
 }