Exemplo n.º 1
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);
        }
Exemplo n.º 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);
        }