private void CompareBtn_Click(object sender, EventArgs e) { var imagePointList = _thiningMass.BlackPxToList(_mapImage.Height, _mapImage.Width); Dictionary <int, int> compareResult = ImageOperation.CompareResult(_dictionary, imagePointList); ShowResult.AddResultToGrid(_fileName, compareResult, dataGridView2); }