Summary: wall storage systems RSS Blend by Feedage.com
RSS Blend of Silver Enlightenment and techmarkstoragesystems.com created by Feedage.com RSS Blender
I have found this generic merge method to be very useful. Before
you cut and paste it into you Silverlight application, let me
explain why I created it.public virtual bool MergeValues(object
oSource, bool bNotifyUI){ bool bSucess = true; foreach (var
oPropInfo in oSource.GetType().GetProperties()) { if
(!oPropInfo.CanRead !oPropInfo.CanWrite oPropInfo.Name == "Item")
continue; var oResult = oPropInfo.GetValue(oSource, null); if
(oResult != oPropInfo.GetValue(this, null)) try {
oPropInfo.SetValue(this, oResult, null); if (bNotifyUI)
NotifyOfPropertyChange(oPropInfo.Name); } catch { bSucess = false;
} } return bSucess;}Once Silverlight binds a property to a XAML
element, your program will perform a lot better if you just change
the value rather then rebind to a new object. I have not done any
detailed timing tests, but by using this code in a before / after
way you can âfeelâ that this is faster. I know there is a
performance cost when you access a property via reflection, but I
am willing to pay that cost to have a solution that is VERY
reliable.By defining this method as virtual you are able to
override to build a version that performs better, for
example:public override bool MergeValues(object oSource, bool
bNotifyUI){ bool bSucess = true; Person oPerson = oSource as
Person; this.ID = oPerson.ID; this.FirstName = oPerson.FirstName;
this.MiddleName = oPerson.MiddleName; this.LastName =
oPerson.LastName; this.MostRecentFlight = oPerson.MostRecentFlight;
return bSucess;}But this solution is not as reliable and requires
me to change the code every time I modify the properties in this
class.Feel free to cut, paste and modify this code to meet your own
coding objectives.[...]
Date Published:
The developers at a company we were working with put out a
challenge -- can you write software to pick the brackets in the
NCAA basketball tournament? The answer is you can and 6 of us did.
Our solutions range from random number generators to multivariate
stepwise regressions. We did the multivariate stepwise
regression.
I created a Silverlight application to display the results; that
is, Debra designed the application and I did the software. The code
is posted to codeplex
here, and you can see our picks at
http://www.mysilverisland.com/NCAA.
The code is very object oriented and uses a direct approach to
pushing the data into the view. No MV-VM was necessary, but that
was because of the nature of the solution. This application simply
creates a report of our picks, and the picks are shoved into the
brackets using a "plug and chug" technique of matching textbox
names with ID's in a collection.
I think this code may be useful for other developers who need to
manage a tournament.
You can get the source code on codeplex:
http://ncaabasketball.codeplex.com/
Date Published:
Anyone who practices Object Oriented Programming has a lot of
different ways to reuse code. The most common way is to use
inheritance, but recently I have been reusing code in an
unconventional way. Whenever I create a class I follow a strict
convention on naming properties. Here is an example: public class
Movie { Â Â Â Â public string Title { get; set;
} Â Â Â Â public List Actors { get; set; }
    public DateTime ReleaseDate {
get; set; } Â Â Â Â public double
MoneyEarnedToDate { get; set; }
    public string Producer { get; set; }
    public string Genre { get; set; } }
CamelCase is the convention I use to define every property. I
always use complete words and never use abbreviations. I do not use
underscores in public properties. I stick to this convention
because it lets me extract Meta data from the class while it is in
use and can be used to simplify coding of the UI. public class
CustomGrid : DataGrid { Â Â Â Â public
CustomGrid()
        : base()
    {
        AutoGenerateColumns
= true;
        AutoGeneratingColumn
+= new EventHandler(OnAutoGeneratingColumn);
    }
    void OnAutoGeneratingColumn(object
sender, DataGridAutoGeneratingColumnEventArgs e)
    {
        string
sHeader = e.Column.Header.ToString();
        e.Column.Header
= CamelToTitleCase(sHeader); Â Â Â Â }
    public string CamelToTitleCase(string
Text) Â Â Â Â {
        Text =
Text.Substring(0, 1).ToUpper() + Text.Substring(1);
        return
Regex.Replace(Text, @"(\B[A-Z])", @" dollarsignr1");
    } } Via inheritance I can
customize the standard Silverlight DataGrid to automatically
generate columns for whatever class is bound to it. I sign up for
the OnAutoGeneratingColumn event so I can rename the column
headings. The function CamelToTitleCase will automatically insert
spaces before each capitol letter, so the property ReleaseDate
becomes the header Release Date and the property MoneyEarnedToDate
becomes Money Earned To Date So is using a coding convention really
code reuse or is it more like asset repurposing? I have learned
that having a convention makes my code easier to read and debug. It
also leads to even more advanced techniques I will share in later
blogs. [...]
Date Published:
Since Large Companies and industrial plants happen to have the
requirement for safe and secure storage of heavy and oversized
materials and products. Techmark Storage Systems develops heavy
duty steel storage systems especially designed for the use of
industrial storage. …
Continue
reading →Date Published:
For Carousel and Shuttle This specially developed software is
anoutcome of experience in inventory management requirements in
variousindustry segments. This software is very easy to operate and
proves to be a powerfultool for inventory management. It swiftly
overcomes the lacunas …
Continue reading →Date Published:
techmarkstoragesystems.com About Automated Storage and Retrieval
System Compactor Storage System | Mobile Racks | Mobile Storage
System | Mobile Racking System | Pune India Contact Us Heavy Duty
RacksHeavy Duty Racks | Heavy Duty Racking | Boltless Racking
System | …
Continue reading →Date Published:
Tech-Mark is an ISO 9001:2008 company with a focus on technology
development and has high growth orientation. Our aim is to offer
technology for convenience, safety, reliability and automation
while ensuring optimization of resources and improving working
conditions. Established in …
Continue reading →Date Published:
Overview The concept of this system is to offer you a most
convenient bolting-free rack system which is flexible, rugged,
reliable and yet economical. By using this system, you can easily
store material of different odd shapes and sizes by …
Continue reading →Date Published:
Overview The principle of this system is to use complete length and
height of stores and give flexibility in storing various types of
material of varying size and weight. In this system, heavy-duty
racks are placed on both sides with …
Continue reading →Date Published:
Overview This system is ideal for mid-sized, mid-weight and heavy
weight components varying in shape, size and weight. The system
offers higher flexibility to accommodate a variety of items to be
stored. The pitch between two trays can be variable, …
Continue reading →Date Published:
Vertical Carousel System Overview This is the most modern and
cost-efficient Storage and Retrieval system for today’s
industry.Vertical Carousel Systems offer a number of benefits
compared to conventional racking system. The most significant
advantage being, it uses the complete available …
Continue reading →Date Published:
Overview of Compactor Storage System Tech-Mark offers you the
ultimate mobile storage system with the latest ‘Easy Glide’
technology for a noise-free, effortless and smooth operation for
years together. The system offers security of stored material and
proves to be …
Continue reading →Date Published:
Corporate Office and Works S.No. 78/1, Pandhari Industrial Estate,
Shivane, Pune 411 022 Tel. : 020-2529 0065/66/67 Cell : +91-98814
44466 E-mail : aparna@tech-mark.net Fabrication Division S.No. 101,
Off Bombay-Bangalore Highway, Narhe-Ambegaon, Pune Rudrapur Branch
Plot No. 388/1/2, Village Simla …
Continue reading →Date Published:
This RSS Feed was generated using the Free RSS Blender from
Feedage.com
Date Published: