Beispiel #1
0
 private void BGridViewContorl_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e)
 {
     BGridXml.LoadOrder(this);
     if (this.RowHeadersVisible)
     {
         if (this.Rows.Count > 100)
         {
             this.RowHeadersWidth = 45;
         }
         else
         {
             this.RowHeadersWidth = 30;
         }
     }
 }
Beispiel #2
0
 private void BGridViewContorl_ColumnDisplayIndexChanged(object sender, DataGridViewColumnEventArgs e)
 {
     BGridXml.SaveOrder(this);
 }
Beispiel #3
0
 private void BGridViewContorl_ColumnAdded(object sender, DataGridViewColumnEventArgs e)
 {
     BGridXml.LoadOrder(this);
 }