SaveCompressedFile() method, 726
SaveFileDialog class, 492, 505–508
sbyte type, 35
Scheme property, 958
scope, attributes, 905–906
scripts
AllowScriptChange property, 529
AllowScriptSourceAccess property, 693
Scrollable property, 432
scrollbar drags, event handling, 198
ScrollBars property, 403
SDI (Single Document Interfaces), 466–468
sealed classes, 193, 206
search engines, for Web services, 659–660
searching
assemblies, 878
generic lists, 337–340
security
authentication
configuring, 604–607
membership providers, 603
ChangePassword control, 609
CreateUserWizard control, 609
Login control, 608
LoginName control, 609
LoginStatus control, 608
LoginView control, 609
PasswordRecovery control, 609
Security Setup Wizard, 605–607
<see> element, 931–932
<seealso> element, 931–932, 936
Seek() method, 709
SEH (Structured Exception Handling), 172
SELECT command, 620, 815
Select Installation Folder dialog, Simple Editor application, 570–571
SelectCommand property, 617
SelectedIndex property, 426, 443
SelectedIndexChanged event, 428
SelectedIndices property, 426, 432
SelectedItem property, 426
SelectedItems property, 426, 432
SelectedPath property, 533
SelectedRtf property, 419
SelectedTab property, 443
SelectedText property, 403, 419
SelectionAlignment property, 419
SelectionBullet property, 419
SelectionChanged event, 420
SelectionColor property, 419
SelectionFont property, 419
SelectionLength property, 404, 419
SelectionMode property, 426
SelectionProtected property, 419
SelectionStart property, 404
SelectionType property, 419
SelectNodes() method, 762
SelectSingleNode() method, 762
serial devices, streams, 701–702
Serializable attribute, 893
serialization mechanisms, Web site profiles, 638
serialized objects
method types, 727
object serialization example, 728–730
reasons for, 731
server controls, Web programming, 588–589
Server property, 664
server-side state management, 600–603
Session property, 664
sessions
EnableSession property, 665
server-side state management, 600–601
session layer, networking, 955
set keyword, 240
SetItemChecked() method, 427
SetItemCheckState() method, 427
SetSelected() method, 427
SetStyle() method, 997, 999
Setup Project template, 548
Setup Wizard, 548
shallow copying, 234
Shape class, 852
shared assemblies, 874–877
shared characteristics, classes, 230
short type, 35
Show All Files icon, Solution Explorer window, 27
Show() method, 470
ShowApply property, 529
ShowColor property, 529
ShowDialog() method, 490, 529, 736
ShowDouble() function, 138
ShowEffects property, 529
ShowHelp property, 495
ShowNewFolderButton property, 533
ShowSelectionMargin property, 419
signatures, Main() function, 140
Simple Editor application
discussed, 551
Disk Cost button, 572
installation confirmation, 572
installation plans, 552
installing, 567–568
license agreement, 570
optional files, 570
packaging options, 553–554
prerequisites, 554–555
Progress dialog, 572
project creation, 553
project properties, 553–554, 556
Read Me dialog, 568–569
running, 572
Select Installation Folder dialog, 570–571
uninstalling, 574
Welcome dialog, 568
Simple Mail Transfer Protocol (SMTP), 956
simple types, 34–38
SimpleList() method, 288
Single Document Interfaces (SDI), 466–468
single line comments, 32
single quotation (') escape sequence, 41
SiteMapDataSource data control, 613, 632
SiteMapPath navigation control, 632
sites. See Web sites
Size property, 733
Size struct, GDI+, 987
SizeChanged event, 482
SmallImageList property, 432
smart clients, Web services and, 657
Smart Device Cab Project template, 548
SMTP (Simple Mail Transfer Protocol), 956
snapping controls, Windows programming, 394–395
SOAP specifications, 655
SoapHttpClientProtocol class, 666
SoapVersion property, 664
SolidBrush class, 995
SolidColorOnly property, 530–531
Solution Explorer window, Visual Studio
Class View menu, 21–22
overview, 17
Show All Files icon, 27
solutions, Visual Studio, 10–11
Sort() method, 315
Sorted property, 426
sorting
collections, 315–318
generic lists, 337–340
lists, 316–318
Sorting property, 433
spacing, within string contents, 115
Splash dialog, User Interface Editor, 566
Split() command, 117–118, 719
SQL (Structured Query Language)
SQL Express installation, 778
SQL Server databases
data, displaying and editing, 613–616
database creation, 612–613
discussed, 611, 777
SQL Server 2005 Express Edition, 555
stored procedures, 820–822
support, in ADO.NET, 814–818
SqlDataSource data control, 613
Start() method, 370
StartPosition property, 733
state management
client-side, 598–600
discussed, 597
server-side, 600–603
StateImageList property, 433
statements
auto-completion, 116–117
case,73
continue,86
defined, 30
else if,72
goto
flow control, 66–68
interrupting loops, 86
if, 69–72
switch, 72–76
static classes, 188
static keyword
field definition, 238
method definitions, 239
overview, 123–124
StaticConnections property, 650
StatusStrip control, 464–466
StatusStripStatusLabel control, 464–465
Step Into icon, 169
Step Out icon, 169
Step Over icon, 169
stored procedures, 820–822, 829
StreamReader class
compressed data, 723–727
delimited files, 719–721
overview, 716
reading data using, 718–719
stream input, 717
streams, file system data, 701–702
StreamWriter class, 714–716
string type, 36, 41
StringBuilder class, 341
strings
aligning in columns, 115
case-sensitivity, 103, 315
GetString() function, 124
literal values, 41–42
manipulation techniques, 113–116
occurrences of spaces, ridding, 115
serialization, 638
ToString() command, 102
strong names, shared assemblies, 874
Struct icon, Class View window, 220
Struct value, attribute targets, 905
structs
classes versus, 232–233
data members, 103
example of, 104–105
functions, adding, 143–144
generic, 357
OOP (object-oriented programming), 199
route keyword, 105
struct keyword, 103–104
value types, 233
structural elements, XML documentation, 934–937
structure assemblies, 856–858
Structured Exception Handling (SEH), 172
Structured Query Language (SQL)
SQL Express installation, 778
SQL Server databases
data, displaying and editing, 613–616
database creation, 612–613
discussed, 611, 777
SQL Server 2005 Express Edition, 555
stored procedures, 820–822
support, in ADO.NET, 814–818
stub program, RPC, 654
style sheets, XML documentation, 948
subarrays, 112
subscribing to events, 367–368
subtraction (-) operator, 44
suffixes, literal values, 40–41
Sum() function, 341
<summary> element, 931, 934
SumVals() function, 130
switch statement
application creation example, 75–76
constant variable use, 74
flow control alternatives, 73
structure of, 72–73
switching between windows, 17
symbolic information, debugging, 152
synonyms, 829
syntax
basic syntax, 30–32
declaring variables, 34
System.Array class
Add() method, 276
collections, 271, 275
GetEnumerator() method, 277
overview, 266
RemoveAt() method, 277
System.AttributeUsageAttibute attribute, 904–905
System.Collection.Generic namespace, 326, 334–335
System.Collections class, 272
System.Data namespace, 776–777
System.Diagnostics.ConditionalAttribute attribute, 889–891
System.Drawing namespace, 863
System.Drawing.Drawing2D namespace, 995, 1011–1012
System.Drawing.Imaging namespace, 1012
System.Drawing.Printing namespace, 510
System.EventArgs class, 378
System.IO namespace, 702
System.IO.Compression namespace, 703, 723
System.Net namespace, 961
System.Net.Sockets namespace, 961
System.Object class
Equals() method, 212
GetHashCode() method, 213
GetType() method, 213
MemberwiseClone() method, 212, 234, 292
Object() method, 211
ReferenceEquals() method, 212
ToString() method, 212, 259, 297
System.ObsoleteAttribute attribute, 891–892
System.Reflection namespace, 885
System.Reflection.AssemblyDelay
SignAttribute attribute, 895–899
System.Runtime.Serialization namespace, 704, 727
System.SerializableAttribute attribute, 892–895
System.Text namespace, 334
System.Timers.Timer class, 370
System.Windows.Forms namespace, 392
System.Xml namespace, 751