public SavedAppInfo()
 {
     this.MobileServices = new List <MobileServiceInfo>();
     this.LastService    = new MobileServiceInfo {
         AppKey = "", AppUrl = ""
     };
     this.LastUploadUrl = "";
 }
Ejemplo n.º 2
0
        private void btnSelect_Click_1(object sender, RoutedEventArgs e)
        {
            int selectedIndex = this.lstApps.SelectedIndex;

            if (selectedIndex >= 0)
            {
                MobileServiceInfo info = (MobileServiceInfo)this.lstApps.SelectedItem;
                this.ApplicationUrl = info.AppUrl;
                this.ApplicationKey = info.AppKey;
                if (this.CloseRequested != null)
                {
                    this.CloseRequested(this, EventArgs.Empty);
                }
            }
            else
            {
                MessageBox.Show("Please select a service first", "Error");
            }
        }
 public SavedAppInfo()
 {
     this.MobileServices = new List<MobileServiceInfo>();
     this.LastService = new MobileServiceInfo { AppKey = "", AppUrl = "" };
     this.LastUploadUrl = "";
 }