تقييم الموضوع :
  • 0 أصوات - بمعدل 0
  • 1
  • 2
  • 3
  • 4
  • 5
لانشاء فورم غير مرئيه في البدايه البرنامج بال C# و VB.net
#1
كاتب الموضوع : AhmedEssawy

' Visual Basic


كود :
Sub Main()


' Instantiate a new instance of Form1.


Dim f1 as New Form1()


' Display a messagebox. This shows the application is running,


' yet there is nothing shown to the user. This is the point at


' which you customize your form.


System.Windows.Forms.MessageBox.Show( _


"The application is running now, but no forms have been shown.")


' Customize the form.


f1.Text = "Running Form"


' Show the instance of the form modally.


f1.ShowDialog()


End Sub
// C#


كود :
//All methods must be contained in a class.


// This class is added to the namespace containing the Form1 class.


class MainApplication


{


public static void Main()


{


// Instantiate a new instance of Form1.


Form1 f1 = new Form1();


// Display a messagebox. This shows the application


// is running, yet there is nothing shown to the user.


// This is the point at which you customize your form.


System.Windows.Forms.MessageBox.Show("The application "


+ "is running now, but no forms have been shown.");


// Customize the form.


f1.Text = "Running Form";


// Show the instance of the form modally.


f1.ShowDialog();


}


}

}
}}}
تم الشكر بواسطة:


المواضيع المحتمل أن تكون متشابهة .
الموضوع : الكاتب الردود : المشاهدات : آخر رد
  البرنامج بعد وضعه في صورة exe لا يتعامل مع قاعدة البيانات محمد خلف زكي 0 2,719 04-08-16, 05:10 AM
آخر رد: محمد خلف زكي
  ارسال رسائل Sms بإستخدام فجوال بيسك دوت نت من البرنامج اللذي تطوره RaggiTech 0 9,869 17-10-12, 09:48 PM
آخر رد: RaggiTech
  عمل Copy-Paste من صوره على الجهاز الى البرنامج RaggiTech 0 2,511 17-10-12, 08:56 PM
آخر رد: RaggiTech
  سورس كود ملف ربط ديناميكى لتحديد فتره استخدام البرنامج RaggiTech 0 2,917 17-10-12, 08:52 PM
آخر رد: RaggiTech
  حمايه استخدام البرنامج عن طريق ملف خارجى RaggiTech 0 2,566 17-10-12, 08:51 PM
آخر رد: RaggiTech
  للمبتدئين كيفية صنع فورم على شكل قلب او دائرة او متقاطعات او ما شابه مثال مع شرح مبسط RaggiTech 0 2,564 17-10-12, 07:15 PM
آخر رد: RaggiTech
  لانشاء مجلد على سطح المكتب RaggiTech 0 1,908 17-10-12, 06:02 PM
آخر رد: RaggiTech
  لانشاء مجلد بالاعتماد علي APIs RaggiTech 0 1,657 17-10-12, 05:24 PM
آخر رد: RaggiTech
  لانشاء قاعده بيانات و التعامل معها من خلال الكود RaggiTech 0 2,702 17-10-12, 05:24 PM
آخر رد: RaggiTech
  لانشاء رقم عشوائي RaggiTech 0 1,580 17-10-12, 05:23 PM
آخر رد: RaggiTech

التنقل السريع :


يقوم بقرائة الموضوع: بالاضافة الى ( 1 ) ضيف كريم