Example #1
0
        private void tsbViewer_Click(object sender, EventArgs e)
        {
            FormViewer formViewer = new FormViewer();

            ShellObject so = explorerBrowser.SelectedItems[0];

            if (so != null)
            {
                formViewer.Show();
                formViewer.SetText(so.ParsingName);
            }
        }
Example #2
0
        private void tsbViewer_Click(object sender, EventArgs e)
        {
            FormViewer formViewer = new FormViewer();

            ShellObject so = explorerBrowser.SelectedItems[0];

            if (so != null)
            {
                formViewer.Show();
                formViewer.SetText(so.ParsingName);
            }

            //foreach (ShellObject item in explorerBrowser.SelectedItems)
            //{
            //    if (item != null)
            //        itemsText.AppendLine("\tItem = " + item.GetDisplayName(DisplayNameType.Default));
            //}
        }