#develop (short for SharpDevelop) is a free IDE for .NET programming languages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

35 lines
1.8 KiB

<gui:AbstractInlineRefactorDialog x:Class="SharpRefactoring.Gui.OverrideEqualsGetHashCodeMethodsDialog"
Header="{sd:Localize AddIns.SharpRefactoring.OverrideEqualsGetHashCodeMethods}"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:gui="clr-namespace:SharpRefactoring.Gui"
xmlns:addin="clr-namespace:SharpRefactoring"
xmlns:sd="http://icsharpcode.net/sharpdevelop/core"
xmlns:widgets="http://icsharpcode.net/sharpdevelop/widgets"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<DockPanel Cursor="Arrow">
<widgets:UniformGridWithSpacing Columns="2" DockPanel.Dock="Bottom" Margin="3" HorizontalAlignment="Center">
<Button Content="{sd:Localize Global.OKButtonText}" Click="OKButtonClick" Style="{x:Static sd:GlobalStyles.ButtonStyle}" />
<Button Content="{sd:Localize Global.CancelButtonText}" Click="CancelButtonClick" Style="{x:Static sd:GlobalStyles.ButtonStyle}" />
</widgets:UniformGridWithSpacing>
<StackPanel Orientation="Vertical">
<!-- TODO : remove Visibilty="Collapsed" -->
<CheckBox
x:Name="addIEquatable"
Margin="3"
Visibility="Collapsed"
IsChecked="{sd:OptionBinding addin:Options.AddIEquatableInterface}" />
<CheckBox
x:Name="addOtherMethod"
Margin="3"
IsChecked="{sd:OptionBinding addin:Options.AddOtherMethod}" />
<CheckBox
Content="{sd:Localize AddIns.SharpRefactoring.OverrideEqualsGetHashCodeMethods.AddOperatorOverloads}"
Margin="3"
IsChecked="{sd:OptionBinding addin:Options.AddOperatorOverloads}" />
<CheckBox
Content="{sd:Localize AddIns.SharpRefactoring.OverrideEqualsGetHashCodeMethods.SurroundWithRegion}"
Margin="3"
IsChecked="{sd:OptionBinding addin:Options.SurroundWithRegion}" />
</StackPanel>
</DockPanel>
</gui:AbstractInlineRefactorDialog>