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.Ribbon
Imports DevExpress.Xpf.Core
Namespace RibbonDemo
Partial Public Class RibbonWindow
Inherits RibbonDemoModule
Public Sub New()
InitializeComponent()
End Sub
Private Sub OpenDXWindow()
Dim Window As New SampleDXRibbonWindow()
Window.Width = Me.ActualWidth
Window.Height = Me.ActualHeight
Window.IsAeroMode = True
Dim pos As Point = Me.PointToScreen(New Point())
Window.Left = pos.X
Window.Top = pos.Y
Window.OwnerDemoModule = Me
Window.ShowDialog()
End Sub
Private Sub Button_Click(ByVal sender As Object, ByVal e As RoutedEventArgs)
OpenDXWindow()
End Sub
End Class
End Namespace