> On Jan 13, 2017, at 2:14 PM, Sascha Manns <[email protected]> wrote: > > Hi List, > > can it be that the defined Properties with public string aren't available > solution wide? That three Properties are set in PublicanCreator project but > checked into the Engine project. > >
Or you’ve misimplemented some inheritance and you are actually hiding your base
class properties, and assigning values to a subclass property that’s masking
the properties you are printing.
> Greetings Sascha
>
> On 13.01.2017 20:50, Sascha Manns wrote:
>> Hello list,
>>
>> i have a little question.
>>
>> I have defined 3 Properties:
>>
>> public string PublicationTitle { get; set; }
>> public string PlaceOfAction { get; set; }
>> public string DocType { get; set; }
>> And a handler:
>> protected void OnBtnGoClicked (object sender, EventArgs e)
>> {
>> PublicationTitle = entryTitle.Text;
>> PlaceOfAction = cbPointOfAction.ActiveText;
>> DocType = cbTypeOfPublication.ActiveText;
>> Publication.Create();
>> }
>> After pressing the button it should fill the Properties with the content of
>> the entrybox and comboboxes.
>>
>> The launching of Publication.Create() goes fine. Inside that method it runs
>> the method Engine.LoadXmlData() which reads in some content for other
>> Properties from App.config file. On the end of this method i check if the
>> Properties are filled. But it looks like there are empty:
>>
>> ----------Debug ---------
>> PublicationTitle:
>> PlaceOfAction:
>> Firstname:
>> Surnamae:
>> Language:
>> ----------Debug ---------
>>
>> The GUI part is placed there:
>> https://github.com/saigkill/PublicanCreators/blob/master/PublicanCreators/MainWindow.cs
>>
>> <https://github.com/saigkill/PublicanCreators/blob/master/PublicanCreators/MainWindow.cs>
>>
>> Maybe anyone knows what happend?
>> --
>> Sascha Manns
>> [email protected] <mailto:[email protected]>
>> GPG: 0x168428cdb1f20ab1
>> <http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
>> jabber: [email protected] <jabber:[email protected]>
>>
>> Maifeldstraße 10
>> 56727 Mayen
>> mobile: +49-1573-9242730
>> home: +49-2651-4014045
>> https://saigkill.github.io <https://saigkill.github.io/>
>> <Mail Attachment.png> <https://twitter.com/saigkill><Mail Attachment.gif>
>> <Mail Attachment.png> <https://www.facebook.com/sascha.manns><Mail
>> Attachment.gif> <Mail Attachment.png>
>> <https://de.linkedin.com/in/saigkill><Mail Attachment.gif> <Mail
>> Attachment.png> <skype:schurik0815?call><Mail Attachment.gif> <Mail
>> Attachment.png> <https://github.com/saigkill><Mail Attachment.gif> <Mail
>> Attachment.png> <https://www.xing.com/profile/Sascha_Manns4><Mail
>> Attachment.gif>
>>
>>
>>
>> _______________________________________________
>> Gtk-sharp-list maillist - [email protected]
>> <mailto:[email protected]>
>> http://lists.dot.net/mailman/listinfo/gtk-sharp-list
>> <http://lists.dot.net/mailman/listinfo/gtk-sharp-list>
>
> --
> <Saschasmall.jpg> <https://saigkill.github.io/>
> Sascha Manns
> [email protected] <mailto:[email protected]>
> GPG: 0x168428cdb1f20ab1
> <http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
> jabber: [email protected] <jabber:[email protected]>
>
> Maifeldstraße 10
> 56727 Mayen
> mobile: +49-1573-9242730
> home: +49-2651-4014045
> https://saigkill.github.io <https://saigkill.github.io/>
> <twitter.png> <https://twitter.com/saigkill><spacer.gif> <facebook.png>
> <https://www.facebook.com/sascha.manns><spacer.gif> <linkedin.png>
> <https://de.linkedin.com/in/saigkill><spacer.gif> <skype.png>
> <skype:schurik0815?call><spacer.gif> <github.png>
> <https://github.com/saigkill><spacer.gif> <xing.png>
> <https://www.xing.com/profile/Sascha_Manns4><spacer.gif>
>
> _______________________________________________
> Gtk-sharp-list maillist - [email protected]
> http://lists.dot.net/mailman/listinfo/gtk-sharp-list
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.dot.net/mailman/listinfo/gtk-sharp-list
