private void MainForm_Load(object sender, EventArgs e) { m_list = new DriveListEx(); var count = m_list.Load(); m_dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader); m_dataGridView.DataSource = m_list; About.InitSysMenu(this); }
private void MainForm_Load(object sender, EventArgs e) { m_list = new DriveListEx(); var count = m_list.Load(); m_dataGridView.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader); m_dataGridView.DataSource = m_list; About.InitSysMenu(this); }
private void btnRefersh_Click(object sender, EventArgs e) { m_list.Load(); m_dataGridView.DataSource = m_list; }