private static void AddFileToList(AssemblyData oAssemblyData, int FileNumber, VB6File oFile) { if (oFile == null) { throw ExceptionUtils.VbMakeException(0x33); } oFile.OpenFile(); oAssemblyData.SetChannelObj(FileNumber, oFile); }
internal void SetChannelObj(int lChannel, VB6File oFile) { if (this.m_Files == null) { this.m_Files = new ArrayList(0x100); } if (oFile == null) { VB6File file = (VB6File) this.m_Files[lChannel]; if (file != null) { file.CloseFile(); } this.m_Files[lChannel] = null; } else { object obj2 = oFile; this.m_Files[lChannel] = obj2; } }
public GetHandler(VB6File oFile) { this.m_oFile = oFile; }
private static void CheckInputCapable(VB6File oFile) { if (!oFile.CanInput()) { throw ExceptionUtils.VbMakeException(0x36); } }