using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication3
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            OpenFileDialog dig = new OpenFileDialog();
            if (dig.ShowDialog() == DialogResult.OK)
                textBox1.Text = dig.FileName;           
        }
    }
}

 

相关文章:

  • 2022-12-23
  • 2021-12-23
  • 2022-02-27
  • 2022-12-23
  • 2023-03-15
  • 2022-12-23
  • 2022-02-06
  • 2021-11-24
猜你喜欢
  • 2022-01-10
  • 2022-12-23
  • 2021-05-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案