Mini Kabibi Habibi
Imports Microsoft.VisualBasic
Imports System
Imports System.Collections.Generic
Imports System.Linq
Imports System.Text
Imports System.Windows
Imports System.Windows.Controls
Imports System.Windows.Data
Imports System.Windows.Documents
Imports System.Windows.Input
Imports System.Windows.Media
Imports System.Windows.Media.Imaging
Imports System.Windows.Navigation
Imports System.Windows.Shapes
Imports DevExpress.Xpf.Bars
Imports DevExpress.XtraRichEdit
Imports System.Collections
Imports System.Windows.Markup
Imports DevExpress.Xpf.Core
Imports DevExpress.Xpf.Utils
Namespace BarsDemo
Partial Public Class ContextMenu
Inherits BarsDemoModule
Public Sub New()
InitializeComponent()
edit.Text = "Right click here to show the context menu"
End Sub
Protected Overridable Sub bCut_ItemClick(ByVal sender As Object, ByVal e As ItemClickEventArgs)
edit.Cut()
End Sub
Protected Overridable Sub bCopy_ItemClick(ByVal sender As Object, ByVal e As ItemClickEventArgs)
edit.Copy()
End Sub
Protected Overridable Sub bPaste_ItemClick(ByVal sender As Object, ByVal e As ItemClickEventArgs)
edit.Paste()
End Sub
Protected Overridable Sub bClear_ItemClick(ByVal sender As Object, ByVal e As ItemClickEventArgs)
edit.Clear()
End Sub
Protected Overridable Sub bSelectAll_ItemClick(ByVal sender As Object, ByVal e As ItemClickEventArgs)
edit.SelectAll()
End Sub
End Class
End Namespace