-
-2 votesanswersviews
WPF没有入口点
我正在使用 SharpDevelop 并且通过我的错误将 App.xaml 移动到子目录 . 当我尝试启动/调试应用程序时,C#说,我的应用程序没有入口点或静态主方法(CS5001) . Edit < Undo 或默认主文件夹的movint将无法使用 . 怎么了? Edit 在项目设置中,不会侦听任何类/方法: App.xaml <Application x:Class="S... -
3 votesanswersviews
从resx文件中读取字符串sharpdevelop c#
我正在使用尖锐的开发在C#中编写一个类库 . 我包含一个resx(资源)文件,其中包含一些字符串值 . 我正在使用以下代码: ResourceManager rm = new ResourceManager("ResourceFileName",this.GetType().Assembly); string str=rm.GetString("Keyname&quo...