G
Guest
Im new to PropertyGrid .
I dont know how to set the property of the object that is changed in the
property grid . All that my form has relative to propertygrid is :
propertygrid.SelectedObject=first; //object
private void propertygrid_PropertyValueChanged(object s,
System.Windows.Forms.PropertyValueChangedEventArgs e)
{
MessageBox.Show( propertygrid.SelectedGridItem.ToString());
/*My intension is first.
propertygrid.SelectedGridItem.ToString()=propertygrid.SelectedGridItem.ToString());*/
/*I know "first" is an object and this is not possible directly . */
}
If i can get a simple code to do this at this moment it would be very useful.
Thanks in advance .
I dont know how to set the property of the object that is changed in the
property grid . All that my form has relative to propertygrid is :
propertygrid.SelectedObject=first; //object
private void propertygrid_PropertyValueChanged(object s,
System.Windows.Forms.PropertyValueChangedEventArgs e)
{
MessageBox.Show( propertygrid.SelectedGridItem.ToString());
/*My intension is first.
propertygrid.SelectedGridItem.ToString()=propertygrid.SelectedGridItem.ToString());*/
/*I know "first" is an object and this is not possible directly . */
}
If i can get a simple code to do this at this moment it would be very useful.
Thanks in advance .