Пример #1
0
        public void LoadConfig(Action callback)
        {
            ConfigurationServiceV40Client serviceClient = new ConfigurationServiceV40Client();

            serviceClient.GetApplicationConfigCompleted += new EventHandler <GetApplicationConfigCompletedEventArgs>(serviceClient_GetApplicationConfigCompleted);
            serviceClient.GetApplicationConfigAsync(callback);
        }
Пример #2
0
 public SilverlightConfig()
 {
     InitializeComponent();
     this.m_serviceClient = new ConfigurationServiceV40Client(this);
     this.SelectedItem    = new ConfigModel();
     this.DataGridConfigList.SelectionChanged += new SelectionChangedEventHandler(DataGridConfigList_SelectionChanged);
 }
Пример #3
0
        public void GetECCentralServiceURL(Action callback)
        {
            ConfigurationServiceV40Client serviceClient = new ConfigurationServiceV40Client();

            serviceClient.GetECCentralConfigCompleted += new EventHandler <GetECCentralConfigCompletedEventArgs>(serviceClient_GetECCentralConfigCompleted);
            serviceClient.GetECCentralConfigAsync(callback);
        }