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);
        }
Exemple #2
0
        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);
        }