private void SendClick(object sender, EventArgs e) { Cursor.Current = Cursors.WaitCursor; var whatsAppConfig = new WhatsAppConfig { Nickname = nickname.Text, Phone = nickname.Text, Password = nickname.Text }; _send.SendWhatsAppMessage(whatsAppConfig); this.Close(); }