An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
Consider the events too. In your another class you can define an event, then raise it after saving the changes to database:
class AnotherClass
{
// . . .
public event EventHandler Saved;
void SaveToDatabase( )
{
// . . .
Saved?.Invoke( this, null );
}
}
I your main form you can handle this event:
AnotherClass c = . . .
c.Saved += ( s, a ) => Refresh( );