Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using AxSKYPE4COMLib;
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace Skype_Tool_Vortex
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- axSkype1.Attach();
- label2.Text = "Connected!";
- label3.Text = ("Welcome: " + axSkype1.CurrentUserProfile.FullName);
- MessageBox.Show("Thx For Using TDK's Test Skype Tool");
- }
- private void button2_Click(object sender, EventArgs e)
- {
- axSkype1.Client.Start();
- }
- private void button3_Click(object sender, EventArgs e)
- {
- axSkype1.Client.Minimize();
- }
- private void button4_Click(object sender, EventArgs e)
- {
- axSkype1.Client.Shutdown();
- }
- private void button5_Click(object sender, EventArgs e)
- {
- timer1.Start();
- }
- private void button6_Click(object sender, EventArgs e)
- {
- timer1.Stop();
- }
- private void timer1_Tick(object sender, EventArgs e)
- {
- axSkype1.Client.OpenMessageDialog(textBox1.Text, textBox2.Text);
- axSkype1.Client.Focus();
- SendKeys.Send("{enter}");
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement