1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-10-02 21:54:31 +00:00

Make the "continue" button actually do something

This commit is contained in:
Andy McFadden 2019-08-02 16:00:58 -07:00
parent ea92edd9d1
commit d41266442d
2 changed files with 5 additions and 1 deletions

View File

@ -34,7 +34,7 @@ limitations under the License.
</TextBlock>
<StackPanel DockPanel.Dock="Bottom" Margin="0,8,0,0"
Orientation="Horizontal" HorizontalAlignment="Right">
<Button Name="okButton" Width="70" Content="Continue" IsDefault="True"/>
<Button Name="okButton" Width="70" Content="Continue" IsDefault="True" Click="OkButton_Click"/>
<Button Name="cancelButton" Margin="8,0,0,0" Width="70" Content="Cancel" IsCancel="True"/>
</StackPanel>
</DockPanel>

View File

@ -62,5 +62,9 @@ namespace SourceGen.WpfGui {
invalidDiscardLabel.Visibility = Visibility.Hidden;
}
}
private void OkButton_Click(object sender, RoutedEventArgs e) {
DialogResult = true;
}
}
}