123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- using PDF_Office.Model.CloudDrive;
- using PDF_Office.ViewModels.HomePanel.CloudDrive;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows;
- using System.Windows.Controls;
- using System.Windows.Data;
- using System.Windows.Documents;
- using System.Windows.Input;
- using System.Windows.Media;
- using System.Windows.Media.Imaging;
- using System.Windows.Navigation;
- using System.Windows.Shapes;
- namespace PDF_Office.Views.HomePanel.CloudDocs
- {
- /// <summary>
- /// CloudFilesContent.xaml 的交互逻辑
- /// </summary>
- public partial class CloudFilesContent : UserControl
- {
- private List<string> list = new List<string>();
- private GoogleDriveViewModel GoogleDrive = new GoogleDriveViewModel();
- private CloudType cloudType;
- public CloudFilesContent()
- {
- InitializeComponent();
- list.Add("Box");
- list.Add("DropBox");
- list.Add("GoogleDrive");
- list.Add("OneDrive");
- ListFolder.ItemsSource = list;
- // Listusers.ItemsSource = list;
- // combCloudDisk.ItemsSource = list;
- // ListvmFiles.ItemsSource = list;
- }
- public void SelectCloudTye(CloudType cloudType)
- {
- switch (cloudType)
- {
- case CloudType.GoogleDrive:
- cloudType = CloudType.GoogleDrive;
- break;
- }
- }
- private void Button_Click(object sender, RoutedEventArgs e)
- {
- SelectCloudTye(CloudType.GoogleDrive);
- }
- }
- }
|