public ServerBasedDialog(LanguagePair[] languagePairs, ITranslationProviderCredentialStore credentialStore) { this.model = new ServerBasedModel(languagePairs, credentialStore); this.form = new ServerBasedForm(); this.presenter = new ServerBasedPresenter(this.form, this.model); this.form.Presenter = this.presenter; this.languagePairs = languagePairs; this.credentialStore = credentialStore; this.Deserialize(); }
public ServerBasedPresenter(ServerBasedForm form, ServerBasedModel model) { this.form = form; this.model = model; }