Exemple #1
0
        internal static PredictionButtonManager CreateInstance(KeyboardControl parent, PredictionKey key)
        {
            var button  = new KeyboardButton();
            var manager = new PredictionButtonManager(parent, key, button);

            return(manager);
        }
Exemple #2
0
        void IKeyboardControl.Create(PredictionKeyRef keyRef, PredictionKey key)
        {
            var manager = PredictionButtonManager.CreateInstance(_parent, key);

            _parent.AddManager(this, keyRef, manager);
        }