功能更新
This commit is contained in:
@@ -27,8 +27,8 @@ namespace ShrlAlgoStudio
|
||||
_systemFontDict = fontDict;
|
||||
}
|
||||
|
||||
public string OriginalFont { get; init; }
|
||||
public string OriginalStyle { get; init; }
|
||||
public string OriginalFont { get; set; }
|
||||
public string OriginalStyle { get; set; }
|
||||
private string newFont;
|
||||
|
||||
public string NewFont
|
||||
@@ -99,7 +99,7 @@ namespace ShrlAlgoStudio
|
||||
protected void OnPropertyChanged(string name) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name));
|
||||
}
|
||||
|
||||
public partial class MainWindow
|
||||
public partial class DrfxFontFixer
|
||||
{
|
||||
public ObservableCollection<FullMapping> FullMappings { get; set; } = new ObservableCollection<FullMapping>();
|
||||
public List<string> SystemFonts { get; set; } = new List<string>();
|
||||
@@ -107,7 +107,7 @@ namespace ShrlAlgoStudio
|
||||
private bool isProcessingComplete = false;
|
||||
private string lastOutputDirectory = "";
|
||||
|
||||
public MainWindow()
|
||||
public DrfxFontFixer()
|
||||
{
|
||||
InitializeComponent();
|
||||
this.DataContext = this;
|
||||
@@ -582,13 +582,13 @@ namespace ShrlAlgoStudio
|
||||
|
||||
private void BrowserOutputPathButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var dlg = new OpenFolderDialog()
|
||||
var dlg = new VistaFolderBrowserDialog()
|
||||
{
|
||||
Title = "选择输出目录",
|
||||
Multiselect=false
|
||||
};
|
||||
if (dlg.ShowDialog()== true)
|
||||
{
|
||||
OutputPath.Text = dlg.FolderName;
|
||||
OutputPath.Text = dlg.SelectedPath;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user