منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
[C#.NET] كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : قسم لغة السي شارب C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=175)
+--- قسم : قسم اسئلة C#.NET (http://vb4arb.com/vb/forumdisplay.php?fid=176)
+--- الموضوع : [C#.NET] كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات (/showthread.php?tid=26743)

الصفحات: 1 2 3


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - abdalamask - 03-10-18

ارفع اليك مشروع مبسط  بدون ادوات dev

يوجد بية الكود المستخدم لترا وتشاهد بنفسك
https://up.top4top.net/downloadf-1006j7c4i1-7z.html


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - حريف برمجة - 03-10-18

(03-10-18, 10:25 PM)abdalamask كتب : انا فعلت مع الليبل هل يوجد غير ادات اليبل لتعطينى اكثر من سطر 

كود :
if (Pages == Page)
                   {
                       int X = int.Parse(library.q.surahs[Surah].ayat[i].X);
                       int Y = int.Parse(library.q.surahs[Surah].ayat[i].Y);
                       Double h = rand(X, Y);

                       int width = library.q.surahs[Surah].ayat[i].text.Length+100;
                       int height = 25;// int.Parse(library.q.surahs[Surah].ayat[i].height);


                       LBL_S1_A1 = new Label();
                       LBL_S1_A1.BackColor = Color.Transparent;
                       LBL_S1_A1.Location = new Point(X, Y);
                       LBL_S1_A1.Name = string.Format("Page{0}_S{1}_A{2}", Page, Surah, i);
                       LBL_S1_A1.Size = new Size(width,Convert.ToInt32(h));
                       LBL_S1_A1.MouseClick += new MouseEventHandler(this.LBL_S1_A1_MouseClick);
                       LBL_S1_A1.MouseLeave += new EventHandler(this.LBL_S1_A6_2_MouseLeave);
                       LBL_S1_A1.MouseHover += new EventHandler(this.LBL_S1_A6_2_MouseHover);
                       cot.Controls.Add(LBL_S1_A1);
                   }
فى هذا الكود  كما تقول ولكن اذا كانت الاية اكسر من سطر ماذا افعل

اعمل 2 ليبل او 3 للآيات متعددة الأسطر واعطي الليبل اسماء متشابهه او قريبه لكل آية .

مثلاً الآية رقم 34 تأتي على سطرين

تعمل 2 ليبل :
الأول اسمه lbl34_Line1
الثاني اسمه lbl34_Line2

وهكذا

او تعملها برمجياً .

انصحك بصديق معنا هنا في المنتدى شاهد مواضيعه دائم يتكلم عن الجرافيكس واقتطاع وتحديد اماكن معينه في الصور بالأكواد .

silverlight

إيجاد مواضيع العضو

ابحث في مواضيعه ستجد ان شاء الله ضالتك .


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - abdalamask - 03-10-18

انا قد تعلمت منة الكثير  وارجوا ان يشاركنا الموضوع silverlight

انا فى اول الامر فعلت ما قلت ولكن انت عندك 604 صفحة كيف سوف يتحمل المشروع مثل هذة الادة 

لذالك قد فعلتها برمجيا  واخذت  X + Y   width   height  

ولكن كل اية تجد انا ممكت ان تكون اكثر من سطر وتنتهى بنصف سطر   هذة هى المعضلة  

انا ابحث عن طريقة بدل اضافة الليبل  واضافة اداة تضلل الاية على حسب حجمها   ان كانت صغيرة او كبير   كما هى موجودة فلى برنامج ايات

http://quran.ksu.edu.sa/index.php#aya=2_283&m=hafs&qaree=husary&trans=ar_mu

ارجوا ان نصل الى هذة المعلومة المميزة


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - حريف برمجة - 04-10-18

(03-10-18, 11:43 PM)abdalamask كتب : انا فى اول الامر فعلت ما قلت ولكن انت عندك 604 صفحة كيف سوف يتحمل المشروع مثل هذة الادة 

لذالك قد فعلتها برمجيا  واخذت  X + Y   width   height  

ولكن كل اية تجد انا ممكت ان تكون اكثر من سطر وتنتهى بنصف سطر   هذة هى المعضلة  

انا ابحث عن طريقة بدل اضافة الليبل  واضافة اداة تضلل الاية على حسب حجمها   ان كانت صغيرة او كبير   كما هى موجودة فلى برنامج ايات

http://quran.ksu.edu.sa/index.php#aya=2_283&m=hafs&qaree=husary&trans=ar_mu

ارجوا ان نصل الى هذة المعلومة المميزة

شفت الرابط اللي وضعته يتم تحديد كل آية على حدة ..

تعمل مثلهم تحدد موقع كل آية أو تقص الآيات كل آية صورة .




RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - abdalamask - 04-10-18

ذالك بالنسبة للويب  اما بالنسبة للحاسوب 

يستخدمون  رقم لتحديد بداية الاية  ورقم لنهايتها 

مسجلة فى قاعدة بينات Sqlit

كيف ارسم ظل يبدا برقم البداية وينتى برقم النهاية  مهما كانت عدد اسطر الاية 

كيف احسب عدد اسطر الليبل بعرض 358

فكرتى تعتمد على ان اعطى الليبل الاية مهما كانت عرضها 
ثم احسب عدد الاسطر فى اللبل لحساب طول الاية ثم اظلل الاية


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - elgokr - 04-10-18

(02-10-18, 06:37 AM)abdalamask كتب : شكرا اخى على الاهتمام ولكن ليس هذا ما اريدة 


الفكرة هى عند تمرير الموس على الاية تظلل الاية كلها حتى ان كانت اكثر من سطر 

انا فعلت ان اظلل سطر واحد  

كيف اظلل الاية كلهههها حتى وان كانت سطر ونصف 
شكرا


فكرة الموقع وهى ما تحتاج الى تطبيقها فى البرنامج

حتى تتمكن من عمل المطلوب

أولاً الموقع يقوم بتقسيم كل اية بملف صوت مستقل تماماً
وكذلك الايات فكل اية مستقلة باطار خاص بها ايضاًَ

ثانياً المطلوب هو عمل التالى
تقسيم الايات فى List او ما سبه اى كان المطلوب
ويتم عند تنقل قراءة الاياة اذا ستقوم بعمل قراءة الاية صوتي 
عند التنقل من 1 الى 2 الى 3 وهو ترتيب الايات للملفات الصوتية يتم الانتقال
من 0 الى 1 الى 2 فى الايات التى تم تسجيلها فى List وما شبه والقيمة الخاصة بذلك
تتم بعمل تظليل طبقاً لما تم وصفه وشرحه من قبل الاخوة فى طريقة تظليل نص 

وبكده تكون اتممت ما تريده بكل بساطة وبدون اى مشكلة

اتمنى ان تكون الفكرة واضحة وبسيطة لك
وان الفكرة اصبحت ابسط مما كنت تريد

تحياتى لك
وتمنياتى لك التوفيق



RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - abdalamask - 05-10-18

قد فكرت فى طريقة وهى ان اجعل لكل صفحة كلاس خاص بة من اليبل 
كود :
 var p = new Page_1(Page);
                       p.eMouseLeave += this.LBL_S1_A6_2_MouseLeave;
                       p.eMouseClick += this.LBL_S1_A1_MouseClick;
                       p.eMouseHover += this.LBL_S1_A6_2_MouseHover;
كود :
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuranLibrary.ClassPages
{
   public delegate void dMouseLeave(object sender, EventArgs e);
    public delegate void dMouseHover(object sender, EventArgs e);
    public delegate void dMouseClick(object sender, MouseEventArgs e);
   public class Page_1 : Panel
   {
       public Color ColorMouseHover = Color.FromArgb(70, 185, 215, 252);
       public Color ColorMouseLeave = Color.FromArgb(0, 255, 255, 255);

       public event dMouseLeave eMouseLeave = null;
       public event dMouseHover eMouseHover = null;
       public event dMouseClick eMouseClick = null;
       private Label Page1_S0_A0;
     
       private Label Page1_S0_A1;
       private Label Page1_S0_A5_2;
       private Label Page1_S0_A5_1;
       private Label Page1_S0_A4;
       private Label Page1_S0_A3;
       private Label Page1_S0_A2;
       private Label Page1_S0_A6_3;
       private Label Page1_S0_A6_2;
       private Label Page1_S0_A6_1;
       public Page_1 (int  ImageNum1)
       {
           this.Page1_S0_A5_2 = new  Label();
           this.Page1_S0_A5_1 = new  Label();
           this.Page1_S0_A4 = new  Label();
           this.Page1_S0_A3 = new  Label();
           this.Page1_S0_A2 = new  Label();
           this.Page1_S0_A1 = new  Label();
           this.Page1_S0_A0 = new  Label();
           this.Page1_S0_A6_1 = new  Label();
           this.Page1_S0_A6_2 = new  Label();
           this.Page1_S0_A6_3 = new  Label();
           // panel1
           //
           this.BackgroundImage = Image.FromFile(Application.StartupPath + string.Format("\\images\\{0}.PNG", ImageNum1));
           this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
           this.Controls.Add(this.Page1_S0_A6_3);
           this.Controls.Add(this.Page1_S0_A6_2);
           this.Controls.Add(this.Page1_S0_A6_1);
           this.Controls.Add(this.Page1_S0_A5_2);
           this.Controls.Add(this.Page1_S0_A5_1);
           this.Controls.Add(this.Page1_S0_A4);
           this.Controls.Add(this.Page1_S0_A3);
           this.Controls.Add(this.Page1_S0_A2);
           this.Controls.Add(this.Page1_S0_A1);
           this.Controls.Add(this.Page1_S0_A0);
           this.AutoScroll = true;
           this.Dock = System.Windows.Forms.DockStyle.Fill;
           this.Location = new System.Drawing.Point(0, 0);
           this.Size = new System.Drawing.Size(462, 673);
           this.Name = "Page_1";
           this.TabIndex = 0;
           //
           // Page1_S1_A7_3
           //
           this.Page1_S0_A6_3.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A6_3.Location = new System.Drawing.Point(186, 446);
           this.Page1_S0_A6_3.Name = "Page1_S0_A6_3";
           this.Page1_S0_A6_3.Size = new System.Drawing.Size(93, 21);
           this.Page1_S0_A6_3.TabIndex = 9;
           this.Page1_S0_A6_3.Text = " ";
           this.Page1_S0_A6_3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A6_3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A6_3.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A6_3.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A7_2
           //
           this.Page1_S0_A6_2.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A6_2.Location = new System.Drawing.Point(155, 421);
           this.Page1_S0_A6_2.Name = "Page1_S0_A6_2";
           this.Page1_S0_A6_2.Size = new System.Drawing.Size(149, 21);
           this.Page1_S0_A6_2.TabIndex = 8;
           this.Page1_S0_A6_2.Text = " ";
           this.Page1_S0_A6_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A6_2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A6_2.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A6_2.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A7_1
           //
           this.Page1_S0_A6_1.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A6_1.Location = new System.Drawing.Point(125, 397);
           this.Page1_S0_A6_1.Name = "Page1_S0_A6_1";
           this.Page1_S0_A6_1.Size = new System.Drawing.Size(93, 21);
           this.Page1_S0_A6_1.TabIndex = 7;
           this.Page1_S0_A6_1.Text = " ";
           this.Page1_S0_A6_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A6_1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A6_1.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A6_1.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A6_2
           //
           this.Page1_S0_A5_2.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A5_2.Location = new System.Drawing.Point(233, 397);
           this.Page1_S0_A5_2.Name = "Page1_S0_A5_2";
           this.Page1_S0_A5_2.Size = new System.Drawing.Size(93, 21);
           this.Page1_S0_A5_2.TabIndex = 6;
           this.Page1_S0_A5_2.Text = " ";
           this.Page1_S0_A5_2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A5_2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A5_2.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A5_2.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A6_1
           //
           this.Page1_S0_A5_1.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A5_1.Location = new System.Drawing.Point(115, 368);
           this.Page1_S0_A5_1.Name = "Page1_S0_A5_1";
           this.Page1_S0_A5_1.Size = new System.Drawing.Size(48, 21);
           this.Page1_S0_A5_1.TabIndex = 5;
           this.Page1_S0_A5_1.Text = " ";
           this.Page1_S0_A5_1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A5_1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A5_1.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A5_1.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A5
           //
           this.Page1_S0_A4.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A4.Location = new System.Drawing.Point(164, 368);
           this.Page1_S0_A4.Name = "Page1_S0_A4";
           this.Page1_S0_A4.Size = new System.Drawing.Size(174, 21);
           this.Page1_S0_A4.TabIndex = 4;
           this.Page1_S0_A4.Text = " ";
           this.Page1_S0_A4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A4.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A4.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A4.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A4
           //
           this.Page1_S0_A3.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A3.Location = new System.Drawing.Point(118, 340);
           this.Page1_S0_A3.Name = "Page1_S0_A3";
           this.Page1_S0_A3.Size = new System.Drawing.Size(111, 21);
           this.Page1_S0_A3.TabIndex = 3;
           this.Page1_S0_A3.Text = " ";
           this.Page1_S0_A3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A3.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A3.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A3.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A3
           //
           this.Page1_S0_A2.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A2.Location = new System.Drawing.Point(236, 340);
           this.Page1_S0_A2.Name = "Page1_S0_A2";
           this.Page1_S0_A2.Size = new System.Drawing.Size(93, 21);
           this.Page1_S0_A2.TabIndex = 2;
           this.Page1_S0_A2.Text = " ";
           this.Page1_S0_A2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A2.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A2.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A2.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A2
           //
           this.Page1_S0_A1.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A1.Location = new System.Drawing.Point(144, 317);
           this.Page1_S0_A1.Name = "Page1_S0_A1";
           this.Page1_S0_A1.Size = new System.Drawing.Size(166, 21);
           this.Page1_S0_A1.TabIndex = 1;
           this.Page1_S0_A1.Text = " ";
           this.Page1_S0_A1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A1.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A1.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A1.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
           // Page1_S1_A1
           //
           this.Page1_S0_A0.BackColor = System.Drawing.Color.Transparent;
           this.Page1_S0_A0.Location = new System.Drawing.Point(161, 288);
           this.Page1_S0_A0.Name = "Page1_S0_A0";
           this.Page1_S0_A0.Size = new System.Drawing.Size(141, 21);
           this.Page1_S0_A0.TabIndex = 0;
           this.Page1_S0_A0.Text = " ";
           this.Page1_S0_A0.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
           this.Page1_S0_A0.MouseClick += new System.Windows.Forms.MouseEventHandler(this.Page1_S1_A7_3_Click);
           this.Page1_S0_A0.MouseLeave += new System.EventHandler(this.label1_MouseLeave);
           this.Page1_S0_A0.MouseHover += new System.EventHandler(this.label1_MouseHover);
           //
       }
       private void label1_MouseHover(object sender, EventArgs e)
       {
           if (eMouseHover != null) eMouseHover(sender, e);
           Label lb = (Label)sender;
           //if (lb.Name == "Page1_S1_A1")
           //    Page1_S0_A1.BackColor = ColorMouseHover;
           //if (lb.Name == "Page1_S1_A2")
           //    Page1_S0_A2.BackColor = ColorMouseHover;
           //if (lb.Name == "Page1_S1_A3")
           //    Page1_S0_A3.BackColor = ColorMouseHover;
           //if (lb.Name == "Page1_S1_A4")
           //    Page1_S0_A4.BackColor = ColorMouseHover;
           //if (lb.Name == "Page1_S1_A5")
           //    Page1_S0_A5.BackColor = ColorMouseHover;
           if (lb.Name == "Page1_S0_A5_1")
           {
               Page1_S0_A5_1.BackColor = ColorMouseHover;
               Page1_S0_A5_2.BackColor = ColorMouseHover;

           }
           if (lb.Name == "Page1_S0_A6_1")
           {
               Page1_S0_A6_1.BackColor = ColorMouseHover;
               Page1_S0_A6_2.BackColor = ColorMouseHover;
               Page1_S0_A6_3.BackColor = ColorMouseHover;

           }
       }

       private void label1_MouseLeave(object sender, EventArgs e)
       {
           Label lb = (Label)sender;
           if (eMouseLeave != null) eMouseLeave(sender, e);
           //if (lb.Name == "Page1_S1_A1")
           //    Page1_S1_A1.BackColor = ColorMouseLeave;
           //if (lb.Name == "Page1_S1_A2")
           //    Page1_S0_A2.BackColor = ColorMouseLeave;
           //if (lb.Name == "Page1_S1_A3")
           //    Page1_S0_A3.BackColor = ColorMouseLeave;
           //if (lb.Name == "Page1_S1_A4")
           //    Page1_S0_A4.BackColor = ColorMouseLeave;
           //if (lb.Name == "Page1_S1_A5")
           //    Page1_S0_A5.BackColor = ColorMouseLeave;
           if (lb.Name == "Page1_S0_A5_1")
           {
               Page1_S0_A5_1.BackColor = ColorMouseLeave;
               Page1_S0_A5_2.BackColor = ColorMouseLeave;

           } if (lb.Name == "Page1_S0_A6_1")
           {
               Page1_S0_A6_1.BackColor = ColorMouseLeave;
               Page1_S0_A6_2.BackColor = ColorMouseLeave;
               Page1_S0_A6_3.BackColor = ColorMouseLeave;

           }
       }
       private void Page1_S1_A7_3_Click(object sender, MouseEventArgs e)
       {
           if (eMouseClick != null) eMouseClick(sender, e);

       }
       
   }
}
ولكن المشكلة هى كيف استدعى فى كل مرة هذة الكلاس من دون استخدام قاعدة IF او قادة switch


كل ما اريدة الان ان اجد طريقة لستدعاء الكلاس برقم الصفحة  

يعنى الصفحة رقم واحد 

كود :
  var sName = string.Format("Page_{0}", Page);


                       var p = new sName (Page);
                       p.eMouseLeave += this.LBL_S1_A6_2_MouseLeave;
                       p.eMouseClick += this.LBL_S1_A1_MouseClick;
                       p.eMouseHover += this.LBL_S1_A6_2_MouseHover;
اخذ رقم اصفحة وادمجة مع جزء من اسم الكلاس فاستدعى الكلاس المطلوب 

لان المصحف 604 صفحة لن ينفع قاعدة IF او قادة switch 

ارجوا الرد


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - حريف برمجة - 05-10-18

ضع لاسماء الكلاسات ارقام الصفحات

dim className as String = pageNamber


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - abdalamask - 05-10-18

الفكرة تعتمد على قراءة الكلاس المناسب للصفحة  من ملف QuranLibrary.dll

كود :
   Assembly asm = Assembly.LoadFrom(Application.StartupPath + "\\QuranLibrary.dll");
               var allClasses = asm.GetTypes().Where(a => a.IsClass && a.Namespace != null && a.Namespace.Contains("QuranLibrary.ClassPages")).ToList();
               allClasses.ForEach(t => Console.WriteLine(t.Name));
               object newObject = Activator.CreateInstance(allClasses[0]);
               

                       var p = new Page_1(Page);
                       p.eMouseLeave += this.LBL_S1_A6_2_MouseLeave;
                       p.eMouseClick += this.LBL_S1_A1_MouseClick;
                       p.eMouseHover += this.LBL_S1_A6_2_MouseHover;
المشكلة انا newObject كيف استخدمة بدل Page_1 وعمل منة كائن جديد 


RE: كيفية عمل مثل هذا التضليل لاكثر من سطر فى برنامج ايات - elgokr - 05-10-18

مرحباً اخى abdalamask

اتمنى المثال البسيط على VB.NET
http://vb4arb.com/vb/showthread.php?tid=26799

يوضح لك عملية التظليل مع الصورة وقد يسهل الامر معك اكثر
وبخصوص النصوص فالامر بسيط والاخوة ما قصرت فى التوضيح الكامل

تحياتى لك
وتمنياتى لك التوفيق