Ejemplo n.º 1
0
    //public KScintilla ZControl => _c;

    public PanelRecipe()
    {
        //this.UiaSetName("Recipe panel"); //no UIA element for Panel. Use this in the future if this panel will be : UserControl.

        _c = new _KScintilla {
            Name = "Recipe_text",
            ZInitReadOnlyAlways = true,
            ZInitTagsStyle      = KScintilla.ZTagsStyle.User
        };
        _c.ZHandleCreated += _c_ZHandleCreated;

        this.Children.Add(_c);
    }
Ejemplo n.º 2
0
    public PanelFound()
    {
        //this.UiaSetName("Found panel"); //no UIA element for Panel. Use this in the future if this panel will be : UserControl.

        _c = new _KScintilla {
            Name = "Found_list",
            ZInitReadOnlyAlways = true,
            ZInitTagsStyle      = KScintilla.ZTagsStyle.AutoAlways,
            ZAcceptsEnter       = true
        };
        _c.ZHandleCreated += _c_ZHandleCreated;

        this.Children.Add(_c);
    }