Skip to content

Commit

Permalink
【一、新增功能】
Browse files Browse the repository at this point in the history
无

【二、优化修复】
修复全屏下输入框未在当前窗体问题
  • Loading branch information
SuperStudio committed Apr 11, 2023
1 parent c72e094 commit b66c48e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SuperCom 是**超级串口调试工具**,用于 Window 串口日志的采集

下载地址:[点此下载](https://github.com/SuperStudio/SuperCom/releases)

<img src="Image/Snipaste_2023-04-11_08-24-53.png" alt="Snipaste_2023-04-11_08-24-53" style="zoom:80%;" />
<img src="Image/Snipaste_2023-04-11_08-24-53-16811737714532.png" alt="Snipaste_2023-04-11_08-24-53" style="zoom:80%;" />

# 关于

Expand Down
8 changes: 4 additions & 4 deletions SuperCom/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2295,8 +2295,8 @@ private void Remark(object sender, RoutedEventArgs e)
SideComPort sideComPort = vieModel.SideComPorts.Where(arg => arg.Name.Equals(portName)).FirstOrDefault();
if (sideComPort != null && sideComPort.PortTabItem is PortTabItem portTabItem)
{
DialogInput dialogInput = new DialogInput(this, "请输入备注", portTabItem.Remark);
if (dialogInput.ShowDialog() == true)
DialogInput dialogInput = new DialogInput("请输入备注", portTabItem.Remark);
if (dialogInput.ShowDialog(this) == true)
{
string value = dialogInput.Text;
portTabItem.Remark = value;
Expand Down Expand Up @@ -2372,9 +2372,9 @@ private void BuadRate_SelectionChanged(object sender, SelectionChangedEventArgs
}
}
}
DialogInput dialogInput = new DialogInput(this, "请输入波特率");
DialogInput dialogInput = new DialogInput("请输入波特率");
bool success = false;
if ((bool)dialogInput.ShowDialog())
if ((bool)dialogInput.ShowDialog(this))
{
string value = dialogInput.Text;
if (!string.IsNullOrEmpty(value) && int.TryParse(value, out int baudrate) &&
Expand Down
4 changes: 2 additions & 2 deletions SuperCom/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3.0.0")]
[assembly: AssemblyFileVersion("3.3.0.0")]
[assembly: AssemblyVersion("3.4.0.0")]
[assembly: AssemblyFileVersion("3.4.0.0")]
Binary file modified SuperCom/References/SuperControls.Style.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions SuperCom/Windows/Window_Setting.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ private void SaveConfigValue()

private void AddNewBaudRate(object sender, MouseButtonEventArgs e)
{
DialogInput input = new DialogInput(this, "请输入波特率");
if ((bool)input.ShowDialog())
DialogInput input = new DialogInput("请输入波特率");
if ((bool)input.ShowDialog(this))
{
string text = input.Text;
bool success = int.TryParse(text, out int baudRate);
Expand Down
Binary file added user_data.sqlite
Binary file not shown.

0 comments on commit b66c48e

Please sign in to comment.