Init
This commit is contained in:
39
FloatingWindow.xaml.cs
Normal file
39
FloatingWindow.xaml.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user