private void btnFinish_Click(object sender, RoutedEventArgs e)
 {
     if (tbxParentName.Text.Equals("")|| tbxEmail .Text.Equals("") || txbName.Text.Equals(""))
     {
         gridComplete.Visibility = Visibility.Visible;// 提醒要 输入完整之类的 。。。。。。
     }
     else
     {
         StoreSetting storeSetting = new StoreSetting();
         storeSetting.store(tbxParentName.Text,tbxEmail.Text,txbName.Text);
         if (this.Frame != null)
             this.Frame.Navigate(typeof(Main));
     }
 }
        public async void CreateMailList()
        {
            MailList.Items.Clear();
            MailList.Visibility = Visibility.Visible;
            List<string[]> storeList = new List<string[]>();
            string[] storeString = new string[3];

            try
            {
                StoreSetting storeSetting = new StoreSetting();
                Task<int> task = storeSetting.GetStoreListCount();
                int count = await task;
                if (count == 0)
                {
                    Message.ShowToast("通讯录为空,请设置!");
                    return;
                }

                storeList = storeSetting.getStoreList();
                for (int i = 0; i < count; i++)
                {
                    MyUserControl item = new MyUserControl(storeList[i][0], storeList[i][2]);
                    MailList.Items.Add(item);
                }
            }
            catch (Exception ex)
            {
                Message.ShowToast("通讯录为空,请设置!");
            }
        }