/// <summary> /// Delete a disk /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void DeleteButton_Click(object sender, RoutedEventArgs e) { // Switching to Delete disk section Switcher.Switch(new Unmount()); }
/// <summary> /// Open a disk who already exist /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void OpenButton_Click(object sender, RoutedEventArgs e) { // Switching to choose_disk Switcher.Switch(new Choose_Disk()); }
/// <summary> /// Create disk button, jumping to createdisk page /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void CreateButton_Click(object sender, RoutedEventArgs e) { Switcher.Switch(new CreateDisk()); }
/// <summary> /// Switching back to main operation /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void BackButton_Click(object sender, RoutedEventArgs e) { Switcher.Switch(new Main_Operation(disk)); }