public ActorsDirectorsForm(ActorDirectorGetter actorDirectorGetter, MovieGetter movieGetter) { Cursor = Cursors.WaitCursor; InitializeComponent(); _actorDirectorAdder = new ActorDirectorAdder(); _actorDirectorGetter = actorDirectorGetter; _movieGetter = movieGetter; RefreshData(); Cursor = Cursors.Default; }
public AddUpdateActorDirectorForm(ActorDirector actorDirector, ActorDirectorGetter actorDirectorGetter, ActorDirectorAdder actorDirectorAdder, MovieGetter movieGetter) { InitializeComponent(); _actorDirector = actorDirector; _actorDirectorGetter = actorDirectorGetter; _actorDirectorAdder = actorDirectorAdder; _actorDirectorUpdater = new ActorDirectorUpdater(); _movieGetter = movieGetter; actorDirectorBindingSource.DataSource = _actorDirector; if (_actorDirector.IsNew) { base.Text = "Add Actor / Director"; } else { base.Text = _actorDirector.Name; } }