منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب

نسخة كاملة : سحب الرقم CountryLst
أنت حالياً تتصفح نسخة خفيفة من المنتدى . مشاهدة نسخة كاملة مع جميع الأشكال الجمالية .
سلام عليكم ورحمة الله وبركاته:
أبي إذا فتح البرنامج يكون CountryLst.SelectedIndex
علئ الرقم الي كان عليه يوم سكرت البرنامج
كود :
Properties.Settings.Default.chacbox = CountryLst.SelectedIndex;

            Properties.Settings.Default.Save();
في خطئ ؟؟؟
Form1_Load event
PHP كود :
private void Form1_Load(object senderEventArgs e)
{
    
CountryLst.SelectedIndex Properties.Settings.Default.chacbox;


Form1_FormClosing event
PHP كود :
private void Form1_FormClosing(object senderFormClosingEventArgs e)
{

    
Properties.Settings.Default.chacbox CountryLst.SelectedIndex;

    
Properties.Settings.Default.Save();

(07-12-16, 12:50 AM)amgad525 كتب : [ -> ]Form1_Load event
PHP كود :
private void Form1_Load(object senderEventArgs e)
{
 
   CountryLst.SelectedIndex Properties.Settings.Default.chacbox;


Form1_FormClosing event
PHP كود :
private void Form1_FormClosing(object senderFormClosingEventArgs e)
{

 
   Properties.Settings.Default.chacbox CountryLst.SelectedIndex;

 
   Properties.Settings.Default.Save();



يوجد خطئ علئ  CountryLst.SelectedIndex
Settings > chacbox > int
(08-12-16, 12:25 AM)amgad525 كتب : [ -> ]Settings > chacbox > int

يعطيك الفافيه