private void movieFilterButton_Click(object sender, EventArgs e) { if (string.IsNullOrEmpty(movieFilterBox.Text)) { MessageBox.Show("The filter key cannot be blank", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } FormOperations.FilterEntry(movieFilePathList, movieFilterBox.Text); FormOperations.RefreshListViewCount(movieFilePathList, movieListView, movieFileCount); }