This commit is contained in:
2024-02-23 06:58:53 -05:00
commit 732db8235b
211 changed files with 37084 additions and 0 deletions

39
FloatingWindow.xaml.cs Normal file
View File

@@ -0,0 +1,39 @@
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 TradeBlotter
{
/// <summary>
/// Interaction logic for FloatingWindow.xaml
/// </summary>
public partial class FloatingWindow : Window
{
public FloatingWindow()
{
InitializeComponent();
}
private void wndMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
DragMove();
}
private void wndMouseDoubleClick(object sender, MouseButtonEventArgs e)
{
Top=(SystemParameters.VirtualScreenTop+SystemParameters.VirtualScreenHeight)-Height;
Left=0;
Width=SystemParameters.VirtualScreenWidth;
Topmost=true;
}
}
}