Example #1
0
 /// <include file='doc\BordersPage.uex' path='docs/doc[@for="BordersPage.InitPage"]/*' />
 /// <devdoc>
 ///   Initializes the page before it can be loaded with the component.
 /// </devdoc>
 private void InitPage()
 {
     cellPaddingEdit.Clear();
     cellSpacingEdit.Clear();
     gridLinesCombo.SelectedIndex = -1;
     borderColorCombo.Color       = null;
     borderWidthUnit.Value        = null;
 }
 /// <include file='doc\DataGridPagingPage.uex' path='docs/doc[@for="DataGridPagingPage.InitPage"]/*' />
 /// <devdoc>
 ///   Initializes the page before it can be loaded with the component.
 /// </devdoc>
 private void InitPage()
 {
     pageSizeEdit.Clear();
     visibleCheck.Checked    = false;
     posCombo.SelectedIndex  = -1;
     modeCombo.SelectedIndex = -1;
     nextPageTextEdit.Clear();
     prevPageTextEdit.Clear();
 }
Example #3
0
        private void InitZIndexUI()
        {
            Debug.Assert(IsInitMode() == true,
                         "initZIndexUI called when page is not in init mode");

            zIndexEdit.Clear();

            Debug.Assert(zIndexAttribute != null,
                         "Expected zIndexAttribute to be non-null");

            string value = zIndexAttribute.Value;

            if ((value != null) && (value.Length != 0) &&
                (!value.Equals(ZINDEX_AUTO_VALUE)))
            {
                zIndexEdit.Text = value;
            }
        }
Example #4
0
        /// <include file='doc\DataListGeneralPage.uex' path='docs/doc[@for="DataListGeneralPage.InitPage"]/*' />
        /// <devdoc>
        ///   Initializes the page before it can be loaded with the component.
        /// </devdoc>
        private void InitPage()
        {
            dataSourceCombo.SelectedIndex = -1;
            dataSourceCombo.Items.Clear();
            currentDataSource             = null;
            dataMemberCombo.SelectedIndex = -1;
            dataMemberCombo.Items.Clear();
            dataKeyFieldCombo.SelectedIndex = -1;
            dataKeyFieldCombo.Items.Clear();
            dataSourceDirty = false;

            showHeaderCheck.Checked = false;
            showFooterCheck.Checked = false;

            repeatColumnsEdit.Clear();
            repeatDirectionCombo.SelectedIndex = -1;
            repeatLayoutCombo.SelectedIndex    = -1;

            extractRowsCheck.Checked = false;
        }