///------------------------------------------------------------------------------------------------- /// <summary> Event handler. Called by btnFind for click events. </summary> /// /// <remarks> Jaege, 6/09/2018. </remarks> /// /// <param name="sender"> Source of the event. </param> /// <param name="e"> Event information. </param> ///------------------------------------------------------------------------------------------------- private void btnFind_Click(object sender, EventArgs e) { string userName = txtSearch.Text; SortAndSearchPopup search = new SortAndSearchPopup(userName); search.Show(); }
///------------------------------------------------------------------------------------------------- /// <summary> Event handler. Called by btnSort for click events. </summary> /// /// <remarks> Jaege, 6/09/2018. </remarks> /// /// <param name="sender"> Source of the event. </param> /// <param name="e"> Event information. </param> ///------------------------------------------------------------------------------------------------- private void btnSort_Click(object sender, EventArgs e) { SortAndSearchPopup sort = new SortAndSearchPopup(); sort.ShowDialog(); }