[Gtk-sharp-list] Properties empty after connection
Brandon Perry
bperry.volatile at gmail.com
Fri Jan 13 20:22:01 UTC 2017
> On Jan 13, 2017, at 2:14 PM, Sascha Manns <Sascha.Manns at mailbox.org> 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
>> Sascha.Manns at mailbox.org <mailto:Sascha.Manns at mailbox.org>
>> GPG: 0x168428cdb1f20ab1 <http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
>> jabber: Sascha.Manns at jabber.org <jabber:Sascha.Manns at jabber.org>
>>
>> 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 - Gtk-sharp-list at lists.dot.net <mailto:Gtk-sharp-list at lists.dot.net>
>> 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
> Sascha.Manns at mailbox.org <mailto:Sascha.Manns at mailbox.org>
> GPG: 0x168428cdb1f20ab1 <http://pgpkey.org/pks/lookup?op=vindex&search=0x168428cdb1f20ab1&fingerprint=on>
> jabber: Sascha.Manns at jabber.org <jabber:Sascha.Manns at jabber.org>
>
> 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 - Gtk-sharp-list at lists.dot.net
> http://lists.dot.net/mailman/listinfo/gtk-sharp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170113/39444060/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.dot.net/pipermail/gtk-sharp-list/attachments/20170113/39444060/attachment.sig>
More information about the Gtk-sharp-list
mailing list