موقع طلبة جامعة البحرين

يمكنك تصفح الموقع كزائر ولكن ندعوك لتسجيل عضوية خاصة بك لتحصل على كافة الصلاحيات مثل تنزيل ملفات المكتبة وقراءة تعليقات هيئة التدريس وغيرها. يمكنك الحصول على عضوية مجانية بالضغط على زر تسجيل. إذا قمت بالتسجيل مسبقا فيمكنك الضغط على زر دخول.

تسجيل دخول
  • قسم المكتبة الجامعية مغلق مؤقتا بعد الاستهداف التي تعرضت له بعض خدمات أمازون في البحرين، جاري استرجاع الملفات ونقلها إلى سيرفرات جديدة وسيتم بعدها اعادة افتتاح المكتبة

الدراسة الجماعية لـ مقرر ITIS211 - ITBIS211 الفصل الثاني 2012 -2013

بسم الله الرحمن الرحيم

اللهم صلِّ و سلم على محمد و آل محمد


السلام عليكم و رحمـة الله.. :smile:


طبعا هذا موضوع للدراسة والمناقشة والتعاون الطلابي في دراسة مقررITBIS211+ITIS211
..




إي سؤال ,إي أستفسار حياكم هنا..
:99:

أهلا بكم جميعا ً,,
:shiny:
 
للتفعيييييييييل للتفعيييييييييل
 
اني سكشن 1
عند د. محمد صديقي

دخلنا جبتر 3

وتاريخ 23 اوكتوبر عندنا اسايمينت1
 
ها يا الربع من محتاج شي في المقرر قبل لا يجينا الميدتيرم واحنا مو فاهمين شي ؟؟؟؟؟

لا أحد يستحي
 
شلون انراجع النظري ؟؟ من السلايدات بس ؟؟ شلون صيغة الاسئلة ايجيبونها نكتب كود مثلا ؟؟
 
1382785921761.jpg
[/URL][/IMG]
 
شلون تتوقعون راح يكون شكل البراكتكل يوم الأحد؟ :whistling:

أحس الوقت بيكون ضيق كـ العادة :no:
 
بسم الله والحمد لله والصلاة والسلام على رسول الله واله وصحبه ومن والاه

طيب هنا إن شاء الله راح نتناقش جابتر 4
قبل لا ندخل في صلب الموضوع
ناخذ شي مهم ألا وهو Objectives
اللي نلاقيها بداية كل جبتر و نطوفها لأنها ماراح يجيبون منها سؤال ههههههههههههههههه
مهمة وتعطينا الأشياء المهمة في الجبتر

كلنا أخذنا C++
وكلنا نعرف if else إلى اّخره
و switch اللي أهي نفس select case in VB
الجديد أهو Debug !!!! شنو ذييييييي

خلصنا Objectives
ندش في الغزير ؟؟
بنكتب شوي بالأنجليزي كلكم تعرفون صح خخخخخخ
هاذي الشكل الطبيعي للأف ستيتمنت
[TABLE="class: cms_table_cms_table, width: 500, align: center"]
[TR]
[TD]إذا كذا سو
كذا
كذا
وبس[/TD]
[TD]If condition then
statement(s)
End if[/TD]
[/TR]
[/TABLE]


سهل ؟؟؟
مثال السلايدات
كود PHP:
unitsDecimal = Decimal.Parse(unitsTextBox.Text)
If
unitsDecimal < 32D Then
freshmanRadioButton
.Checked = True
Else
freshmanRadioButton.Checked = False
End
IF



الأدوات المستخدمة للمقارنة
> < = <> >= <=
<> يعني لا يساوي والباقية معروفين
مثال السلايدات
كود PHP:
If maleRadioButton.Checked And _
Integer
.Parse(ageTextBox.Text) < 21 Then
minorMaleCountInteger
+= 1
End
If


بس ملحوظة مهمة ::: في حالة تواجد And و Or
فأن الأند لها الأولوية قبل الأور


Nested If Statements
أف داخل أف
وكل وحده لها إند أف الخاص فيها

Message String Example
واضح في السلايدات

Displaying Multiple Buttons
هذا مههههههههم
في الماسيج بوكس
مرات نخلي أوكي ومرات يس ونو ومرات في كنسل واقنور وووووو
الديتا تيب اللي راح يرجعة المسج بوكس نفس ما كنا نسوي في الفنكش ما C++
نوعه DialogResult


طريقة الأستخدام
نسوي دكلير له
كود PHP:
dim name as DialogResult
name
= MessageBox.Show _
("Clear the current order figures?", "Clear Order", _
MessageBoxButtons
.YesNo, MessageBoxIcon.Question)
If
name= DialogResult.Yes Then
' Code to clear the order.
End If




كودات مهمة في الشروط IS + TO
كود PHP:
if ____ is > 78
هاذي لمقارنة الكوندشن مع رقم

وهناك أيضا
if ____ 50 to 60
لتحديد مجال للبحث فيه


لكن يفضل أنك تستخدم معاهم select cases



Sharing an Event Procedure

هاذي تخلي أختيارك يختار لك بوتون أو أي شي
مثال

كود PHP:
•Call clearButton_Click (sender, e)
OR•ClearButton_Click (sender, e)





سامحوني يالربع عندي محاضرة بعد شوي لازم أمشي
أتمنى واحد يكمل على الشرح
باقي شوي
هذا والله أعلم وجزاكم الله خير




أسئلتكم لو سمحتواا................
Your questions please............
 
أحسنت ولد شويطر

عندي سؤال .. الحين اذا بنعرّف قيمة جديدة
نستخدم واحد من ذلين " Dim, const, private ........ألخ"

السؤال هو .. ما الفرق بين الـDim و الـprivate ؟ :mellow:
 

عندي سؤال .. الحين اذا بنعرّف قيمة جديدة
نستخدم واحد من ذلين " Dim, const, private ........ألخ"

السؤال هو .. ما الفرق بين الـDim و الـprivate ؟ :mellow:


الي اعرفه
Const : قيمه تعرفها ماتبي تتغير قيمتها
خلال ما الفورم تشتغل و تقدر تستخدمها في كذا بروسيجر
Dim : قيمة تعرفها تكون خاصة
حق بروسيجر واحد بس يعني مثلا ماتشتغل الا في الكالكوليت بروسيجر فتعرفها في الكالكوليت بوتن بس
Private : قيمه تعرفها تكون حق الفورم كلها يعني
تقدر تستخدمها في كذا بروسيجر
من جدي نعرف الConst و الprivate بره لان نقدر نستخدمهم في اكثر من بروسيجر اما الDim نعرفها داخل البروسيجر الي نبيه بس
ان شاء الله اكون افدتك :smile2:
 
بغيت ex لجبيتر 7
 
Exercise7.1

Create a project for obtaining s tudent information.
Startup form controls are as follows:
• Text boxes for entering the name and units completed.
• Radio buttons for Freshman. Sophomore. Junior. and Senior.
• Check box for Dean's List.
• A list box for the following majors: Accounting. Business. Computer
Information Systems. and Marketing.
• A simple combo box for t11e name oft11e high school-initially loaded
with Franklin. Highland. West Highland. and Midt01m. If the user
types in a new school name. it should be added to t11e list.
• Print button iliat prints the data from the form. Use ilie Print Preview
dialog box.
• An OK button that clears the entries from the form and resets the focus.
The button should be the Accept button for ilie form.
Menus
The File menu should have an item for Print Schools and Exit. The Edit
menu s hould have an item for Add High School: the H9lp menu should have
an item for t11e About box.
Note: Print your name at the top of the printer output for the schools.
Display the printer output in the Print Preview dialog box.​
 
Exercise 7.2

R 'n R--for Reading 'n Refreshment needs a project that contains a form

for entering book information.
Form Controls
• Text boxes for auilior and title.
• Radio buttons for type: fiction or nonfiction.
• Drop-down list for Subject that will include Best-...'eller. Fantasy. Religion.
Romance. Humor. Science Fiction. Business. Philosophy. Education.
Self-Help. and Mystery.
• List box for Shelf Number containing RC-1111. RC-1112. RC-1113.
and RC-1114.
• Print button that prints the data from the form. Use the Print Preview
dialog box.
• An OK button that clears the entries from the form and resets the focus.
Make this the Accept button.
Menrts
The File menu will have items for Print Subjects and Exit. TI1e Help menu
will have an item for About iliat displays the About box.
Note: Print your name at the top of the printer output for the subjects.
Display ilie printer output in the Print Preview dialog box.​
 
Exercise 7.3

Create a project to input chartering information about yachts and print a
summary report showing the total revenue. number of charters. and average
hours per charter.
Jlfenus
The FikJ menu will contain items for Print Sumtnal)'. Print Yacht Types. and
Exit. Place a separator before Exit. The Edt menu should have items for
Clear for Next Charter. Add Yacht Type. Remove Yacht Type. and Display
COunt of Yacht Typ9s. Include a separator after the CkJar item. The Hep
menu ~ill contain oo About item that displays an About fom1.
The Form
• The form should contain text boxes for responsible party. hours chartered.
and the calculated price of the charter.
• A drop-do'l'!'11 combo box will contain the type of yacht: Ranger.
Wavelength. Catalina. Coronado. Hobie. C & C. Hans Christian. and
Excaliliur. Any items that are added to the text box during processing
must be added to the Jisl.
• A drop-down list will contain the sizes: 22. 24. 30. 32. 36. 38. 45.
(No new sizes can be entered at run tjme.)
• An OK bulton will calculate unci display the price and add to t11e totals.
The calculations 11ill require price per hour. Use the foUm,ing chart:
Size Houo-ly Role
22
2-1
30
32
36
38
45
...
95.00
137.00
160.00
19"2.00
250.00
400.00
550.00
...
• A G98rbullon will cleur the contents of the screen controls. The functions
of the CkJar button are t11e same as for the Clear for Next Charter
menu item.
• Make the OK button the Accept button and t11e Clear bulton t11e form·s
Cancel button.
Sunullllty Report
The summary report will print the summary information and send the report
to a Pmt Prewew dialog box. The summary information "ill include
Number of Charters. Total Revenue. and Average Hours Chartered. Include
your nan1e on the output and identifying labels for the summary
infonnal ion.​
 
ex اللي يعطينا اياهم الدكتور حلول الاكسرزايزات
"الحل"
شكرا مقدما
 
ex اللي يعطينا اياهم الدكتور حلول الاكسرزايزات
"الحل"
شكرا مقدما



Exercise 7.3

Create a project to input chartering information about yachts and print a
summary report showing the total revenue. number of charters. and average
hours per charter.
Jlfenus
The FikJ menu will contain items for Print Sumtnal)'. Print Yacht Types. and
Exit. Place a separator before Exit. The Edt menu should have items for
Clear for Next Charter. Add Yacht Type. Remove Yacht Type. and Display
COunt of Yacht Typ9s. Include a separator after the CkJar item. The Hep
menu ~ill contain oo About item that displays an About fom1.
The Form
• The form should contain text boxes for responsible party. hours chartered.
and the calculated price of the charter.
• A drop-do'l'!'11 combo box will contain the type of yacht: Ranger.
Wavelength. Catalina. Coronado. Hobie. C & C. Hans Christian. and
Excaliliur. Any items that are added to the text box during processing
must be added to the Jisl.
• A drop-down list will contain the sizes: 22. 24. 30. 32. 36. 38. 45.
(No new sizes can be entered at run tjme.)
• An OK bulton will calculate unci display the price and add to t11e totals.
The calculations 11ill require price per hour. Use the foUm,ing chart:
Size Houo-ly Role
22
2-1
30
32
36
38
45
...
95.00
137.00
160.00
19"2.00
250.00
400.00
550.00
...
• A G98rbullon will cleur the contents of the screen controls. The functions
of the CkJar button are t11e same as for the Clear for Next Charter
menu item.
• Make the OK button the Accept button and t11e Clear bulton t11e form·s
Cancel button.
Sunullllty Report
The summary report will print the summary information and send the report
to a Pmt Prewew dialog box. The summary information "ill include
Number of Charters. Total Revenue. and Average Hours Chartered. Include
your nan1e on the output and identifying labels for the summary
infonnal ion.


https://www.uob-bh.com/upload/do.php?id=16287

 
بصراحة .. مو عارف شلون أبدّي بهالبروجكت :mellow:
 
عودة
أعلى أسفل