الصف الاول الثانوي لغات - 240429 - 080301

Download as pdf or txt
Download as pdf or txt
You are on page 1of 5

‫‪Final Revision‬‬

‫"‪1st.Sec – Second Term "2023‬‬

‫ﺇﻋـــﺪﺍﺩ ﻭﺗــﺼﻤﻴـــﻢ‪ /‬ﺟـــﺮﻭﺏ ﻓـﺮﻳــﻖ ﺃﺻـــﺪﻗــــﺎ ء ﺍﻟﻜﻤﺒﻴﻮﺗـــﺮ – ﺃ‪/‬ﻳـــﺎﲰـﻴـﻦ ﺷـﻌــﻴـﺐ‬


Final Revision Sheet Namespace :
Namespace contains a set of classesthat can be used
While writing program code inVisual Studio .NETYou .when needed
will use some basic terms and concepts you studied last Framework :
year. It is the framework for allVisual Studio .Net
(ADO) ActiveX Data Object : applications:which enables you to :
It is an advanced technology that can be used to design 1- Producing many.Net applications such as office
Control Tools"" not just ordinary tools, but can be made applications and web applications.
to deal with databases through appropriate software 1- Provide an operating environment for these
and to create projects and applications that deal with applications.
multiple databasesWindows application Web The framework consists of:
application .  (CLR) Common Language Runtime environment
Where isADO.NETIt is a group of classifications or  SystemClass Libraries
classes Class that deal with data sources such as (
 Compilers
Oracle , Access , SQL ServerAll of these software can
 other tools
build databases and deal with them. And it is considered
( SQL ) Structured Query Language :
ADO.NET Part of the Framework.
It is the language for dealing with database files.
Class Category:
Examples of a select statement if you have a
is planned blueprint Properties _and functions or
spreadsheet are as follows:
means Methods and events Events.
Select It is considered one of the SQL language
Object : The object is the basic building unit in
statements and this sentence is used to retrieve
programming languages.
records from a table or from several tables in the
The object is marked as having:
database.
1- Properties describe and identify the object.
Data Source: a file inside the storage medium or a table
2- Events can happened on it
inmemory.
3- Functions or means Methods is what an object can
do when a certain event occurs.
١
‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬/‫ ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎ ء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ – ﺃ‬/‫ﺇﻋﺪﺍﺩ ﻭﺗﺼﻤﻴﻢ‬
Provider:It is the link between the database and Visual Select clause Necessary to obtain the number of
Basic, and each database program has its ownprovider countries located in the continent of "Africa" in the data
Data andhe (DataAdaptor, Command, Connection). table
DataSet ) It is considered a classification :Class from Select Function ( FieldName ) from TableName
which a variable can be created, let it beds , and the GetDatafromExcelSheet is declared
variableds in the computer's memory represents the
database tablesTable Data that were brought from the
data file to memory.
DataTable ( Class) A variable can be created from it, let Note: - This function has ٢Methods:
it bedt , and the variabledt in the computer's memory  File Path Where is the path of the excel file
represents a table in which the dataTable Data that was  SQL Where it represents the sentence through
brought from the data file is saved. which it will query the data from the Excel file, and
Notes: the function returns a value oftype DataTable,
To display the Continent column without repeating, which is a data table in the computer's memory
use theSelect Distinct clause containing the data that was brought from the
The constant literal value is enclosed between two Excel file.
signs ' ' when using. Where Declare the following variables:
Select clause Necessary to display the countries of  The variableMyConnection It will enable you to
the continent "Asia" only open a communication channel with the
Select FieldName from TableName Where Condition worksheet that contains the data in the Excel file.
Select clause Needed to get the number of countries
in the spreadsheet.
Select Function (*) from TableName
٢
‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬/‫ ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎ ء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ – ﺃ‬/‫ﺇﻋﺪﺍﺩ ﻭﺗﺼﻤﻴﻢ‬
 variableMyCommandIt will execute a query  Number the items inside thecombo box And the list
according to which the data will be obtained from box .starts from scratch
an excel file.  The row is calledRow and the column is called
 da variable It will act as a converter for the data Column orItem .
To have the image inside the control tool
from the Excel spreadsheet file with thedt variable.
 variable dt It has a table that saves the data that :automatically resize to fit the size of the tool
was brought from an Excel file.  Set theSizeMode property For the two tools picFlag -
 E nds with anEnd Function picMap with the valueStretchImage .
Combox tool It maintains two values, one of which is Image property Inserts a picture into thePicture Box .
displayed, which is kept inside theDisplayMember In the code window:
property The other value that is not visible is kept insideA. ClassName Displays the names of the tools
theValueMember property. used in the program
B. Method Name .contain events of these tools
 To open the code window F7
 The default event forthe Combo Box is
To test and run the program F5
SelectedIndexChangedIt is used to find out a number
 To create a new project  from theFile menuChoose The selected item in the tool.
theNew command Me .command In the code denotes the current model
 To save the project from theFile menu Choose the  anchor symbol& Used to concatenate strings to form
Save all command a single string.
To detect errors that are expected to occur during the Each control tool has a default name that can be
operation of the program Try/Catch changed, preferably starting with three letters that
to declare variables Dim indicate the classification of the tool.
٣
‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬/‫ ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎ ء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ – ﺃ‬/‫ﺇﻋﺪﺍﺩ ﻭﺗﺼﻤﻴﻢ‬
Click event of theButton command.  Some of the video file names of the attractions in
The conditional statement begins with IF Then (the theVideos folder
clause), then the wordThen . wmv . Egypt
If the result of the command is the result of the wmv . Tunisia
condition statement, itis trueIt executes the command
that followsThenOtherwise, if the result of the wmv . . Saudi Arabia
،command is the result of the condition statementFalse  Some of the national anthem audio file names in
It will execute the commands that follow the wordElse . theAnthem folder
If statement endsEnd sentence If . mp3. Egypt
The SelectedValue property ofcmbbxStateThis is to
mp3. Tunisia
get the country name so that the video file name and
.path can be set mp3. . Saudi Arabia
WMPlayer is displayed By making the propertyVisible
Its valueis TrueEven the video file can be seen on the
screen. The video file can be paused or played through
thebtnPlay button Videos
 Make sure that the video files of the attractions are
named for each country
 Show sightseeing video file types
 Know the path of saving sightseeing video files

٤
‫ﻳﺎﲰﲔ ﺷﻌﻴﺐ‬/‫ ﺟﺮﻭﺏ ﻓﺮﻳﻖ ﺃﺻﺪﻗﺎ ء ﺍﻟﻜﻤﺒﻴﻮﺗﺮ – ﺃ‬/‫ﺇﻋﺪﺍﺩ ﻭﺗﺼﻤﻴﻢ‬

You might also like