Пример #1
0
            /// <summary>
            /// Execute the RowHeightChanged event
            /// </summary>
            /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.ColumnInfoEventArgs"/> instance containing the event data.</param>
            public void InvokeColumnWidthChanged(ColumnInfoEventArgs e)
            {
                if (AutoCalculateLeft)
                {
                    CalculateLeft(e.Column.Index);
                }

                if (ColumnWidthChanged != null)
                {
                    ColumnWidthChanged(this, e);
                }
            }
Пример #2
0
 /// <summary>
 /// Handles the ColumnWidthChanged event of the columns control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Fr.Medit.MedDataGrid.ColumnInfoEventArgs"/> instance containing the event data.</param>
 private void columns_ColumnWidthChanged(object sender, ColumnInfoEventArgs e)
 {
     if (Redraw && !this.DrawColLine)
       {
     RefreshGridLayout();
       }
 }