private void iOCToolStripMenuItem_Click(object sender, EventArgs e) { string dir = Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory); ServiceLocatorBuild build = new ServiceLocatorBuild(); build.BuildServiceLocator(dir); MessageBox.Show("已经生成到桌面的LCL文件夹下!!!", "提示"); }