예제 #1
0
 /// <summary>
 /// Display the form for customize row's height
 /// </summary>
 /// <param name="row">The row.</param>
 public virtual void ShowRowHeightSettings(int row)
 {
     if (RowsCount > 0 && row >= 0 && row < RowsCount)
       {
     CellSizeDialog l_CellSizeDialog = new CellSizeDialog();
     l_CellSizeDialog.LoadSetting(this, -1, row, CellSizeDialog.CellSizeMode.Row);
     l_CellSizeDialog.ShowDialog();
       }
 }
예제 #2
0
 /// <summary>
 /// Display the form for customize column's width
 /// </summary>
 /// <param name="column">The column.</param>
 public virtual void ShowColumnWidthSettings(int column)
 {
     if (ColumnsCount > 0 && column >= 0 && column < ColumnsCount)
       {
     CellSizeDialog l_CellSizeDialog = new CellSizeDialog();
     l_CellSizeDialog.LoadSetting(this, column, -1, CellSizeDialog.CellSizeMode.Column);
     l_CellSizeDialog.ShowDialog();
       }
 }