mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 13:06:31 +00:00
rework to Azaion.Suite, show tabs with annotator and dataset explorer
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Input;
|
||||
|
||||
namespace Azaion.Launcher;
|
||||
|
||||
public partial class Loader : Window
|
||||
{
|
||||
public Loader()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void RunClick(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Process.Start("Azaion.Suite.exe", $"-e {TbEmail.Text} -p {TbPassword.Password}");
|
||||
}
|
||||
|
||||
private void CloseClick(object sender, RoutedEventArgs e) => Close();
|
||||
|
||||
private void MainMouseMove(object sender, MouseEventArgs e)
|
||||
{
|
||||
if (e.OriginalSource is Button || e.OriginalSource is TextBox)
|
||||
return;
|
||||
|
||||
if (e.LeftButton == MouseButtonState.Pressed)
|
||||
DragMove();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user