diff --git a/README.md b/README.md
index d7c5c4f..7ff4442 100644
--- a/README.md
+++ b/README.md
@@ -1,3 +1,5 @@
-# ServiceBus98
+# Service Bus 98
-A utility for sending messages to an Azure Service Bus Queue.
\ No newline at end of file
+A utility for sending messages to an Azure Service Bus Queue.
+
+
\ No newline at end of file
diff --git a/ServiceBus98/App.xaml b/ServiceBus98/App.xaml
index 7286576..6bc7af6 100644
--- a/ServiceBus98/App.xaml
+++ b/ServiceBus98/App.xaml
@@ -2,44 +2,80 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ServiceBus98"
+ xmlns:controls="clr-namespace:ServiceBus98.Controls"
StartupUri="MainWindow.xaml">
+ #008080
+ #1084D0
+ #000080
+ #DFDFDF
+ #C0C0C0
+ #808080
+
+ #1084D0
+ #000080
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+ -->
+
+
diff --git a/ServiceBus98/Controls/BeveledPresenter.xaml b/ServiceBus98/Controls/BeveledPresenter.xaml
new file mode 100644
index 0000000..e2ac3b5
--- /dev/null
+++ b/ServiceBus98/Controls/BeveledPresenter.xaml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ServiceBus98/Controls/BeveledPresenter.xaml.cs b/ServiceBus98/Controls/BeveledPresenter.xaml.cs
new file mode 100644
index 0000000..d759d1f
--- /dev/null
+++ b/ServiceBus98/Controls/BeveledPresenter.xaml.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace ServiceBus98.Controls
+{
+ ///
+ /// Interaction logic for BeveledPresenter.xaml
+ ///
+ public partial class BeveledPresenter : UserControl
+ {
+ public BeveledPresenter()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/ServiceBus98/Controls/Button9x.xaml b/ServiceBus98/Controls/Button9x.xaml
new file mode 100644
index 0000000..86ec05d
--- /dev/null
+++ b/ServiceBus98/Controls/Button9x.xaml
@@ -0,0 +1,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ServiceBus98/Controls/Button9x.xaml.cs b/ServiceBus98/Controls/Button9x.xaml.cs
new file mode 100644
index 0000000..eb118d7
--- /dev/null
+++ b/ServiceBus98/Controls/Button9x.xaml.cs
@@ -0,0 +1,35 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace ServiceBus98.Controls
+{
+ ///
+ /// Interaction logic for Button9x.xaml
+ ///
+ public partial class Button9x : UserControl
+ {
+ public Button9x()
+ {
+ InitializeComponent();
+ }
+
+ public event EventHandler Click = null!;
+
+ private void Button_Click(object sender, RoutedEventArgs e)
+ {
+ Click?.Invoke(this, e);
+ }
+ }
+}
diff --git a/ServiceBus98/Controls/Titlebar9x.xaml b/ServiceBus98/Controls/Titlebar9x.xaml
new file mode 100644
index 0000000..56dc659
--- /dev/null
+++ b/ServiceBus98/Controls/Titlebar9x.xaml
@@ -0,0 +1,20 @@
+
+
+
+
+
+
+
+
+
+
+ X
+
+
+
diff --git a/ServiceBus98/Controls/Titlebar9x.xaml.cs b/ServiceBus98/Controls/Titlebar9x.xaml.cs
new file mode 100644
index 0000000..4fe655f
--- /dev/null
+++ b/ServiceBus98/Controls/Titlebar9x.xaml.cs
@@ -0,0 +1,31 @@
+using System.Windows;
+using System.Windows.Controls;
+
+namespace ServiceBus98.Controls
+{
+ ///
+ /// Interaction logic for Titlebar9x.xaml
+ ///
+ public partial class Titlebar9x : UserControl
+ {
+ public Titlebar9x()
+ {
+ InitializeComponent();
+ //MessageBox.Show();
+ TitlebarText.Text = Application.Current.MainWindow.Title;
+ }
+
+ private void DockPanel_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
+ {
+ if (e.ChangedButton == System.Windows.Input.MouseButton.Left)
+ {
+ Application.Current.MainWindow.DragMove();
+ }
+ }
+
+ private void Button9x_Click(object sender, EventArgs e)
+ {
+ Application.Current.Shutdown();
+ }
+ }
+}
diff --git a/ServiceBus98/Controls/Window9x.xaml b/ServiceBus98/Controls/Window9x.xaml
new file mode 100644
index 0000000..9802ffe
--- /dev/null
+++ b/ServiceBus98/Controls/Window9x.xaml
@@ -0,0 +1,40 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/ServiceBus98/Controls/Window9x.xaml.cs b/ServiceBus98/Controls/Window9x.xaml.cs
new file mode 100644
index 0000000..ae016cb
--- /dev/null
+++ b/ServiceBus98/Controls/Window9x.xaml.cs
@@ -0,0 +1,28 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace ServiceBus98.Controls
+{
+ ///
+ /// Interaction logic for Window9x.xaml
+ ///
+ public partial class Window9x : UserControl
+ {
+ public Window9x()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/ServiceBus98/MainWindow.xaml b/ServiceBus98/MainWindow.xaml
index 4edbfeb..c907911 100644
--- a/ServiceBus98/MainWindow.xaml
+++ b/ServiceBus98/MainWindow.xaml
@@ -3,58 +3,241 @@
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:local="clr-namespace:ServiceBus98"
+ xmlns:controls="clr-namespace:ServiceBus98.Controls"
mc:Ignorable="d"
- Title="Service Bus 98" Height="480" Width="640"
- Background="#C3C3C3"
+ Title="Service Bus 98" Height="600" Width="800"
+ Background="{StaticResource Gray}"
WindowStartupLocation="CenterScreen"
ResizeMode="NoResize"
+ WindowStyle="None"
>
-
+
+
+
-
-
-
-
-
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
+
+
+
+
+
-
-
-
-
+
-
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
- Status: Idle
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ServiceBusQueue
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ More Service Bus Action
+
+
+
+
+
+ Status: Idle
+
+
+
+
+
+
diff --git a/ServiceBus98/MainWindow.xaml.cs b/ServiceBus98/MainWindow.xaml.cs
index beae5d9..e4e7b3e 100644
--- a/ServiceBus98/MainWindow.xaml.cs
+++ b/ServiceBus98/MainWindow.xaml.cs
@@ -1,4 +1,5 @@
using System.Windows;
+using System.Windows.Controls;
using Azure.Messaging.ServiceBus;
namespace ServiceBus98;
@@ -13,6 +14,41 @@ public partial class MainWindow : Window
InitializeComponent();
}
+ private void MenuItem_Click(object sender, RoutedEventArgs e)
+ {
+ MessageBox.Show("Clicked");
+ }
+
+ private void CommandBinding_Executed(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
+ {
+ MessageBox.Show("New Connection");
+ }
+
+ private void CommandBinding_CanExecute(object sender, System.Windows.Input.CanExecuteRoutedEventArgs e)
+ {
+ Control target = (Control)e.Source;
+
+ if (target != null)
+ {
+ e.CanExecute = true;
+ }
+ else
+ {
+ e.CanExecute = false;
+ }
+ }
+
+ private void MenuItem_Click_1(object sender, RoutedEventArgs e)
+ {
+ this.Close();
+ }
+
+ private void CommandBinding_Executed_1(object sender, System.Windows.Input.ExecutedRoutedEventArgs e)
+ {
+ MessageBox.Show("Open git.ratermania.net");
+ }
+
+ /*
private async void Send_Click(object sender, RoutedEventArgs e)
{
if (string.IsNullOrEmpty(ConnectionString.Text))
@@ -72,4 +108,5 @@ public partial class MainWindow : Window
StatusText.Text = "Status: Idle";
}
}
+ */
}
\ No newline at end of file
diff --git a/ServiceBus98/MultilineTextBox9x.xaml b/ServiceBus98/MultilineTextBox9x.xaml
index 598486c..0912a4f 100644
--- a/ServiceBus98/MultilineTextBox9x.xaml
+++ b/ServiceBus98/MultilineTextBox9x.xaml
@@ -6,9 +6,9 @@
xmlns:local="clr-namespace:ServiceBus98"
mc:Ignorable="d">
-
+
-
+
diff --git a/ServiceBus98/ServiceBus98.csproj b/ServiceBus98/ServiceBus98.csproj
index 6ad54a6..6923ea1 100644
--- a/ServiceBus98/ServiceBus98.csproj
+++ b/ServiceBus98/ServiceBus98.csproj
@@ -8,8 +8,16 @@
true
+
+
+
+
+
+
+
+
diff --git a/ServiceBus98/TextBox9x.xaml b/ServiceBus98/TextBox9x.xaml
index 92e3aeb..0ae337e 100644
--- a/ServiceBus98/TextBox9x.xaml
+++ b/ServiceBus98/TextBox9x.xaml
@@ -7,9 +7,9 @@
mc:Ignorable="d">
-
+
-
+
diff --git a/ServiceBus98/Windows/About.xaml b/ServiceBus98/Windows/About.xaml
new file mode 100644
index 0000000..dbb219f
--- /dev/null
+++ b/ServiceBus98/Windows/About.xaml
@@ -0,0 +1,17 @@
+
+
+
+
+
+
+
+
+
+
diff --git a/ServiceBus98/Windows/About.xaml.cs b/ServiceBus98/Windows/About.xaml.cs
new file mode 100644
index 0000000..d9a189b
--- /dev/null
+++ b/ServiceBus98/Windows/About.xaml.cs
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Shapes;
+
+namespace ServiceBus98
+{
+ ///
+ /// Interaction logic for About.xaml
+ ///
+ public partial class About : Window
+ {
+ public About()
+ {
+ InitializeComponent();
+ }
+ }
+}
diff --git a/ServiceBus98/icons/envelope.ico b/ServiceBus98/icons/envelope.ico
new file mode 100644
index 0000000..41dcaad
Binary files /dev/null and b/ServiceBus98/icons/envelope.ico differ
diff --git a/ServiceBus98/original.txt b/ServiceBus98/original.txt
new file mode 100644
index 0000000..5dd34ff
--- /dev/null
+++ b/ServiceBus98/original.txt
@@ -0,0 +1,46 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Status: Idle
+
+
+
+
\ No newline at end of file