Downloads Support Products Purchase Consulting DBI
     
  http://www.dbi-tech.com/developerbulletins/January2011.html  
     
  News Bulletin  -  January 2011  
  In This Issue  
     
  Special Upgrade Promotion  
  Solutions Schedule for .NET (4.0) is shipping  
  Tech Tip - Quick Component UI Styling with your own custom class  
  Subscription renewal details  
  Relevance from the swirling information around us  
  Quick Links  
     
     
     
  Special Upgrade Promotion  
     
  Upgrade from any component or component product. Make the transition from older DBI component products or from Microsoft common controls or any component based product in between and save 20% on your new DBI product purchase today!  
     
  Take Advantage Today and Save up to $995  
     
  Valid for all DBI product owners (v1.0 and later) and all other third party product owners too.  
     
  https://www.dbi-tech.com/NewYearUpgradeSpecialOffer2011.asp  
     
  This special offer ends January 31, 2011.  
     
  Award winning component based sofware products  
     
  ==========================================  
     
Solutions Schedule for .NET  v4   now shipping
     
  From production planning to supply chain optimization to fleet management - Solutions Schedule for .NET has been selected the number one resource planning and scheduling component software by independent consultants to Fortune 100 commercial software companies.   
     
 
Solutions Schedule for .NET  v4  Enterprise Edition  Solutions Schedule for .NET - Corporate Edition  Solutions Schedule for .NET - Standard | Corporate | Enterprise 
 
     
  Select any one of three formats to meet your scheduling needs:  Standard Edition, Corporate Edition and Enterprise Edition.  
     
     
  ==========================================  
  Tech Tip - Quick Component UI Styling using a custom Styling Class  
     
  Once an application style and theme has been established, imposing those definitions can be accomplished in a couple of ways. One method, of course, is through the control property settings for each instance of the control(s). An other, and far more efficient way is to create your own custom style class for each control as your application design requires, this will give you an object oriented appraoch and re-usable methodology.  In the following instance we have chosen dbiSchedule (Solutions Schedule for .NET v4.0) for our demonstration base.

We establish a custom class, which contains a reference back to the object/control being styled. Then we add Public Properties to the class, toprovide discrete selection over which of the Controls' styling properties are available for editing.  This also allows the use of the .NET Property Grid control, without having to deal with any inherited or unwanted/unneeded properties being shown.
 
     
 

Public Class Class1

 

    'Schedule to Style

    Private l_mySchedule As New Dbi.WinControl.Schedule.dbiSchedule

 

    'Create a new instance of the class, and set the dbiSchedule to style

    Public Sub New(ByRef newSchedule As Dbi.WinControl.Schedule.dbiSchedule)

        l_mySchedule = newSchedule

    End Sub

 

    'Create Public properties to allow custom control over which of dbiSchedule's properties are available for editing in the Property Grid

    <Category("Colors")> _

    Public Property BackColor() As System.Drawing.Color

        Get

            Return l_mySchedule.BackColor

        End Get

        Set(ByVal value As System.Drawing.Color)

            l_mySchedule.BackColor = value

        End Set

    End Property

 

    <Category("Enumerations")> _

    Public Property TimeBarFillType() As Dbi.enumFillType

        Get

            Return l_mySchedule.TimeBarFillType

        End Get

        Set(ByVal value As Dbi.enumFillType)

            l_mySchedule.TimeBarFillType = value

        End Set

    End Property

 

    <Category("Colors")> _

    Public Property RulerBackColor() As System.Drawing.Color

        Get

            Return l_mySchedule.RulerBackColor

        End Get

        Set(ByVal value As System.Drawing.Color)

            l_mySchedule.RulerBackColor = value

        End Set

    End Property

 

 

End Class

 
  Once the styling is complete, you can save the settings out and ready for use with any/all of your applications.

A quick and easy way is through XML.  You can use the built in functionality of control's like dbiSchedule to save all the current property settings to one file and load it in to any applications with one simple call.

Additionally, you can create your own XML files (following your own structure) to allow multiple controls to be styled with a single XML file.

Hope this little tip adds to your tool kit of efficient development strategies.
As always, take care and have a great day.
 
     
  ==========================================  
     
  Subscription Renewal and Updates  
     
     
  As we turn the page on another year, we're getting into Subscription Renewal season. I'd just like to point out where you can track down your subscription information in the DBI Product Manager application. Each time you launch the a DBI product manager you will see the "Maintenance Expires" date...  
     
   
     
  And when your subscription expires... that date value will turn RED...  
     
   
     
  Subscription (maintenance) renewals offer DBI component product owners the best service possible without having to incur traditional upgrade fees. Subscription ensures that a product is up to date, all the time, and is in step with each component/ product update, upgrade, new components released into the product and those changes made for new versions of Windows. Subscription also maintains direct access to DBI's "best in the industry" technical support group.  Make sure to renew your subscription today!      https://www.dbi-tech.com/renewals/default.aspx  
     
  =========================================  
     
  Relevance from the swirling mass of information around us...  
     
  In recent media interviews, high tech pioneers - Jack Dorsey and Mark Zuckerberg included - increasingly refer to the need for technologies that will provide contextual relevance from the "swirling mass of information" that surrounds us 24 hours a day. Context and relevance on their own are as subjective as any one of the half billion web searches performed each day. When used together - contextual relevance - precision and unbiased objectivity become an expected norm.   
     
  Precision and unbiased objectivity are becoming invaluable currencies with the heightened need for definitive information. Computers of any form are really good at precision and being objective - the opportunity is combining the right technologies along with the abundance of computing power.  A key ingredient is Extractor.  
     
  =========================================  
     
  Quick links:
  Studio Controls for COM
http://www.dbi-tech.com/ProductPage_StudioControlsCOM.aspx
   
  Studio Controls for .NET
http://www.dbi-tech.com/ProductPage_StudioControls.NET.aspx
   
  Solutions Schedule for .NET
http://www.dbi-tech.com/ProductPage_SolutionsScheduleNET.aspx
   
  Solutions Schedule for COM
http://www.dbi-tech.com/ProductPage_SolutionsSchedule.aspx
   
  Staff Scheduler Pro - the Right People in the Right Place at the Right Time
http://www.Staff-Scheduler.com
   
  Extractor - Keyword and Keyphrase extraction  ( web text mining ) 
http://www.dbi-tech.com/productPage_Extractor.aspx
   
  =========================================
=========================================
  Relevant information in the Palm of Your Hand
  The world of relevant information in the palm of your hand 
  =========================================
=========================================
   
          all rights reserved  |  copyright  © 1996  |  Terms of Use