private void button1_Click(object sender, EventArgs e) { WTR form1 = new WTR(); form1.SelectFolder(); textBox3.Text = Settings1.Default.SavePath; }
//从外部将主窗体对象“注入”进来 public SettingForm(WTR main) { InitializeComponent(); mainForm = main; }
private void button1_Click(object sender, EventArgs e) { WTR form1 = new WTR(); form1.SelectFolder(); textBox3.Text = Settings1.Default.SavePath; }
//从外部将主窗体对象“注入”进来 public SettingForm(WTR main) { InitializeComponent(); mainForm = main; }