N
news.microsoft.com
Make a new user control component via the VSNet wizard gives the following
dispose method...
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if( components != null )
components.Dispose();
}
base.Dispose( disposing );
}
Uaing the wizard to make a new Form generates the following...
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
Can you spot the lazy programmer that cant use braces, small i know but its
piiss damn anoying and just lazy on his part.
Lines like that just highlight to me hes a lazy azzed dev that takes the
easy way out.
No braces on the if block, supose its not as bad as that shhity K&R layout.
dispose method...
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if( components != null )
components.Dispose();
}
base.Dispose( disposing );
}
Uaing the wizard to make a new Form generates the following...
/// <summary>
/// Clean up any resources being used.
/// </summary>
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
Can you spot the lazy programmer that cant use braces, small i know but its
piiss damn anoying and just lazy on his part.
Lines like that just highlight to me hes a lazy azzed dev that takes the
easy way out.
No braces on the if block, supose its not as bad as that shhity K&R layout.