Ejemplo n.º 1
0
        /// <summary>
        /// Расширенный поиск документов
        /// </summary>
        private void btnSearchDocument_Click(object sender, RoutedEventArgs e)
        {
            DateTime?selectedDateFirst = datePickerFirst.SelectedDate;
            string   dateFrom          = Convert.ToDateTime(selectedDateFirst.Value.Date.ToShortDateString()).ToString("yyyy-MM-dd");

            DateTime?selectedDateLast = datePickerLast.SelectedDate;
            string   dateTo           = Convert.ToDateTime(selectedDateLast.Value.Date.ToShortDateString()).ToString("yyyy-MM-dd");

            dataGridListMB.ItemsSource = SoapRequest.DataListMBEx(partnerIln, documentType, documentVersion, dateFrom, dateTo, this.SelectedStatusDoc(cmbDocumentStatus.SelectedIndex));
        }