Esempio n. 1
0
        public override ColumnData this[int index]
        {
            get { return(_columns[index]); }
            set
            {
                _columns[index] = value;

                //  We also need to reset the property
                switch (index)
                {
                case 0:
                    s0_RowGuid = (ScopeRuntime.GuidColumnData)value;
                    break;

                case 1:
                    s0_RecognizedText = (ScopeRuntime.StringColumnData)value;
                    break;

                case 2:
                    s0_InkIsf = (ScopeRuntime.StringColumnData)value;
                    break;

                case 3:
                    s0_Weight = (ScopeRuntime.DoubleColumnData)value;
                    break;
                }
            }
        }
Esempio n. 2
0
        public override ColumnData this[int index]
        {
            get { return(_columns[index]); }
            set
            {
                _columns[index] = value;

                //  We also need to reset the property
                switch (index)
                {
                case 0:
                    s0_RowGuid = (ScopeRuntime.GuidColumnData)value;
                    break;

                case 1:
                    s0_InputLanguage = (ScopeRuntime.StringColumnData)value;
                    break;

                case 2:
                    s0_Branch = (ScopeRuntime.StringColumnData)value;
                    break;

                case 3:
                    s0_FinalText = (ScopeRuntime.StringColumnData)value;
                    break;

                case 4:
                    s0_InkIsf = (ScopeRuntime.StringColumnData)value;
                    break;
                }
            }
        }