VB.NET 的一个函数在C#中对应是什么?
FileSystem.FileOpen(11, Application.StartupPath + @ "\Welcome.zxm ", OpenMode.Random, OpenAccess.Default, OpenShare.Default, -1);
FileSystem.FileGet(11, ref strAllow, (long)1, false);
FileSystem.FileClose(11);
FreezerStuff.WinWidth = 640;
FreezerStuff.WinHeight = 480;
FileOpen 和 FileGet 在C#中有对应的函数吗?
------解决方案--------------------public static void FileOpen (
int FileNumber,
string FileName,
OpenMode Mode,
[OptionalAttribute] OpenAccess Access,
[OptionalAttribute] OpenShare Share,
[OptionalAttribute] int RecordLength
)
public static void FileGet (
int FileNumber,
ref bool Value,
[OptionalAttribute] long RecordNumber
)