public void LoadConfig(Action callback) { ConfigurationServiceV40Client serviceClient = new ConfigurationServiceV40Client(); serviceClient.GetApplicationConfigCompleted += new EventHandler <GetApplicationConfigCompletedEventArgs>(serviceClient_GetApplicationConfigCompleted); serviceClient.GetApplicationConfigAsync(callback); }
public SilverlightConfig() { InitializeComponent(); this.m_serviceClient = new ConfigurationServiceV40Client(this); this.SelectedItem = new ConfigModel(); this.DataGridConfigList.SelectionChanged += new SelectionChangedEventHandler(DataGridConfigList_SelectionChanged); }
public void GetECCentralServiceURL(Action callback) { ConfigurationServiceV40Client serviceClient = new ConfigurationServiceV40Client(); serviceClient.GetECCentralConfigCompleted += new EventHandler <GetECCentralConfigCompletedEventArgs>(serviceClient_GetECCentralConfigCompleted); serviceClient.GetECCentralConfigAsync(callback); }