以前用VB使用资源文件方便的一塌糊涂 Select Case Index
Case 1 'win1 ,wind2, win3 是资源文件中的不同图片
G.DrawImage(My.Resources.wind1, X0, Y0)
Case 2
G.DrawImage(My.Resources.wind2, X0, Y0)
Case Else
G.DrawImage(My.Resources.wind3, X0, Y0)
End Select在C#中有没有这么方便的方法呢?
Case 1 'win1 ,wind2, win3 是资源文件中的不同图片
G.DrawImage(My.Resources.wind1, X0, Y0)
Case 2
G.DrawImage(My.Resources.wind2, X0, Y0)
Case Else
G.DrawImage(My.Resources.wind3, X0, Y0)
End Select在C#中有没有这么方便的方法呢?
Properties.Resources.XXX;
//获取设置
Properties.Settings.Default.XXX;