private void cmdUpload_Click(object sender, EventArgs e) { bool v, b; server.Service1 server = new server.Service1(); server.EditBlog(lblTitle.Text, txtDetail.Text, MyUtility.loginUserName, out v, out b); if (v == true & b == true) { MessageBox.Show("Blog edit successfully."); this.Hide(); } }