Obrigado amigo solucionei o problema com o seguinte post. Abraço! :::: http://www.tuotuoit.com/question-en/%E4%BB%8EWindows%E7%AA%97%E4%BD%93%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E7%9A%84%E6%8E%A7%E5%88%B6%E5%8F%B0%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F
Em 18 de novembro de 2011 11:36, TH Informática Soluções em TI < [email protected]> escreveu: > exception: "The > type initializer for 'org.smslib.Service' threw an exception." > > Across the Windows Form, I can not initialize the variable, there must be some > other means of delivering GetInstance () to variable srv Service. Probably > some peculiarity of the methodstatic void Main () > > Atravéz do Windows Form, eu não consigo inicializar a variavel, deve haver > algum outro meio de de entregar GetInstance() para variavel Service srv. > Provavelmente é alguma particularidade do metodo Static Void Main() > > Thanks. > > > > Em 18 de novembro de 2011 11:21, João Carlos Gaspar Carimo < > [email protected]> escreveu: > > Can uou specify the exception? >> >> Podes especeficar a Excepção? >> >> Embora apenas conheça Java e não C#, sei que ha muitas semelhanças... >> >> On 18 November 2011 12:46, Thiago Horta >> <[email protected]>wrote: >> >>> (English) >>> Hello everybody, >>> Could you give me a help? >>> I am developing a C # Windows Form application. NET, however >>> instantiating variable 'org.smslib.Service' she returns the error(The >>> type initializer for 'org.smslib.Service' threw an exception.). This >>> is only possible to pass through Console Application. Could help me, >>> how to do this in windows form? >>> >>> >>> Português(Brasil) >>> Ola pessoal, >>> Poderiam me dar um auxilio? >>> Estou desenvolvendo uma aplicação windows Form C#.net, porem ao >>> instanciar a variavel 'org.smslib.Service' ela me retorna o erro(The >>> type initializer for 'org.smslib.Service' threw an exception.). Esta >>> sendo possivel realizar passagem apenas via Console Application. >>> Poderiam me auxiliar, como fazer isso do windows form? >>> >>> Thanks... >>> >>> Thiago Horta >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "SMSLib Discussion Group" group. >>> To post to this group, send email to [email protected]. >>> To unsubscribe from this group, send email to >>> [email protected]. >>> For more options, visit this group at >>> http://groups.google.com/group/smslib?hl=en. >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "SMSLib Discussion Group" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/smslib?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "SMSLib Discussion Group" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/smslib?hl=en.
