السي بلاس بلاس جي يو أي
صفحة 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
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى
الثلاثاء مارس 26, 2024 6:26 pm من طرف moslema_r
» شركة تنظيف استراحات بالرياض
الأحد مارس 24, 2024 10:49 pm من طرف moslema_r
» كشف تسربات المياه في جدة
السبت مارس 23, 2024 7:23 pm من طرف gmalnagy
» خدمات كشف تسربات المياه بخصم 25% - اتصل الان
السبت مارس 23, 2024 7:22 pm من طرف gmalnagy
» شركة تنظيف ثريات بالرياض
الخميس مارس 21, 2024 7:23 pm من طرف moslema_r
» كهربائي منازل بالرياض
الأحد مارس 17, 2024 1:52 pm من طرف رانيا حماد
» افضل شركة نقل عفش بالرياض نقل باكستاني 40% خصم | موقع الانوار
الأحد مارس 17, 2024 1:25 pm من طرف رانيا حماد
» افضل معلم جبس بالرياض تركيب جبس بورد بالرياض 20% خصم اتصل الآن
الأحد مارس 17, 2024 1:09 pm من طرف رانيا حماد
» شراء اثاث مستعمل بالكويت بخصم 30%
الأحد مارس 17, 2024 12:54 pm من طرف رانيا حماد
» افضل فني كهربائي منازل بالرياض جودة 100% | اتصل الآن
الأحد مارس 17, 2024 12:36 pm من طرف رانيا حماد