コード例 #1
0
        public void LoadTypesRepairs()
        {
            List <TypeRepair> typesRepairs = sql.getTypesAll();

            comboBox_TypeRepair.DataSource    = typesRepairs;
            comboBox_TypeRepair.DisplayMember = "nameType";
            comboBox_TypeRepair.ValueMember   = "nameType";
            // comboBox_TypeRepair.Text = "Не гарантийный";
            typesRepairs = null;
        }