コード例 #1
0
 private void FormSheetFieldGrid_Load(object sender, EventArgs e)
 {
     listGridTypes = SheetUtil.GetGridsAvailable(SheetDefCur.SheetType);
     if (listGridTypes.Count == 0)
     {
         DialogResult = DialogResult.Cancel;              //should never happen, but in case we launched the grid window without any valid grid types for this sheet type.
     }
     fillComboGridTypes();
 }