コード例 #1
0
        public MainForm()
        {
            InitializeComponent();

            m_formRowsPerPage            = new SetRowsPerPageForm();
            m_formRowsPerPage.ParentForm = this;

            m_formPageNumber            = new SetPageNumberForm();
            m_formPageNumber.ParentForm = this;

            m_formAbout = new AboutForm();

            m_webClient = new WebClient();

            m_pageLabelHovered = false;
            m_sortColumnIndex  = -1;
            m_sortReversed     = false;

            m_loadedTable             = null;
            m_lastLoadedTableFilePath = "";
            m_currentPageNumber       = 0;
            m_pageCount   = 0;
            m_rowsPerPage = 50;

            MenuStrip_Tools_UseExternalDescriptors.Checked         = Settings.UseExternalDescriptors;
            MenuStrip_Tools_UseExternalDescriptors.CheckedChanged +=
                new EventHandler(MenuStrip_Tools_UseExternalDescriptors_CheckedChanged);
        }
コード例 #2
0
ファイル: MainForm.cs プロジェクト: Jadd/DtblReader
        public MainForm()
        {
            InitializeComponent();

            m_formRowsPerPage = new SetRowsPerPageForm();
            m_formRowsPerPage.ParentForm = this;

            m_formPageNumber = new SetPageNumberForm();
            m_formPageNumber.ParentForm = this;

            m_formAbout = new AboutForm();

            m_webClient = new WebClient();

            m_pageLabelHovered = false;
            m_sortColumnIndex = -1;
            m_sortReversed = false;

            m_loadedTable = null;
            m_lastLoadedTableFilePath = "";
            m_currentPageNumber = 0;
            m_pageCount = 0;
            m_rowsPerPage = 50;

            MenuStrip_Tools_UseExternalDescriptors.Checked = Settings.UseExternalDescriptors;
            MenuStrip_Tools_UseExternalDescriptors.CheckedChanged +=
                new EventHandler(MenuStrip_Tools_UseExternalDescriptors_CheckedChanged);
        }