예제 #1
0
 private void MaterialGridView_FocusedRowChanged(object sender, FocusedRowChangedEventArgs e)
 {
     materialControl.DataSource = (CMaterial)MaterialGridView.GetRow(e.FocusedRowHandle);
 }
예제 #2
0
 private void DeleteButton_Click(object sender, EventArgs e)
 {
     MaterialGridView.DeleteSelectedRows();
     materialControl.DataSource = (CMaterial)MaterialGridView.GetRow(MaterialGridView.FocusedRowHandle);
 }