public Context(ILocalRegistry localRegistry, IRemoteRegistry remoteRegistry, ITranslation translation = null) : base() { LocalRegistry = localRegistry; RemoteRegistry = remoteRegistry; Translation = translation; }
public RemoteQueryDialog(Context ctx, Identifier id = default(Identifier), bool updowngrade = false) { this.Font = new Font(SystemFonts.CaptionFont.FontFamily, 12F, FontStyle.Regular, GraphicsUnit.Pixel); InitializeComponent(); this.ctx = ctx; this.i18n = ctx.Translation; this.localReg = ctx.LocalRegistry; this.remoteReg = ctx.RemoteRegistry; this.SelectedIdentifier = id; this.updowngrade = updowngrade; }