private void cmdOverrideSort_Click(object sender, EventArgs e)
 {
     using (frmSortDialog lSortDialog = new frmSortDialog(mOverrideSort ?? mClient.DefaultSort))
     {
         if (lSortDialog.ShowDialog(this) == DialogResult.OK)
         {
             ZOverrideSortSet(lSortDialog.Sort);
         }
     }
 }
Exemple #2
0
 private void cmdSort_Click(object sender, EventArgs e)
 {
     using (frmSortDialog lSortDialog = new frmSortDialog(mClient.DefaultSort))
     {
         if (lSortDialog.ShowDialog(this) == DialogResult.OK)
         {
             mClient.DefaultSort = lSortDialog.Sort;
             ZSortDescriptionSet();
         }
     }
 }