public ExpressionBuilder(IRegularExpressionBuilder builder) { InitializeComponent(); regularExpressionBuilder = builder; regularExpressionBuilder.OkClick += new RoutedEventHandler(RegularExpressionBuilder_OkClick); regularExpressionBuilder.CancelClick +=new RoutedEventHandler(RegularExpressionBuilder_CancelClick); this.grid.Children.Add((UIElement)regularExpressionBuilder); }
public ExpressionBuilder(IRegularExpressionBuilder builder) { InitializeComponent(); regularExpressionBuilder = builder; regularExpressionBuilder.OkClick += new RoutedEventHandler(RegularExpressionBuilder_OkClick); regularExpressionBuilder.CancelClick += new RoutedEventHandler(RegularExpressionBuilder_CancelClick); this.grid.Children.Add((UIElement)regularExpressionBuilder); }