Exemple #1
0
        private void button8_Click(object sender, EventArgs e)
        {
            SharedFolderForm.isCreate = true;
            SharedFolderForm sharedFolder = new SharedFolderForm(this);

            sharedFolder.ShowDialog();
        }
Exemple #2
0
        private void publicFlrOptions_Click(object sender, EventArgs e)
        {
            SharedFolderForm sharedFolder = new SharedFolderForm(this);

            ListView.SelectedListViewItemCollection selectedItem = listView2.SelectedItems;
            foreach (ListViewItem item in selectedItem)
            {
                cloudinfo cloud = SearchFile.cloud;

                cloudinfoContainer[] itemsField = cloud.Items;
                if (!(itemsField == null || itemsField.Length == 0))
                {
                    foreach (cloudinfoContainer container in itemsField)
                    {
                        if ((container.name.Equals(item.Text)) && (container.user != null && container.user.Length != 0))
                        {
                            SharedFolderForm.isCreate = false;
                            sharedFolder.display(container);
                        }
                    }
                }
            }
        }