示例#1
0
        public Test()
        {
            InitializeComponent();

            listView1.SmallImageList = imageList1;
            listView1.LargeImageList = imageList1;



            _controller = new DirectoryController(@"D:\Cursova");

            OpenDirectory("");
        }
示例#2
0
        public DropBox()
        {
            InitializeComponent();

            listView1.SmallImageList = imageList1;
            listView1.LargeImageList = imageList1;

            listView1.DragOver += FileAttributeChanger_DragOver;
            listView1.DragDrop += FileAttributeChanger_DragDrop;

            _controller = new DirectoryController("");

            AuthenticationApplication authenticationApp = new AuthenticationApplication(this);

            authenticationApp.ShowDialog();

            Login();

            //string path = @"D:\Cursova\DropBox\" + client.login;

            //sync = new Thread(() => SyncFunction(path, service, client));
            //sync.IsBackground = true;
            //sync.Start();
        }