Example #1
0
        private void ItemData_Click(object sender, EventArgs e)
        {
            OpenFileDialog OFD = new OpenFileDialog();

            //
            OFD.InitialDirectory = Application.StartupPath;
            OFD.RestoreDirectory = true;
            OFD.Multiselect      = false;
            OFD.Filter           = "(*.txt)|*.txt";
            OFD.ShowHelp         = true;
            DialogResult result = OFD.ShowDialog();

            if (result == DialogResult.OK)
            {
                this.textBox9.Text = OFD.FileName;
                RT.getDataStrings();
            }
        }