Changeset 14 for Common/ComboBoxEx.cs


Ignore:
Timestamp:
Aug 2, 2022, 11:46:25 AM (2 years ago)
Author:
chronos
Message:
  • Modified: Various improvements.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Common/ComboBoxEx.cs

    r13 r14  
    1 using System;
    21using System.Collections.Generic;
    3 using System.ComponentModel;
    4 using System.Diagnostics;
    52using System.Linq;
    6 using System.Text;
    73using System.Windows.Forms;
    84using Microsoft.Win32;
    9 using Common;
    105
    116namespace Common
     
    2722            if (Text.Trim() != "")
    2823            {
     24                BeginUpdate();
    2925                string previousText = Text;
    3026                int index = Items.IndexOf(Text);
     
    3531                while (Items.Count > maxHistoryCount)
    3632                    Items.RemoveAt(Items.Count - 1);
     33                EndUpdate();
    3734            }
    3835        }
Note: See TracChangeset for help on using the changeset viewer.