منتدى أحلـــى كـــلام
عزيزى الزائر

كونك زائر غير مسجل

* سيتم عرض اعلانات لك، هذه الاعلانات لا تظهر للاعظاء.
* لن تتمكن من مشاهدة بعض محتويات مواضيعنا.

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

SiteAdmin

انضم إلى المنتدى ، فالأمر سريع وسهل

منتدى أحلـــى كـــلام
عزيزى الزائر

كونك زائر غير مسجل

* سيتم عرض اعلانات لك، هذه الاعلانات لا تظهر للاعظاء.
* لن تتمكن من مشاهدة بعض محتويات مواضيعنا.

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

SiteAdmin
منتدى أحلـــى كـــلام
هل تريد التفاعل مع هذه المساهمة؟ كل ما عليك هو إنشاء حساب جديد ببضع خطوات أو تسجيل الدخول للمتابعة.

استخدام الاداة Data Grid فى Visual basic 6 و Dot Net

اذهب الى الأسفل

استخدام الاداة Data Grid فى Visual basic 6 و Dot Net  Empty استخدام الاداة Data Grid فى Visual basic 6 و Dot Net

مُساهمة من طرف 123 الأربعاء يونيو 08, 2011 8:56 am

استخدام الاداة Data Grid فى Visual basic 6 و Dot Net


لكل من انتقل من Visual basic 6 الى Visual studio 2005 أو .net اليكم الخصائص والوسائل والاحداث
الخاصة باداة التحكم Data Grid فى Visual basic 6 وما يقابلها فى Visual
studio 2005 وهو تقريبا متوافق مع
Visual dot Net :


Properties



Visual Basic 6.0

Visual Basic 2005 Equivalent

AddNewMode

New implementation. Data operations are
handled in the data source. For more information.


Align

Dock and Anchor

AllowAddNew

AllowNew (BindingSource)

AllowArrows

No longer an adjustable property; arrow
navigation always allowed. For more information.


AllowDelete

AllowRemove (BindingSource)

AllowRowSizing

AllowUserToResizeRows

AllowUpdate

AllowEdit (BindingSource)

Appearance

New implementation. For more information.

ApproxCount

New implementation. Data operations are
handled in the data source. For more information.


BackColor

BackgroundColor

Bookmark

New implementation. You can now directly
access any item.


Caption

New implementation. Use a Label control
to simulate a title bar.


Col

SelectedColumns

ColumnHeaders

ColumnHeadersVisible

Container

Parent; inherited from Control.

CurrentCellModified

IsCurrentCellDirty, IsCurrentCellInEditMode

CurrentCellVisible

CurrentCell

DataChanged

IsCurrentCellDirty, IsCurrentRowDirty

DataFormats

DataGridViewCellStyle.object.

DefColWidth

Width DataGridViewColumn object.

DragIcon

DragMode

New implementation. For more information.

EditActive

IsCurrentCellInEditMode

FirstRow

FirstDisplayedScrollingRowIndex

Font

FontBold

FontItalic

FontName

FontSize

FontStrikethrough

FontUnderline

Font

ForeColor

ForeColor

HeadFont

DataGridViewCellStyle object.

HeadLines

No direct equivalent. Use the WrapMode
property of the DataGridViewCellStyle object in combination with ColumnHeadersHeight.


Height

Height, inherited from Control class.

HelpContextID

New implementation. For more information.

hWnd

Handle

hWndEditor

New implementation. Use Handle.

Index

New implementation. For more information.

Left

Left, inherited from Control class.

LeftCol

FirstDisplayedScrollingColumnIndex

MarqueeStyle

No direct equivalent. Use the SelectionMode,
CellBorderStyle, and Format properties.


RecordSelectors

RowHeadersVisible

Row

SelectedRows

RowDividerStyle

GridColor, CellBorderStyle, RowHeadersBorderStyle,
ColumnHeadersBorderStyle properties.


RowHeight

Height

SelBookmarks

New implementation. You can now directly
access any item.


SelEndCol

SelStartCol

SelectedCells, SelectedColumns

SelLength

No direct equivalent. Use the SelectionLength
property in the EditingControlShowing event handler.


SelStart

No direct equivalent. Use the SelectionStart
property in the EditingControlShowing event handler.


SelText

No direct equivalent. Use the SelectedText
property in the EditingControlShowing event handler.


Split

Splits

TabAcrossSplits

New implementation. Split views are not
directly supported; use a SplitContainer control.


TabAction

StandardTab

Tag

New implementation.

Text

CurrentCell.Value

ToolTipText

ToolTip component

Top

Top

VisibleCols

DisplayedColumnCount method.

VisibleRows

DisplayedRowCount method.

WhatsThisHelpID

New implementation. For more information.

Width

Width, inherited from Control class.

WrapCellPointer

No longer an adjustable property; default
behavior is WrapCellPointer = True.


123
عضو نشط
عضو نشط

عدد المساهمات : 34
نقاط : 164
تقييم العضو : 0
تاريخ التسجيل : 15/06/2010

الرجوع الى أعلى الصفحة اذهب الى الأسفل

استخدام الاداة Data Grid فى Visual basic 6 و Dot Net  Empty الوسائل والاحداث

مُساهمة من طرف 123 الأربعاء يونيو 08, 2011 8:58 am

Methods



Visual Basic 6.0

Visual Basic 2005 Equivalent

CaptureImage

New implementation. Capturing the contents of
a DataGridView control to a PictureBox control is not
supported.


ClearFields

New implementation. Column formatting is
automatic when re-binding.


ClearSelCols

ClearSelection

ColContaining

IndexOf (DataGridViewColumnCollection)

Drag

New implementation. For more information..

GetBookmark

New implementation. Bookmarks are no longer
supported.


HoldFields

New implementation. Column formatting is
preserved when rebinding.


Move

SetBounds, inherited from Control class.

Rebind

ResetBindings, inherited from Control
class.


RowBookmark

New implementation. Bookmarks are no longer
supported.


RowContaining

IndexOf (DataGridViewColumnCollection)

RowTop

GetContentBounds (DataGridViewCell)

Scroll

New implementation method. Use the CurrentCell
property.


SetFocus

Focus

ShowWhatsThis

New implementation. For more information..

SplitContaining

New implementation. Split views are not
directly supported; use a SplitContainer control.


ZOrder

BringToFront()or SendToBack()functions




Events




Visual Basic 6.0

Visual Basic 2005 Equivalent

AfterColEdit

CellEndEdit

AfterColUpdate

AfterDelete

New implementation. Data operations are
handled in the data source. For more information..


AfterUpdate

RowsAdded

BeforeColEdit

CellBeginEdit

BeforeColUpdate

BeforeDelete

BeforeInsert

BeforeUpdate

New implementation. Data operations are
handled in the data source. For more information..


ButtonClick

Click (Button control)

Change

TextChanged

Click

SelectedIndexChanged

ColEdit

CellBeginEdit

ColResize

ColumnWidthChanged

DblClick

CellMouseDoubleClick

DragDrop

DragOver

New implementation. For more information.

Error

DataError

HeadClick

ColumnHeaderMouseClick

MouseDown

CellMouseDown

MouseMove

CellMouseMove

MouseUp

CellMouseUp

OLECompleteDrag

OLEDragDrop

OLEDragOver

OLEGiveFeedback

OLESetData

OLEStartDrag

New implementation. For more information.

OnAddNew

RowsAdded

RowColChange

CurrentCellChanged

RowResize

RowHeightChanged

SelChange

SelectionChanged

SplitChange

New implementation. Split views are not
directly supported; use a SplitContainer control.


Validate

Validating

123
عضو نشط
عضو نشط

عدد المساهمات : 34
نقاط : 164
تقييم العضو : 0
تاريخ التسجيل : 15/06/2010

الرجوع الى أعلى الصفحة اذهب الى الأسفل

الرجوع الى أعلى الصفحة

- مواضيع مماثلة

 
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى