Esempio n. 1
0
        public MainPage()
        {
            // Required to initialize variables
            InitializeComponent();
            strbShowUnitGrid.Begin();

            //load vocabulary
            VocabularyServiceReference.VocabularyServiceClient serviceVoca = new UISample.VocabularyServiceReference.VocabularyServiceClient();
            serviceVoca.GetVocabularyCompleted += new EventHandler <UISample.VocabularyServiceReference.GetVocabularyCompletedEventArgs>(serviceVoca_GetVocabularyCompleted);
            serviceVoca.GetVocabularyAsync();
            //load unit control
            ucUnitList.AddUnit(12);
        }
Esempio n. 2
0
		public MainPage()
		{
			// Required to initialize variables
			InitializeComponent();
            strbShowUnitGrid.Begin();
            
            //load vocabulary
            VocabularyServiceReference.VocabularyServiceClient serviceVoca = new UISample.VocabularyServiceReference.VocabularyServiceClient();
            serviceVoca.GetVocabularyCompleted +=new EventHandler<UISample.VocabularyServiceReference.GetVocabularyCompletedEventArgs>(serviceVoca_GetVocabularyCompleted);
            serviceVoca.GetVocabularyAsync();
            //load unit control
            ucUnitList.AddUnit(12);            

		}