コード例 #1
0
        private void FillDataTable(string filename)
        {
            Cursor = Cursors.WaitCursor;
            Application.DoEvents();

            List <string> filterList       = new List <string>(new string[] { "SMSG_SPELL_START" });
            List <string> createObjectList = filter.FilterSniffFile(filename, false, filterList);

            spellTable = filter.GetDataTableForSpells(createObjectList);

            //dgv_grid.Rows.Clear();
            dgv_grid.Columns.Clear();

            dgv_grid.DataSource = spellTable;
            Cursor = Cursors.Default;
        }