public ReplayFinder(ReplayBrowserForm parser, string initialPath) { InitializeComponent(); if (Current.map == null) { heroesGridView.Enabled = false; heroesGridView.BackgroundColor = Color.Gainsboro; } this.parser = parser; pathTextBox.Text = initialPath; columnHeader1.Width = resultsLV.View == View.Details ? resultsLV.Width - 24 : -1; unitsCheckTimer.Start(); }
public ReplayFinder(ReplayBrowserForm parser, string initialPath) { InitializeComponent(); if (Current.map == null) { heroesGridView.Enabled = false; heroesGridView.BackgroundColor = Color.Gainsboro; } this.parser = parser; pathTextBox.Text = initialPath; columnHeader1.Width = resultsLV.View == View.Details ? resultsLV.Width - 24 : -1; unitsCheckTimer.Start(); }