Skip to content

Commit

Permalink
Added the possibility to open the website in a browser (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Peyronnet committed Mar 21, 2021
1 parent 2accab1 commit 11b19c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion InternetTest/InternetTest/Pages/DownDetectorPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ MIT License
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
using InternetTest.Classes;
using LeoCorpLibrary;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -106,7 +107,7 @@ private void CheckBtn_Click(object sender, RoutedEventArgs e)

private void OpenBrowserBtn_Click(object sender, RoutedEventArgs e)
{

Global.OpenLinkInBrowser(FormatURL(WebsiteTxt.Text)); // Open in a browser
}
}
}

0 comments on commit 11b19c7

Please sign in to comment.