コード例 #1
0
 private void CloseDB()
 {
     if (loader != null)
     {
         loader = null;
     }
 }
コード例 #2
0
        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();
        }
コード例 #3
0
 public LoadingForm(LogLoader loader, string fileName)
 {
     m_loader   = loader;
     m_fileName = fileName;
     InitializeComponent();
 }