عرض مشاركة واحدة
  #2  
قديم 26-04-2013, 04:40 PM
الصورة الرمزية hassanalhawy
hassanalhawy hassanalhawy غير متواجد حالياً
مــٌــعلــم
 
تاريخ التسجيل: Sep 2010
المشاركات: 1,514
معدل تقييم المستوى: 16
hassanalhawy is on a distinguished road
افتراضي

وهذا نص الترجمة بعد تعديله من موقع ترجمة جووجل http://translate.google.ae/#en/ar
MsgBox versus MessageBox.Show
MsgBox مقابل MessageBox.Show
In Visual Basic .NET, the MsgBox method is a Visual Basic Runtime wrapper around a call to the MessageBox.
في Visual Basic. NET،الأسلوب MsgBox هو مجمع فيجوال بيزك مرئي وقت التشغيل حول استدعاء MESSAGEBOX.
Show method from the System.Windows.Forms namespace.
Show هى طريقة من فضاء أسماء System.Windows.Forms
MsgBox does some extra work to emulate the behavior of the Visual Basic 6 MsgBox function before culminating in a call to MessageBox.Show.
MsgBox تقوم ببعض العمل الإضافي لمحاكاة سلوك فيجوال بيزك 6 دالة MsgBox قبل وبلغت ذروتها في استدعاء MessageBox.Show.
The minute cost of these emulating steps is insignificant,
تكلفة الدقيقة من خطوات المحاكاة هذه غير ذات أهمية،
particularly when compared to the time it takes a user to react to a dialog box.
لا سيما بالمقارنة مع الوقت الذي يستغرقه المستخدم للرد على مربع الحوار.
Note MsgBox returns the same integer values returned by MessageBox.Show.
ملاحظة : MsgBox تقوم بإرجاع نفس القيم الصحيحة التى تقوم بأرجعها MessageBox.Show.
Strictly speaking MessageBox.Show returns a DialogResult value and MsgBox returns a MsgBoxResult value.
بالمعنى الدقيق للكلمةMessageBox.Show تقوم بإرجاع قيمة DialogResult وMsgBox تقوم بإرجاع قيمة MsgBoxResult .
The values in these enumerations have the same meanings:
القيم الموجودة في هذه التعدادات لها نفس المعاني:
OK = 1, Yes = 6, No = 7, and so on.
OK = 1, Yes = 6, No = 7,، وهلم جرا.
You can also use CType to convert a MsgBoxResult to a DialogResult.
يمكنك أيضا استخدام CType لتحويل MsgBoxResult إلى DialogResult.
The choice between MsgBox and MessageBox is a matter of consistency.
الاختيار بين MsgBox و MESSAGEBOX هي مسألة إتساق.
If you are migrating a Visual Basic 6 application to Visual Basic .NET,
إذا كنت ترحل من تطبيق فيجوال بيزك 6 إلى Visual Basic. NET،
there is no compelling reason to replace calls to MsgBox with MessageBox.Show.
ليس هناك من سبب مقنع لاستبدال الإستدعاء إلى MsgBox مع MessageBox.Show.
]Recommendation: Use MsgBox throughout your code
] التوصية: استخدم MsgBox طوال التعليمات البرمجية الخاصة بك
__________________
يخطئ من يظن أن للذئاب ديناً