//open file/url/...
public void openFileDirectly(string fullFilename)
{
System.Diagnostics.Process.Start(fullFilename);
}
例 10.5. openFileDirectly 的使用范例
private void btnOpenOutputFolder_Click(object sender, EventArgs e)
{
if (Directory.Exists(txbOutputFolder.Text))
{
crl.openFileDirectly(txbOutputFolder.Text);
}
}