private void button1_Click(object sender, EventArgs e) { VKAPI vk = new VKAPI(Program.accessToken); vk.SetOffline(); }