private void SetSortedLisOfAllOrdersWHenClientIdIsNotSelected() { rp.Add("List of all orders:"); if (ClienIdOptioCB.Checked) { rp.Add(dataBase.GetDatabaseSortedByClientID()); } else if (RequestIdOptionCB.Checked) { rp.Add(dataBase.GetDatabaseSortedByRequestID()); } else if (NameOptionCB.Checked) { rp.Add(dataBase.GetDatabaseSortedByName()); } else if (QuantityOptionCB.Checked) { rp.Add(dataBase.GetDatabaseSortedByQuantity()); } else if (PriceOptionGB.Checked) { rp.Add(dataBase.GetDatabaseSortedByPrice()); } else { rp.Add(dataBase); } }