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

نسخة كاملة : كيف يمكنني الضغط على DataGridView_CellFormatting عبر Button1
أنت حالياً تتصفح نسخة خفيفة من المنتدى . مشاهدة نسخة كاملة مع جميع الأشكال الجمالية .
حطيت الكود هذا وما زبط معي ... اريد الضغط او الإتصال بي Customers1DataGridView_CellFormatting عبر Button ولم يزبط معي
Customers1DataGridView_CellFormatting(sender, e)



PHP كود :
Private Sub Customers1DataGridView_CellFormatting(sender As ObjectAs DataGridViewCellFormattingEventArgsHandles Customers1DataGridView.CellFormatting

     End sub

    
Private Sub Button1_Click(sender As ObjectAs EventArgsHandles Button1.Click
     Customers1DataGridView_CellFormatting
(sendere)
    
End Sub 
جرب ما يلي
PHP كود :
Private Sub Button1_Click(sender As ObjectAs EventArgsHandles Button1.Click       
        Customers1DataGridView_CellFormatting
(NothingNothing)
 
   End Sub