This class is an implementation of the 'IComparer' interface.
Inheritance: IComparer
Ejemplo n.º 1
0
        private void fControls_Load(object sender, EventArgs e)
        {
            cWindow.locateFormAtLeft(this);

            // Create an instance of a ListView column sorter and assign it 
            // to the ListView control.
            lvwColumnSorter = new cListViewColumnSorter();
            lv_controls.ListViewItemSorter = lvwColumnSorter;
            lv_controls_ColumnClick(this, new ColumnClickEventArgs(0));
        }
Ejemplo n.º 2
0
        private void fMain_Load(object sender, EventArgs e)
        {
            cPrintAPI.getDefaultPrinter(
                out m_printerName, out m_driverName, out m_port, 
                out m_paperSize, out m_orientation, out m_paperSizeWidth, 
                out m_paperSizeHeight);
            
            //
            // remove me and implement a better window position code
            //
            this.Width = 1200;
            this.Height = 900;
            cWindow.centerForm(this);

            // Create an instance of a ListView column sorter and assign it 
            // to the ListView control.
            lvwColumnSorter = new cListViewColumnSorter();
            lv_controls.ListViewItemSorter = lvwColumnSorter;
            lv_controls_ColumnClick(this, new ColumnClickEventArgs(0));

            loadRecentListFromUserSettings();
        }