修改窗体图标
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();
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
xmlns:local="clr-namespace:JianGongYun.TRTC.Windows"
|
||||
mc:Ignorable="d"
|
||||
ResizeMode="NoResize"
|
||||
Title="设置" Height="380" Width="650">
|
||||
Title="设置" Height="380" Width="650" >
|
||||
<Metro:MetroWindow.Resources>
|
||||
|
||||
<DataTemplate x:Key="CusHeaderTitle1">
|
||||
|
|
|
@ -29,6 +29,7 @@ namespace JianGongYun.TRTC.Windows
|
|||
{
|
||||
_Instance = new SettingWindow();
|
||||
}
|
||||
_Instance.Icon= new BitmapImage(new Uri("logo.ico", UriKind.Relative));
|
||||
return _Instance;
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:JianGongYun.Views"
|
||||
mc:Ignorable="d"
|
||||
Title="Login" Height="450" Width="800">
|
||||
Title="Login" Height="450" Width="800" >
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
|
|
|
@ -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