Example #1
0
        static async public void Create(CreateUpdate sender)
        {
            long x = await api.Wall.PostAsync(new VkNet.Model.RequestParams.WallPostParams {
                Message = sender.richTextBox1.Text, OwnerId = -186834007
            });

            WallDisplay();
            sender.Dispose();
        }
Example #2
0
 static async public void Update(CreateUpdate sender)
 {
     try
     {
         bool x = await api.Wall.EditAsync(new VkNet.Model.RequestParams.WallEditParams {
             PostId = Int64.Parse(Mform.listView1.SelectedItems[0].Tag.ToString()), Message = sender.richTextBox1.Text, OwnerId = -186834007
         });
     }
     catch { }
     WallDisplay();
     sender.Dispose();
 }