public CodeFiscaleForm() { InitializeComponent(); _viewState = new ViewState(labelCbox, registrationCbox, subregistrationCbox, fiscaleCodeTbox, cloneCBox, message); _viewState.SetupTrustRelationshipForSSL(); Text = string.Format("CodeFiscaleGenerator v{0}.{1}.{2}", _viewState.AssemblyVersion.Major, _viewState.AssemblyVersion.Minor, _viewState.AssemblyVersion.Build); _calculator = new CodeFiscaleCalculator(); _stubService = new PlatformStubService(new HttpRequestHandler(), new StubConfiguration()); }