Bèlguesmi Sémah Bèlguesmi Sémah - 3 months ago 58
C# Question

Show Google Calendar in C# Windows Form

I want to show my google calendar in my application's tabs. How can I do it?

private void tabPage6_Click(object sender, EventArgs e)
{
//I want to add the code in this tab
}

Answer

You need to use a WeBrowser control for this. Drag and drop a WebBrowser control from Tools, suppose name of the WebBrowser control is webBrowser1 the use below code to open calendar

private void tabPage6_Click(object sender, EventArgs e)
    {
        webBrowser1.Navigate("https://www.google.com/calendar/");
        webBrowser1.Show();`
    }