修改窗体图标
This commit is contained in:
parent
7741bdb1c0
commit
8423cfdfe6
|
@ -32,6 +32,7 @@ namespace JianGongYun.TRTC.Windows
|
|||
public LiveWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Icon = new BitmapImage(new Uri("logo.ico", UriKind.RelativeOrAbsolute));
|
||||
NoticeManager.Initialize();
|
||||
//AttachConsole(-1);//把进程挂在控制台,通过命令行启动程序可以看到控制台输出
|
||||
LiveWindowViewModel = new ViewModels.LiveWindowViewModel();
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace JianGongYun.TRTC.Windows
|
|||
{
|
||||
_Instance = new SettingWindow();
|
||||
}
|
||||
_Instance.Icon= new BitmapImage(new Uri("logo.ico", UriKind.Relative));
|
||||
return _Instance;
|
||||
}
|
||||
|
||||
|
|
|
@ -30,6 +30,7 @@ namespace JianGongYun.Views
|
|||
public Login()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.Icon = new BitmapImage(new Uri("logo.ico", UriKind.Relative));
|
||||
string errMsg = "", classHead = default, classSubHead = default, teacherId = default, teacherName = default;
|
||||
var urltemps = Environment.GetCommandLineArgs();
|
||||
if (urltemps.Length < 2)
|
||||
|
|
Loading…
Reference in New Issue