public Credits(MyWebReference.clinicaPatologiaWebServiceSoapClient myWebReference, String usuario)
 {
     this.myWebReference = myWebReference;
     this.usuario = usuario;
     InitializeComponent();
     scrollViewer1.Height = Application.Current.Host.Content.ActualHeight - 15;
 }
        public Contabilidad(MyWebReference.clinicaPatologiaWebServiceSoapClient myWebReference, String Usuario)
        {
            InitializeComponent();
            this.myWebReference = myWebReference;
            this.Usuario = Usuario;
            scrollViewer1.Height = Application.Current.Host.Content.ActualHeight - 15;

            for (int i = 2010; i < 2101; i++)
            {
                anoEgreso_combo.Items.Add(i);
                anoInsertarE_combo.Items.Add(i);
                medicoAno.Items.Add(i);
            }
            for (int i = 0; i < 13; i++)
            {
                mesEgreso_combo.Items.Add(i);
                mesInsertarE_combo.Items.Add(i);
                medicoMes.Items.Add(i);
            }
            medicoMes.SelectedIndex = 0;
            mesEgreso_combo.SelectedIndex = 0;
        }