public ConsultarPerfil()
 {
     InitializeComponent();
     bind = new System.ServiceModel.BasicHttpBinding();
     endpoint = new System.ServiceModel.EndpointAddress(m_EndPoint);
     Wrapper = new ServiceReference.WSCosecolSoapClient(bind, endpoint);
 }
        public IngresarAfiliado()
        {
            InitializeComponent();
            bind = new System.ServiceModel.BasicHttpBinding();
            endpoint = new System.ServiceModel.EndpointAddress(m_EndPoint);
            Wrapper = new ServiceReference.WSCosecolSoapClient(bind, endpoint);

            fechaRegistro_txt.Content = fecha;
        }
        public Home()
        {
            InitializeComponent();

            bind = new System.ServiceModel.BasicHttpBinding();
            endpoint = new System.ServiceModel.EndpointAddress(m_EndPoint);
            Wrapper = new ServiceReference.WSCosecolSoapClient(bind, endpoint);

            for (int i = 0; i < flags.Length; i++)
            {
                flags[i] = false;
            }


            login.Closed += childWindow_Closed;
            if (!App.UserIsAuthenticated)
                login.Show();

        }