Наследование: System.Windows.Forms.TextBox, IChilliTextBox
Пример #1
0
        //private ChilliTextBox AddTextBox()
        //{
        //    ChilliTextBox tb = new ChilliTextBoxWin();
        //    this.ChilliControls.Add(tb);
        //    return tb;
        //}

        public IChilliTextBox AddTextBox()
        {
            IChilliTextBox tb = new ChilliTextBoxWin();

            this.ChilliControls.Add(tb);
            return(tb);
        }
Пример #2
0
        //private ChilliTextBox AddTextBox()
        //{
        //    ChilliTextBox tb = new ChilliTextBoxWin();
        //    this.ChilliControls.Add(tb);
        //    return tb;
        //}

        public IChilliTextBox AddTextBox()
        {
            IChilliTextBox tb = new ChilliTextBoxWin();
            this.ChilliControls.Add(tb);
            return tb;
        }