更新
This commit is contained in:
@@ -21,6 +21,7 @@ public partial class BricksFinishesViewModel : ObservableValidator
|
||||
{
|
||||
public BricksFinishesViewModel()
|
||||
{
|
||||
//ErrorsChanged += BricksFinishesViewModel_ErrorsChanged;
|
||||
finishesHandler = new ActionEventHandler();
|
||||
PavementLength = 600;
|
||||
PavementWidth = 600;
|
||||
@@ -29,6 +30,14 @@ public partial class BricksFinishesViewModel : ObservableValidator
|
||||
PavementThickness = 2;
|
||||
PanelName = "铺砖";
|
||||
}
|
||||
//~BricksFinishesViewModel()
|
||||
//{
|
||||
// ErrorsChanged -= BricksFinishesViewModel_ErrorsChanged;
|
||||
//}
|
||||
//private void BricksFinishesViewModel_ErrorsChanged(object sender, System.ComponentModel.DataErrorsChangedEventArgs e)
|
||||
//{
|
||||
// MessageBox.Show(GetErrors().FirstOrDefault().ErrorMessage, "错误", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
//}
|
||||
|
||||
private readonly ActionEventHandler finishesHandler;
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
MinHeight="500"
|
||||
MinWidth="275"
|
||||
Title="房间饰面"
|
||||
Background="Black"
|
||||
Width="200"
|
||||
d:DataContext="{d:DesignInstance Type=rvCivil:FloorFinishesViewModel}"
|
||||
mc:Ignorable="d"
|
||||
@@ -14,11 +15,11 @@
|
||||
xmlns:ui="https://github.com/ShrlAlgo/WPFluent"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Window.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
<!--<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/ShrlAlgoToolkit.RevitAddins;component/WPFUI.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary>-->
|
||||
</Window.Resources>
|
||||
<ui:AutoGrid
|
||||
ChildMargin="5"
|
||||
|
||||
Reference in New Issue
Block a user