mirror of
https://github.com/mashed-potatoes/PotatoNV.git
synced 2024-11-10 01:02:20 +01:00
Make OnFormSubmit not static
This commit is contained in:
parent
cb6292a977
commit
f572372ed2
3 changed files with 6 additions and 2 deletions
|
@ -25,7 +25,7 @@ namespace PotatoNV_next.Controls
|
|||
private Bootloader[] bootloaders;
|
||||
|
||||
public delegate void FormHandler(FormEventArgs formEventArgs);
|
||||
public static event FormHandler OnFormSubmit;
|
||||
public event FormHandler OnFormSubmit;
|
||||
|
||||
private bool IsSelectedDeviceInFastbootMode;
|
||||
|
||||
|
|
|
@ -8,5 +8,9 @@ namespace PotatoNV_next
|
|||
{
|
||||
class Core
|
||||
{
|
||||
public static void StartProcess(Controls.NVForm.FormEventArgs formEventArgs)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<UniformGrid Columns="2">
|
||||
<TabControl Margin="3">
|
||||
<TabItem Header="NVME Update">
|
||||
<controls:NVForm />
|
||||
<controls:NVForm x:Name="nvFrom" />
|
||||
</TabItem>
|
||||
<TabItem Header="About program">
|
||||
<controls:AboutTab />
|
||||
|
|
Loading…
Reference in a new issue