Inheritance: System.Windows.Forms.TextBox, IChilliTextBox
Esempio n. 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);
        }
Esempio n. 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;
        }