L


Label control

Web Forms, 920

Windows Forms, 769–770

LableIdMapping class, 1117–1118

LandLineSpyFoundException, 341, 346

language interoperability with .NET. See also CLS (Common Language Specification)

COM and COM+, 7, 8–9, 425

CTS and, 425

defined, 5, 9

scripting languages, 7

strong data typing's importance for, 10–13

Visual Basic 2005, 5–6

Visual C++ 2005, 6–7

Visual J# 2005, 7

XML namespace and, 661

Last In First Out (LIFO) structure of Stack class, 253–254

LastModifiedAttribute class, 311–312

late binding (COM), 1155

Launch Conditions Editor (ClickOnce), 575–576

lifetime management (.NET Remoting)

changing default lease configurations, 1038–1039

classes for, 1037

getting lease information, 1037–1038

lease renewals, 1036–1037

leasing configuration values, 1037

overview, 1036

services in configuration files, 1046–1047

LIFO (Last In First Out) structure of Stack class, 253–254

line breaks in string literals, 46

#line preprocessor directive, 73

LineIndexToPageCoordinates() method, 890

LineIndexToWorldCoordinates() method, 889

lines

ScrollMoreShapes example, 869–870

System.Drawing.Graphics methods for, 868–869

LinkedList<T> generic class

advantages and disadvantages of, 287

doubly linked list diagram, 287

example using, 287, 289–292

LinkLabel control (Windows Forms), 1248

ListBox control (Windows Forms), 765–767

ListControl class (Windows Forms)

CheckedListBox control derived from, 765

ComboBox control derived from, 765, 767

ListBox control derived from, 765–767

ListenerThread() thread function (QuoteServer class), 1278

List<T> generic class

Add() method, 279

boxing and unboxing avoided by, 272–273

example using Racer class as elements for, 278–279

finding elements, 280

interfaces implemented by, 278

with LinkedList<T> class, 287, 289

performing an action with every element, 281

sorting elements, 281–282

type conversion using, 282–283

ListView control (Windows Forms)

adding columns for details view, 771–772

adding items to ComboBox (cbView), 771

Alignment property, 772

CheckBoxes property, 772

CountryList example, 770–771

overview, 770

literals, 44, 46

Load() method (Assembly class), 319

LoadFile() method

CapsEditor example, 884

PrintingCapsEdit project, 895

LoadFrom() method (Assembly class), 319

local variables

scope, 35–36

scope clashes for fields and, 37–38

scope clashes for variables with same name, 36–37

unsafe, 206

Localizable property of Windows Forms, 536, 537

localization. See also globalization; resources

automatic fallback for resources, 542

changing the culture programmatically, 539–541

creating custom cultures, 549–550

CurrentCulture and CurrentUICulture properties for, 539

custom resource messages for, 541–542

custom resource reader, 545–549

defined, 513

globalization versus, 513

namespace for, 513, 534

outsourcing translations, 543–544

satellite assemblies for languages, 538

using ASP.NET, 544–545

using Visual Studio, 534–555

winres.exe (Windows Resource Localization Editor), 543

lock statement

deadlocks, avoiding, 361–363, 364

overusing, avoiding, 361

race conditions, avoiding, 363–364

using, 360–361

logging Windows Services events. See event logging for services

login

maintaining using SOAP headers, 1001–1007

system implementation, 969–970

Web server controls (ASP.NET), 970–971

Login() method, 1002–1003, 1005

long type, 41, 42

LookUpWhatsNew assembly, 310, 321–324

loops. See also specific statements

break statement in nested loops, 55

overview, 51

scope of local variables declared in, 36–37




Professional C# 2005
Pro Visual C++ 2005 for C# Developers
ISBN: 1590596080
EAN: 2147483647
Year: 2005
Pages: 351
Authors: Dean C. Wills

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net