Beispiel #1
0
        private void pictureBox2_Click(object sender, EventArgs e)
        {
            MailReader mr = new MailReader();

            mr.Show();
            mr.TopMost = true;
        }
Beispiel #2
0
        private void MailReader_Load(object sender, EventArgs e)
        {
            MailReader mailreader = new MailReader();

            mailreader.TopMost = true;
            labelnet.Text      = NetworkInterface.GetIsNetworkAvailable().ToString();
            if (labelnet.Text != "True")
            {
                labelnet.Text = "Not Connected";
                Marvel.Speak("Please check your internet connection, and try again");
                Marvel.SpeakAsyncCancelAll();
                speechRecognitionEngine.Dispose();
                this.Close();
            }
            else
            {
                Marvel.Speak("Please wait");
                Marvel.Speak("if you are not log in please, log in to your gmail account");
                labelnet.Text = "Connected";
            }
        }