السي بلاس بلاس جي يو أي
صفحة 1 من اصل 1 • شاطر
السي بلاس بلاس جي يو أي
سي بلاس واجهات مستخدم
منVisual Studio Community 2019 أحمل برنامج
أعمل تنصيب للنسخة من هنا
أختار
“Open a new project”
أختار
“CLR Empty Project”
Choose option. CLR (Common Language Runtime) is the runtime environment in the .NET Framework.
Click the Next button. “Configure your new project” dialog window will be displayed (Figure 4).
Set names of the project and solution, and a location where the solution is put. Click on the Create button. The empty solution will be shown (Figure 5).
أنقر يمين على إسم المشروع و أختار properties
ثم
ثم
ثم أختار
UI
ثم أختار
windows form
The selected new item “Windows Form” will not be displayed. Instead, the error messages will be shown
أصحح الكود هكذا
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void main(array^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Application::Run(gcnew إسم_المشروع::MyForm);
}
أو
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void main(array ^args)
{
Application :: EnableVisualStyles();
Application :: SetCompatibleTextRenderingDefault (false) ;
إسم المشروع::MyForm Form;
Application :: Run ( %Form ) ;
}
البرنامج محفوظ في ملف projects اللي تابع للبرنامج
ثم أذهب لملف debug أختار المشروع
ثم أختار toolbox التي بختار منها الأزرارو النصوص على شاشة البرنامج أغلب الكود يكتب تلقائيا مع المكونات التي تضاف من أزرار و غيرها
برنامج حساب المضروب ل
String *in = textbox1---int inisytem convert: text to int16
Int fact=1;
For (int i=1;i<=ini; i++)
{
Fact = fact*I;}
In=system::convert::tostring (fact)
Label2---text= in;
}
منقول
منVisual Studio Community 2019 أحمل برنامج
أعمل تنصيب للنسخة من هنا
أختار
“Open a new project”
أختار
“CLR Empty Project”
Choose option. CLR (Common Language Runtime) is the runtime environment in the .NET Framework.
Click the Next button. “Configure your new project” dialog window will be displayed (Figure 4).
Set names of the project and solution, and a location where the solution is put. Click on the Create button. The empty solution will be shown (Figure 5).
أنقر يمين على إسم المشروع و أختار properties
ثم
ثم
ثم أختار
UI
ثم أختار
windows form
The selected new item “Windows Form” will not be displayed. Instead, the error messages will be shown
أصحح الكود هكذا
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void main(array^ args) {
Application::EnableVisualStyles();
Application::SetCompatibleTextRenderingDefault(false);
Application::Run(gcnew إسم_المشروع::MyForm);
}
أو
#include "MyForm.h"
using namespace System;
using namespace System::Windows::Forms;
[STAThread]
void main(array ^args)
{
Application :: EnableVisualStyles();
Application :: SetCompatibleTextRenderingDefault (false) ;
إسم المشروع::MyForm Form;
Application :: Run ( %Form ) ;
}
البرنامج محفوظ في ملف projects اللي تابع للبرنامج
ثم أذهب لملف debug أختار المشروع
ثم أختار toolbox التي بختار منها الأزرارو النصوص على شاشة البرنامج أغلب الكود يكتب تلقائيا مع المكونات التي تضاف من أزرار و غيرها
برنامج حساب المضروب ل
String *in = textbox1---int inisytem convert: text to int16
Int fact=1;
For (int i=1;i<=ini; i++)
{
Fact = fact*I;}
In=system::convert::tostring (fact)
Label2---text= in;
}
منقول
عبدالرحمن محمد دراج- .
- تاريخ التسجيل : 08/01/2021
المساهمات : 3
النقاط : 8
التقيم : 1
الدولة :
الجنس :
| |
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى
» خوارزمية البحث الخطى Linear Search Algorithm
» مفهوم الخوارزميات فى البرمجة Algorithm
» اريد ضبط هذا الكود بحيث لا يكرر الارقام
» [Java] برنامج محرر نصوص بالجافا مثل محرر نصوص الوورد إلى حد ما
» السي بلاس بلاس جي يو أي
» [VB.NET] مطلوب برنامج محاسبة مالية كامل بالحسابات الختامية ب vb6 or vbdot net بالسورس كود
» مشروع محاسبة مالية كامل حتى إعداد الحسابات الختامية مفتوح المصدر بالفجوال بيسك 6
» مشروع جافا
» [Java]التعامل مع واجهة قوائم الانتظار Java Queue Interface