mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-10 05:34:13 +00:00
People can't use ancast without understanding it now
This commit is contained in:
parent
9dd616be68
commit
3ea2777952
2 changed files with 7 additions and 2 deletions
|
@ -54,7 +54,7 @@
|
|||
<RadioButton x:Name="RF_tn" Content="To NTSC" Click="RF_tp_Click" HorizontalAlignment="Left" VerticalAlignment="Top" GroupName="RF" Width="85" ToolTip="Change Game Region to NTSC" Margin="0,6,0,0"/>
|
||||
<RadioButton x:Name="RF_tj" Content="To JPN" Click="RF_tp_Click" HorizontalAlignment="Left" VerticalAlignment="Top" GroupName="RF" Width="82" ToolTip="Change Game Region to JPN" Margin="0,6,0,0"/>
|
||||
</StackPanel>
|
||||
<TextBox materialDesign:HintAssist.Hint="WIIU ANCAST KEY" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,460,395,5" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" Text="{Binding ancastKey}" x:Name="ancastKey" MaxLength="250" IsTabStop="False"/>
|
||||
<Button Content="Get From OTP" HorizontalAlignment="Left" Margin="257,473,0,0" VerticalAlignment="Top" Width="127" Click="ancast_OTP" Focusable="False" IsTabStop="False"/>
|
||||
<TextBox materialDesign:HintAssist.Hint="WIIU ANCAST KEY" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,460,395,5" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" Text="{Binding ancastKey}" x:Name="ancastKey" MaxLength="250" IsTabStop="False" IsEnabled="False"/>
|
||||
<Button Content="Get From OTP" HorizontalAlignment="Left" Margin="257,473,0,0" VerticalAlignment="Top" Width="127" Click="ancast_OTP" Focusable="False" IsTabStop="False" x:Name="ancast_Button" IsEnabled="False"/>
|
||||
</Grid>
|
||||
</Page>
|
||||
|
|
|
@ -117,6 +117,9 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
private void Set_Rom_Path(object sender, RoutedEventArgs e)
|
||||
{
|
||||
string path = mvm.GetFilePath(true, false);
|
||||
ancast_Button.IsEnabled = false;
|
||||
ancastKey.Text = "";
|
||||
ancastKey.IsEnabled = false;
|
||||
if (!CheckIfNull(path))
|
||||
|
||||
{
|
||||
|
@ -203,6 +206,8 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
|
|||
}
|
||||
else if (path.ToLower().Contains(".dol"))
|
||||
{
|
||||
ancastKey.IsEnabled = true;
|
||||
ancast_Button.IsEnabled = true;
|
||||
mvm.NKITFLAG = false;
|
||||
trimn.IsEnabled = false;
|
||||
trimn.IsChecked = false;
|
||||
|
|
Loading…
Reference in a new issue