... custom control project. You’ll then continue to
create user controls, which combine other controls into reusable groups (Chapter 10) ; derived
controls, which enhance existing .NET control classes ... displaying and updating data without writing
tedious code) .
Part 2: Custom Controls
In this part, you’ll tackle one of the most important areas of WindowsForms design—creating
customized controls ... description of core .NET concepts. These key concepts, like namespaces, assemblies,
exception handling, and metadata, are explained in countless books, including a number
of excellent C# and...
... WINDOWS Color clr clrName
8W WINDOWS ColorPalette clrp clrpName
9W WINDOWS ComboBox cb cbName
10W WINDOWS ContextMenu ctm ctmName
11W WINDOWS CrystalReportViewer crv crvName
12W WINDOWS Cursor csr csrName
13W ... it
otherwise.
Source- Code Control
A critical aspect of code development is making sure that the sourcecode is protected by a
source- code control system.
What
Source- code control manages code that ... hsrName
30W WINDOWS Icon ico icoName
31W WINDOWS Image img imgName
32W WINDOWS ImageList imgl imglName
CHAPTER 1 ■ CODE POLICY 22
5 60 -2 ch01.qxd 10 /27 /05 4:15 PM Page 22
Chapter 5: Design Policy
The...
... quick recap of code access security (CAS) concepts, remember that the .NET Framework can use
four levels of code access security policies:
1. Enterprise
2. Machine
3. User
4. Application domain
The ... necessary because the filter enforces the restriction that browser users cannot request any
type of content from the protected directories in ASP .NET 2.0. Because ASP .NET 2.0 introduced new
“content” ... 477
ActiveDirectoryMembershipUser 4 80
IsApproved and IsLockedOut 481
Using the ProviderUserKey Property 4 82
Working with Active Directory 4 82
UPNs and SAM Account Names 484
Container Nesting 486
Securing...
... diagram, you can see the structure and behavior
Figure 1-13. A class diagram
5416ch01.qxd 9 /21 /05 5:43 PM Page 23
cafac74dd2d083cbec0 906 b66fcd56b1
Chapter 10: An Example Application
Here we bring it ... business logic
5416ch01.qxd 9 /21 /05 5:43 PM Page 9
cafac74dd2d083cbec0 906 b66fcd56b1
CHAPTER 1 ■ INTRODUCTION TO ENTERPRISE APPLICATION DESIGN 22
When you’ve created your use case diagrams, you’ll ... Microsoft technologies, and also holds MCP and MCSD certifica-
tions both inWindows DNA and the .NET platform. Nowadays Rickard is working for Know IT
Consulting in Gothenburg as architect and...
... THE TEAM26
4 800 ch 02 . qrk 5/15 /06 8:45 PM Page 26
Refactor the code: The developers are responsible for refactoring the code. This is part of
collective code ownership—any developer can change ... bottleneck she is creating.
Collective code ownership eliminates this bottleneck by granting the right to change or
enhance any code within the application to any developer. In addition, collective code ... XP process, includ-
ing release and iteration planning.
Assist customers in the story writing process: The business coach will lead the cus-
tomers during the story candidate development and...
... be caused directly
or indirectly by the information contained in this work.
The sourcecode for this book is available to readers at http://www.apress.com in the SourceCode section.
4 800 FM.qrk ... progress
charts that the tracker generates, and the successful acceptance of user stories.
CHAPTER 1 ■ INTRODUCING XP 5
4 800 ch01.qrk 5/15 /06 8:46 PM Page 5
Traditionally, there are 12 practices in ... degrees of success.)
CHAPTER 1 ■ INTRODUCING XP 9
4 800 ch01.qrk 5/15 /06 8:46 PM Page 9
4 800 ch01.qrk 5/15 /06 8:46 PM Page 2
■Note User stories are an XP component used to capture project requirements....
... current sourcecode from the source code
control system. During this process, you will check out code from the sourcecode control
system and add new code into the sourcecode control system as needed.
But ... XP process, includ-
ing release and iteration planning.
Assist customers in the story writing process: The business coach will lead the cus-
tomers during the story candidate development and ... estimation skills and have the opportunity to select
work that interests them.
CHAPTER 2 ■ ASSEMBLING THE TEAM 22
4 800 ch 02 . qrk 5/15 /06 8:45 PM Page 22
A thorough understanding of the XP process: The...
... create a mock object for this customer system.
Defining an Interface
You will start by defining an interface for this customer system, as shown in Listing 8-1.
Listing 8-1. Customer System Interface
using ... shows NMock in action.
First, you define the mock object using this line:
DynamicMock maryJones = new DynamicMock(typeof(ICustomer));
CHAPTER 8 ■ SIMULATION ENVIRONMENT TOOL: NMOCK 79
4 800 ch08.qrk ... the installation.
CHAPTER 8 ■ SIMULATION ENVIRONMENT TOOL: NMOCK 70
4 800 ch08.qrk 5/16 /06 9:49 PM Page 70
Listing 8-3. The Flight Class
using System;
using System.Collections;
using System.Collections.Generic;
using...
... DataUtilities.ConnectionString;
try
{
OdbcConnection dataConnection = new OdbcConnection();
dataConnection.ConnectionString = connectionString;
dataConnection.Open();
OdbcCommand dataCommand = new OdbcCommand();
dataCommand.Connection ... magic by monitoring a sourcecode repository. When changes occur (new
source code is checked in or existing sourcecode is changed or deleted), this tool will check
out all of the existing source ... connectionString = DataUtilities.ConnectionString;
try
{
OdbcConnection dataConnection = new OdbcConnection();
dataConnection.ConnectionString = connectionString;
dataConnection.Open();
OdbcCommand dataCommand...