<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.dotnetzone.gr:443/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>WinForms</title><link>https://www.dotnetzone.gr:443/cs/forums/12/ShowForum.aspx</link><description>Θέματα για rich client / windows εφαρμογές, σε οποιαδήποτε γλώσσα (VB.NET, C#, managed C++, κ.α.)</description><dc:language>el</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23266.aspx</link><pubDate>Tue, 09 Jan 2007 21:46:18 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23266</guid><dc:creator>Demelene</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23266.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23266</wfw:commentRss><description>&lt;P&gt;Ο κώδικάς μου από μια βιβλιοθήκη που έχω φτοιάξει.&lt;/P&gt;
&lt;P&gt;&lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt; &lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;using&lt;/span&gt; System;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;using&lt;/span&gt; System.Reflection;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;namespace&lt;/span&gt; GiveYourNamespace&lt;br /&gt;&lt;br /&gt;{&lt;br /&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;class&lt;/span&gt; Property&lt;br /&gt; {&lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; Property()&lt;br /&gt;  {&lt;br /&gt;  }&lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;protected&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;void&lt;/span&gt; SetValue(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; TargetObject,PropertyInfo Property,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; Value)&lt;br /&gt;  {&lt;br /&gt;   Property.SetValue(TargetObject,Value,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;protected&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; GetValue(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; TargetObject,PropertyInfo Property)&lt;br /&gt;  {&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; Property.GetValue(TargetObject,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;);&lt;br /&gt;  }&lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;void&lt;/span&gt; SetValue(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; TargetObject,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;string&lt;/span&gt; PropertyName,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; Value)&lt;br /&gt;  {&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;if&lt;/span&gt;(PropertyName==&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;""&lt;/span&gt;)&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt;;&lt;br /&gt;   PropertyInfo xInfo=GetProperty(TargetObject.GetType().GetProperties(),PropertyName);&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;if&lt;/span&gt;(xInfo==&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;)&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt;;&lt;br /&gt;   SetValue(TargetObject,xInfo,Value);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;public&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; GetValue(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;object&lt;/span&gt; TargetObject,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;string&lt;/span&gt; PropertyName)&lt;br /&gt;  {&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;if&lt;/span&gt;(PropertyName==&lt;span style="color: #666666;background-color: #e4e4e4;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;""&lt;/span&gt;)&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;;&lt;br /&gt;   PropertyInfo xInfo=GetProperty(TargetObject.GetType().GetProperties(),PropertyName);&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;if&lt;/span&gt;(xInfo==&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;)&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;;&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; GetValue(TargetObject,xInfo);&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;protected&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;static&lt;/span&gt; PropertyInfo GetProperty(PropertyInfo[] Properties,&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;string&lt;/span&gt; PropertyName)&lt;br /&gt;  {&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;for&lt;/span&gt;(&lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;int&lt;/span&gt; i=0;i&amp;lt;Properties.Length;i++)&lt;br /&gt;   {&lt;br /&gt;    &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;if&lt;/span&gt;(Properties&lt;img src="/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;.Name==PropertyName)&lt;br /&gt;     &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; Properties&lt;img src="/cs/emoticons/emotion-55.gif" alt="Idea" /&gt;;&lt;br /&gt;   }&lt;br /&gt;   &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;return&lt;/span&gt; &lt;span style="color: Blue;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;null&lt;/span&gt;;&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Η χρήση πχ GiveYourNamespace.Property.SetValue(oForm,"Visible",true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Στο λαμπτήρα είναι σε άγκιστρα το i του for-loop αλλά έχει bug η εμφάνιση.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23131.aspx</link><pubDate>Sun, 07 Jan 2007 04:30:50 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23131</guid><dc:creator>Dimitris Papadimitriou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23131.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23131</wfw:commentRss><description>Ο anjelinio έχει δίκιο. Με την InvokeMember μπορεί να κάνεις τη δουλειά, αλλά δεν είναι ο ενδεικνυόμενος τρόπος.&lt;br&gt;
&lt;br&gt;
Βάλε κάπου στο project σου το παρακάτω&lt;br&gt;
&lt;br&gt;
Public Interface IMyInterface&lt;br&gt;
&lt;br&gt;
   WriteOnly Property ContactID as String&lt;br&gt;
&lt;br&gt;
End Interface&lt;br&gt;
&lt;br&gt;
Στην φόρμα σου, αμέσως μετά το Public Form myForm, γράψε την επόμενη γραμή&lt;br&gt;
&lt;br&gt;
Implements IMyInterface&lt;br&gt;
&lt;br&gt;
Άλλαξε την γραμμή Public WriteOnly Property ContactID() As String&lt;br&gt;
&lt;br&gt;
με την γραμμή Public WriteOnly Property ContactID() As String Implements IMyInterface.ContactID&lt;br&gt;
&lt;br&gt;
πριν το frm.ShowDialog(Me) γράψε το εξής:&lt;br&gt;
&lt;br&gt;
Dim frm1 as IMyInterface = CType(frm, IMyInterface)&lt;br&gt;
&lt;br&gt;
frm1.ContactID = "1234"</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23130.aspx</link><pubDate>Sun, 07 Jan 2007 04:23:42 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23130</guid><dc:creator>Παναγιώτης Καναβός</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23130.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23130</wfw:commentRss><description>Χίλιες φορές καλύτερα να φτιάξεις ένα Interface. H VB.NET πάντως επιτρέπει να καλέσεις άγνωστες μεθόδους σε ένα αντικείμενο, αν πρώτα το κάνεις cast σε Object.&lt;br /&gt;
&lt;br /&gt;</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23129.aspx</link><pubDate>Sun, 07 Jan 2007 03:54:30 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23129</guid><dc:creator>Aris</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23129.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23129</wfw:commentRss><description>&lt;P&gt;Γιά την &lt;span style="color: Black;background-color: Transparent;font-family: Courier New;font-size: 11px;font-weight: normal;"&gt;InvokeMember&lt;/span&gt;, δες &lt;A href="http://msdn2.microsoft.com/en-us/library/66btctbe.aspx"&gt;http://msdn2.microsoft.com/en-us/library/66btctbe.aspx&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Πάντως, η καλύτερη μέθοδος είναι να ορίσεις (και να υλοποιήσεις στις φόρμες) ένα απλό interface, για το property.&lt;/P&gt;</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23112.aspx</link><pubDate>Sat, 06 Jan 2007 06:43:22 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23112</guid><dc:creator>anjelinio</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23112.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23112</wfw:commentRss><description>Νομίζω οτι το να υλοποιήσεις ένα κοινό interface απο τις φόρμες  σου είναι πιο "καθαρή" ιδέα Άρη. Εάν θεωρήσεις οτι οι φόρμες αυτές λειτουργούν πάνω κάτω σαν plugin modules, είναι πολύ σωστό να υλοποιούν και ένα κάποιο βασικό interface όλες.&lt;br&gt;
&lt;br&gt;
Το reflection θα πρέπει να το δείς ως λύση last resort. Παρόλα αυτά, αν θές δες &lt;a href="/cs/forums/5875/ShowPost.aspx"&gt;εδώ &lt;/a&gt;ένα παράδειγμα απο ένα παλιό post το οποίο κάνει ακριβώς αυτό που θες - set property value με reflection. &lt;br&gt;</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23103.aspx</link><pubDate>Sat, 06 Jan 2007 02:55:47 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23103</guid><dc:creator>mkoukou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23103.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23103</wfw:commentRss><description>Βασικά δεν έχω χρησιμοποιήσει την InvokeMember ξανά. Μήπως μπορείς να μου πεις πιο αναλυτικά πως γίνεται διότι δεν βρήκα τον τρόπο.&lt;br /&gt;
&lt;br /&gt;
Ευχαριστώ</description></item><item><title>Απ: Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23080.aspx</link><pubDate>Fri, 05 Jan 2007 23:33:56 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23080</guid><dc:creator>Aris</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23080.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23080</wfw:commentRss><description>Θα μπορούσες να χρησιμοποιήσεις ένα base class γιά τις φόρμες αυτές, που να ενσωματώνει το property ή (καλύτερα) ένα interface. Και αντίστοιχο type casting με την CType. Αυτό θα επέτρεπε απ' ευθείας χρήση του property.&lt;br /&gt;
&lt;br /&gt;
Επίσης, μπορείς να χρησιμοποιήσεις την InvokeMember πάνω στον τύπο που φτιάχνεις.</description></item><item><title>Κάλεσμα propertys μίας άγνωστης φόρμας</title><link>https://www.dotnetzone.gr:443/cs/forums/thread/23071.aspx</link><pubDate>Fri, 05 Jan 2007 21:38:20 GMT</pubDate><guid isPermaLink="false">2622095e-976c-431a-859e-16783ec7ecd7:23071</guid><dc:creator>mkoukou</dc:creator><slash:comments>0</slash:comments><comments>https://www.dotnetzone.gr:443/cs/forums/thread/23071.aspx</comments><wfw:commentRss>https://www.dotnetzone.gr:443/cs/forums/commentrss.aspx?SectionID=12&amp;PostID=23071</wfw:commentRss><description>&lt;P&gt;Γειά σας,&lt;/P&gt;
&lt;P&gt;Έχω 5 φόρμες οι οποίες όλες έχουν το συγκεκριμένο property&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;Public&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;WriteOnly&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;FONT size=2&gt; ContactID() &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/FONT&gt;&lt;FONT size=2&gt;(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;ByVal&lt;/FONT&gt;&lt;FONT size=2&gt; value &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;String&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;
&lt;P&gt;m_ContactID = value&lt;/P&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Set&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Property&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#000000&gt;Αυτές οι φόρμες καλούνται από μία parent μέσω του &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;Dim&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; frm &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; Form = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;CType&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;(Assembly.GetExecutingAssembly().CreateInstance(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;My&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt;.Application.Info.ProductName &amp;amp; &lt;/FONT&gt;&lt;FONT color=#a31515 size=2&gt;"."&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &amp;amp; EditFormName, &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;), Form) &lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color=#000000&gt;frm&lt;FONT size=2&gt;.ShowDialog(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;)&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;όπου το EditFormName περιέχει το όνομα μίας από τις 5 φόρμες.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt;Αυτό που θέλω να κάνω είναι να δίνω τιμή και στο ContactID της φόρμας. Υπάρχει κάποιος τρόπος για να γίνει αυτό;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=2&gt;Ευχαριστώ&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description></item></channel></rss>