﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Wed, 23 Sep 2026 06:01:17 GMT</lastBuildDate><ttl>20</ttl><item><title>Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker</title><link>http://forum.strataframe.net/FindPost29152.aspx</link><description>Hi all,&lt;br/&gt;&lt;br/&gt;I have create a new class and&amp;nbsp; Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker. I change some of my property of datetimepicker like below,&lt;br/&gt;&lt;br/&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Me.CustomFormat = "dd/MM/yyyy"&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.Format = System.Windows.Forms.DateTimePickerFormat.Custom&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.Size = New System.Drawing.Size(100, 20)&lt;br/&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Me.ResumeLayout(False)&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;when i build my project and use my custom datetimepicker class, Property still back to default.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Please advice</description><pubDate>Mon, 06 Dec 2010 03:21:26 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker</title><link>http://forum.strataframe.net/FindPost29173.aspx</link><description>You're welcome. :cool:</description><pubDate>Mon, 06 Dec 2010 03:21:26 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker</title><link>http://forum.strataframe.net/FindPost29172.aspx</link><description>Hi Ivan,&lt;br/&gt;&lt;br/&gt;Thanks again for your help. I use add a class instead of add a component and that's why cannot work.</description><pubDate>Mon, 06 Dec 2010 00:17:54 GMT</pubDate><dc:creator>Diu King,Tiong</dc:creator></item><item><title>RE: Inherits MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker</title><link>http://forum.strataframe.net/FindPost29156.aspx</link><description>Hi Tiong. Try this:&lt;ul&gt;&lt;li&gt;add a Component to your project&lt;/li&gt;&lt;li&gt;edit the YourComponent.Designer.vb&lt;/li&gt;&lt;li&gt;Change the Inherits from System.ComponentModel.Component to MicroFour.StrataFrame.UI.Windows.Forms.DateTimePicker&lt;/li&gt;&lt;li&gt;Save it all&lt;/li&gt;&lt;li&gt;Open YourComponent.vb into its designer and change its properties&lt;/li&gt;&lt;li&gt;Rebuild your solution&lt;/li&gt;&lt;li&gt;Add your component into your form&lt;/li&gt;&lt;/ul&gt;</description><pubDate>Fri, 03 Dec 2010 04:50:58 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item></channel></rss>