ATML1671Translator.forms.ATMLTranslatorToolWindow.CreatePropertyInfoComboRow C# (CSharp) Method

CreatePropertyInfoComboRow() private method

private CreatePropertyInfoComboRow ( string name, string value ) : void
name string
value string
return void
        private void CreatePropertyInfoComboRow( string name, string value )
        {
            var r1 = new DataGridViewRow();
            var cell1 = new DataGridViewTextBoxCell();
            var cell2 = new DataGridViewComboBoxCell();
            cell1.Value = name;
            r1.Cells.Add( cell1 );
            r1.Cells.Add( cell2 );
            cell2.Items.Add( "CASS" );
            cell2.Items.Add( "ECASS" );
            cell2.Items.Add( "RTCASS" );
            cell2.Items.Add( "HYBRID" );
            cell2.ReadOnly = false;
            dgPropertyInfo.Rows.Add( r1 );
            cell2.Value = value;
        }
ATMLTranslatorToolWindow