منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب
كيف يمكنني الضغط على DataGridView_CellFormatting عبر Button1 - نسخة قابلة للطباعة

+- منتدى فيجوال بيسك لكل العرب | منتدى المبرمجين العرب (http://vb4arb.com/vb)
+-- قسم : قسم لغة الفيجوال بيسك VB.NET (http://vb4arb.com/vb/forumdisplay.php?fid=182)
+--- قسم : قسم اسئلة VB.NET (http://vb4arb.com/vb/forumdisplay.php?fid=183)
+--- الموضوع : كيف يمكنني الضغط على DataGridView_CellFormatting عبر Button1 (/showthread.php?tid=49355)



كيف يمكنني الضغط على DataGridView_CellFormatting عبر Button1 - moh61 - 26-06-24

حطيت الكود هذا وما زبط معي ... اريد الضغط او الإتصال بي 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 



RE: كيف يمكنني الضغط على DataGridView_CellFormatting عبر Button1 - asmarsou - 27-06-24

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