Hello there,
I hope all are coping well in this 'lock-down'?
I'm getting to grips with C# and have created a very basic form in Visual Studio (which I will jazz up a bit):
Each of the buttons when clicked - will open up a specific web based environment.
An example of the code for the top left button is: (I have removed some values)
Is there anything I can add to this line of code so that the text on the button will show as red if the link is down, and green to show the link is up?
I'm still new to c# so your expertise is much appreciated.
I hope all are coping well in this 'lock-down'?
I'm getting to grips with C# and have created a very basic form in Visual Studio (which I will jazz up a bit):
Each of the buttons when clicked - will open up a specific web based environment.
An example of the code for the top left button is: (I have removed some values)
C#:
private void button1_Click(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("http://********/sites/dept/csm/catt/Pages/AccountChanges.aspx?isdlg=1&&FilterField1=Instance_x0020_ID&FilterValue1=******");
Is there anything I can add to this line of code so that the text on the button will show as red if the link is down, and green to show the link is up?
I'm still new to c# so your expertise is much appreciated.
Last edited by a moderator: