Beispiel #1
0
        public ExpressionPanel GetNewExpressionPanel(ConditionItem item)
        {
            ExpressionPanel panel = new ExpressionPanel();

            panel.Margin     = new Thickness(50, 0, 0, 10);
            panel.Background = new SolidColorBrush();
            panel.DisplayFromLoop(item);
            panel.Height = 30;
            initHandlers(panel);
            return(panel);
        }
        public ExpressionPanel GetNewExpressionPanel(ConditionItem item)
        {
            ExpressionPanel panel = new ExpressionPanel();

            panel.Margin     = new Thickness(50, 0, 0, 10);
            panel.Background = new SolidColorBrush();
            panel.IsReadOnly = this.IsReadOnly;
            panel.DisplayFromLoop(item);
            panel.Height = 30;
            panel.Arg1TextBox.IsEnabled = false;
            initHandlers(panel);
            return(panel);
        }