Exemple #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     pub = new Story();
     pub.createPublication(desc, img, user);
     user.PublishStory((Story)pub, usServ);
     this.clear();
     owner.userInterface();
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     desc = textBox1.Text;
     pub  = new Publication();
     pub.createPublication(desc, img, user);
     user.Publish((Publication)pub, usServ);
     this.clear();
     this.Hide();
     owner.userInterface();
 }