Ejemplo n.º 1
0
 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);
         }
     }
 }
Ejemplo n.º 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();
         }
     }
 }