private void CloseDB() { if (loader != null) { loader = null; } }
private void LoadKanataLogFile(string fileName) { loader = new LogLoader(); //loader.Load( fileName ); LoadingForm lodingForm = new LoadingForm(loader, fileName); lodingForm.ShowDialog(this); if (!loader.SuccessfullyLoaded) { throw new ApplicationException("ファイルの読み込みに失敗しました"); } loginfo = loader.LogInfo; ulong idFrom = loginfo.MinInsnId; coordinateSystem.SetInsnRange(idFrom, idFrom + (ulong)coordinateSystem.ViewInsnCount - 1); LoadInsns(); }
public LoadingForm(LogLoader loader, string fileName) { m_loader = loader; m_fileName = fileName; InitializeComponent(); }