Beispiel #1
0
 private void EditBlog_Load(object sender, EventArgs e)
 {
     server.Service1 server = new server.Service1();
     server.Blog     b      = server.ReadBlog(MyUtility.curr_Blog_Title);
     lblTitle.Text  = b.title;
     lblType.Text   = b.genre;
     txtDetail.Text = b.text;
 }
Beispiel #2
0
 private void ViewBlog_Load(object sender, EventArgs e)
 {
     server.Service1 server = new server.Service1();
     server.Blog     B      = server.ReadBlog(MyUtility.curr_Blog_Title);
     lblTitle.Text             = B.title;
     lblGenre.Text             = B.genre;
     lblDetails.Text           = B.text;
     MyUtility.curr_Blog_Title = "";
 }