예제 #1
0
        private void InitializeFormatColumn()
        {
            this.JPGG                  = new DataGridViewComboBoxColumn();
            this.JPGG.HeaderText       = "卷票规格";
            this.JPGG.Name             = "JPGG";
            this.JPGG.DataPropertyName = "JPGG";
            this.JPGG.FillWeight       = 26f;
            string    key         = string.Empty;
            string    str2        = string.Empty;
            DataTable formatTable = ShareMethods.GetFormatTable(out key, out str2);

            this.JPGG.DisplayMember = key;
            this.JPGG.ValueMember   = str2;
            this.JPGG.DataSource    = formatTable;
            this.JPGG.ReadOnly      = false;
        }