Пример #1
0
        // End Add
        public InfoNavigator()
        {
            this.SureInsert = false;
            this.SureDelete = true;
            this.QuerySQLSend = true;
            this.InternalQuery = true;
            this._ViewScrollProtect = false;

            m_states = new StateCollection(this, typeof(StateItem));
            //m_sureDeleteText = "Are you sure to delete current record?";
            //m_sureInsertText = "Are you sure to insert record?";

            this.LayoutCompleted += new EventHandler(InfoNavigator_LayoutCompleted);
            _QueryFields = new QueryFieldCollection(this, typeof(QueryField));
            _QueryMode = QueryModeType.ClientQuery;
            _QueryFont = new Font("SimSun", 9.0f);
        }
Пример #2
0
 public WebNavigator()
 {
     _NavControls = new ControlsCollection(this, typeof(ControlItem));
     _QueryFields = new WebQueryFiledsCollection(this, typeof(WebQueryField));
     _navStates = new WebNavigatorStateCollection(this, typeof(WebNavigatorStateItem));
     _AddDefaultControls = true;
     _ControlType = CtrlType.Image;
     _QueryMode = QueryModeType.Normal;
     _GetServerText = true;
     _QueryKeepCondition = false;
     //this.Command += new CommandEventHandler(WebNavigator_Command);
 }