我正在尝试测试显示jquery-bracket中的括号,但其显示方式与示例显示不同。我在这里做错什么了吗?示例output
(layout.pug)
.label{
border: 1px solid transparent;
}
.input:checked + .label{
border-left: 1px solid green;
border-top: 1px solid green;
border-right: 1px solid green;
position: relative;
z-index: 2;
}
.panel{
position: relative;
bottom: 1px; // increase when your border size increase
z-index: 1;
}
(main.js)
if (DG2.Items[0].ToString() != null && DG2.SelectedItem[0] != null)
{
int RecID = Convert.ToInt32(DG2);
}
else
{
MessageBox.Show("There is no RecID number selected","Error");
return;
}
(tournament.pug)
private void selectedCellsButton_Click(object sender,System.EventArgs e)
{
Int32 selectedCellCount =
dataGridView1.getcellCount(DataGridViewElementStates.Selected);
if (selectedCellCount > 0)
{
for (int i = 0; i < selectedCellCount; i++)
{
(dataGridView1.SelectedCells[i].RowIndex.ToString());
(dataGridView1.SelectedCells[i].ColumnIndex.ToString());
}
}
}
}