示例#1
0
 private void button4_Click(object sender, EventArgs e)
 {
     FileOpenDialog dialog = new FileOpenDialog();
     if (dialog.trySelectFile(tbExecBin.Text)) {
         tbExecBin.Text = dialog.getFilename();
     }
 }
示例#2
0
 private void button1_Click(object sender, EventArgs e)
 {
     FileOpenDialog dialog = new FileOpenDialog();
     dialog.setFilter("apache configuration files (*.conf)|*.conf");
     if (dialog.trySelectFile(tbVhosts.Text)) {
         tbVhosts.Text = dialog.getFilename();
     }
 }
示例#3
0
        private void button4_Click(object sender, EventArgs e)
        {
            FileOpenDialog dialog = new FileOpenDialog();

            if (dialog.trySelectFile(tbExecBin.Text))
            {
                tbExecBin.Text = dialog.getFilename();
            }
        }
示例#4
0
        private void button1_Click(object sender, EventArgs e)
        {
            FileOpenDialog dialog = new FileOpenDialog();

            dialog.setFilter("apache configuration files (*.conf)|*.conf");
            if (dialog.trySelectFile(tbVhosts.Text))
            {
                tbVhosts.Text = dialog.getFilename();
            }
        }