Example #1
0
        private void OpenFileDialog()
        {
            OpenFileDialog choofdlog = new OpenFileDialog();

            FilePath.Text         = String.Empty;
            choofdlog.Filter      = "All Files (*.*)|*.*";
            choofdlog.FilterIndex = 1;
            choofdlog.Multiselect = true;

            if (!choofdlog.ShowDialog() == DialogResult.HasValue)
            {
                FilePath.AppendText(choofdlog.FileName);
            }
        }