private void PhoneApplicationPage_Loaded(object sender, RoutedEventArgs e)
		{
			board = NavigationContext.QueryString["Board"];
			PageTitle.Text = board;
			if (NavigationContext.QueryString.TryGetValue("Title", out title))
			{
				TitleTextBox.Text = title;
				TitleTextBox.IsReadOnly = true;
				pid = int.Parse(NavigationContext.QueryString["Pid"]);
				num = int.Parse(NavigationContext.QueryString["Num"]);
				Utils.ShowIndicator("载入中");
				FetchPostRequest req = new FetchPostRequest(conn, FetchGidCompleted);
				req.FetchPost(board, pid.Value, num.Value);
			}
		}
Exemple #2
0
		public void FetchPost(BaseHandler callback, string board, int pid, int num)
		{
			FetchPostRequest req = new FetchPostRequest(this, callback);
			req.FetchPost(board, pid, num);
		}