2017-07-07 15:46:32 +02:00
|
|
|
|
/*
|
2019-01-09 11:25:21 +01:00
|
|
|
|
* Copyright (c) 2019 ETH Zürich, Educational Development and Technology (LET)
|
2017-07-07 15:46:32 +02:00
|
|
|
|
*
|
|
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
*/
|
|
|
|
|
|
2017-07-12 15:36:30 +02:00
|
|
|
|
using System;
|
2019-08-30 09:55:26 +02:00
|
|
|
|
using SafeExamBrowser.Core.Contracts;
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Browser
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2019-11-06 08:45:37 +01:00
|
|
|
|
public class BrowserIconResource : IconResource
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2019-01-17 16:15:10 +01:00
|
|
|
|
public BrowserIconResource(string uri = null)
|
|
|
|
|
{
|
2019-11-06 08:45:37 +01:00
|
|
|
|
Type = IconResourceType.Bitmap;
|
2019-01-17 16:15:10 +01:00
|
|
|
|
Uri = new Uri(uri ?? "pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/SafeExamBrowser.ico");
|
|
|
|
|
}
|
2017-07-07 15:46:32 +02:00
|
|
|
|
}
|
|
|
|
|
}
|