mirror of
https://github.com/muskit/MercuryConverter.git
synced 2026-06-02 20:24:26 -07:00
25 lines
662 B
C#
25 lines
662 B
C#
|
|
using System;
|
||
|
|
using System.Linq.Expressions;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
using Avalonia.Controls;
|
||
|
|
using Avalonia.Interactivity;
|
||
|
|
using Avalonia.Threading;
|
||
|
|
using UAssetAPI.PropertyTypes.Structs;
|
||
|
|
using UAssetAPI.UnrealTypes.EngineEnums;
|
||
|
|
|
||
|
|
namespace MercuryConverter.UI.Views;
|
||
|
|
|
||
|
|
public partial class Export : Panel
|
||
|
|
{
|
||
|
|
public Export()
|
||
|
|
{
|
||
|
|
InitializeComponent();
|
||
|
|
ShouldAudioConvertRadio.IsCheckedChanged += AudioConvertCheckChanged;
|
||
|
|
}
|
||
|
|
|
||
|
|
private void AudioConvertCheckChanged(object? sender, RoutedEventArgs args)
|
||
|
|
{
|
||
|
|
RadioButton btn = (RadioButton)args.Source!;
|
||
|
|
AudioConvertFormat.IsEnabled = (bool)btn.IsChecked!;
|
||
|
|
}
|
||
|
|
}
|