2017-07-07 15:46:32 +02:00
|
|
|
|
/*
|
2024-03-05 18:37:42 +01:00
|
|
|
|
* Copyright (c) 2024 ETH Zürich, IT Services
|
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;
|
2021-03-18 23:12:07 +01:00
|
|
|
|
using SafeExamBrowser.Core.Contracts.Resources.Icons;
|
2017-07-12 15:36:30 +02:00
|
|
|
|
|
|
|
|
|
namespace SafeExamBrowser.Browser
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2019-12-03 15:43:48 +01:00
|
|
|
|
public class BrowserIconResource : BitmapIconResource
|
2017-07-07 15:46:32 +02:00
|
|
|
|
{
|
2019-01-17 16:15:10 +01:00
|
|
|
|
public BrowserIconResource(string uri = null)
|
|
|
|
|
{
|
|
|
|
|
Uri = new Uri(uri ?? "pack://application:,,,/SafeExamBrowser.UserInterface.Desktop;component/Images/SafeExamBrowser.ico");
|
|
|
|
|
}
|
2017-07-07 15:46:32 +02:00
|
|
|
|
}
|
|
|
|
|
}
|