摘要:
string message = "you did not enter a server name. cancel this operation?"; string caption = "no server name specified"; MessageBoxButtons buttons = MessageBoxButtons.YesNo; DialogResult result; // di... 阅读全文
摘要:
OpenFileDialog ofd = new OpenFileDialog(); ofd.Title = "打开(Open)"; ofd.FileName = ""; ofd.InitialDirectory = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments);//为了获取特定的系统文件夹,可以使用 //Syst... 阅读全文