first
This commit is contained in:
commit
7df29eaed7
17
AdminWindow.axaml
Normal file
17
AdminWindow.axaml
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.AdminWindow"
|
||||||
|
Title="AdminWindow">
|
||||||
|
<Border Background="Bisque">
|
||||||
|
<DockPanel>
|
||||||
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||||
|
<Image x:Name="Image" Width="150" Height="150"/>
|
||||||
|
<TextBlock x:Name="FioName" Foreground="Black"/>
|
||||||
|
<TextBlock x:Name="RoleName" Foreground="Black"/>
|
||||||
|
</StackPanel>
|
||||||
|
</DockPanel>
|
||||||
|
</Border>
|
||||||
|
</Window>
|
26
AdminWindow.axaml.cs
Normal file
26
AdminWindow.axaml.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
using Avalonia.Media.Imaging;
|
||||||
|
using dmeo040225.Models;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class AdminWindow : Window
|
||||||
|
{
|
||||||
|
public AdminWindow(User user)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
using var context = new DatabaseContext();
|
||||||
|
var role = context.Roles.FirstOrDefault(it => it.Id == user.RoleId).Name;
|
||||||
|
|
||||||
|
Image.Source = new Bitmap(user.Photopath);
|
||||||
|
FioName.Text = user.Fio;
|
||||||
|
RoleName.Text = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
10
App.axaml
Normal file
10
App.axaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<Application xmlns="https://github.com/avaloniaui"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
x:Class="dmeo040225.App"
|
||||||
|
RequestedThemeVariant="Default">
|
||||||
|
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
||||||
|
|
||||||
|
<Application.Styles>
|
||||||
|
<FluentTheme />
|
||||||
|
</Application.Styles>
|
||||||
|
</Application>
|
23
App.axaml.cs
Normal file
23
App.axaml.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls.ApplicationLifetimes;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class App : Application
|
||||||
|
{
|
||||||
|
public override void Initialize()
|
||||||
|
{
|
||||||
|
AvaloniaXamlLoader.Load(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void OnFrameworkInitializationCompleted()
|
||||||
|
{
|
||||||
|
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
|
||||||
|
{
|
||||||
|
desktop.MainWindow = new MainWindow();
|
||||||
|
}
|
||||||
|
|
||||||
|
base.OnFrameworkInitializationCompleted();
|
||||||
|
}
|
||||||
|
}
|
9
ClientWindow.axaml
Normal file
9
ClientWindow.axaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.ClientWindow"
|
||||||
|
Title="ClientWindow">
|
||||||
|
Welcome to Avalonia!
|
||||||
|
</Window>
|
13
ClientWindow.axaml.cs
Normal file
13
ClientWindow.axaml.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class ClientWindow : Window
|
||||||
|
{
|
||||||
|
public ClientWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
9
GetOrderWindow.axaml
Normal file
9
GetOrderWindow.axaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.GetOrderWindow"
|
||||||
|
Title="GetOrderWindow">
|
||||||
|
Welcome to Avalonia!
|
||||||
|
</Window>
|
13
GetOrderWindow.axaml.cs
Normal file
13
GetOrderWindow.axaml.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class GetOrderWindow : Window
|
||||||
|
{
|
||||||
|
public GetOrderWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
16
MainWindow.axaml
Normal file
16
MainWindow.axaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.MainWindow"
|
||||||
|
Title="dmeo040225">
|
||||||
|
<DockPanel Background="Bisque">
|
||||||
|
<StackPanel Spacing="15" Width="200" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||||
|
<TextBox Watermark="login" x:Name="LoginName" Background="LightGray"/>
|
||||||
|
<TextBox Watermark="password" x:Name="PasswordName" Background="LightGray"/>
|
||||||
|
<Button x:Name="TogglePasswordVisibility" Content="Show" Background="LightGray" Click="TogglePasswordVisibilityClick"/>
|
||||||
|
<Button Content="AUTH" Background="LightGray" Click="Authorization"/>
|
||||||
|
</StackPanel>
|
||||||
|
</DockPanel>
|
||||||
|
</Window>
|
113
MainWindow.axaml.cs
Normal file
113
MainWindow.axaml.cs
Normal file
@ -0,0 +1,113 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.IO;
|
||||||
|
using System.Linq;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Interactivity;
|
||||||
|
using Avalonia.Media.Imaging;
|
||||||
|
using dmeo040225.Models;
|
||||||
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class MainWindow : Window
|
||||||
|
{
|
||||||
|
private bool _isPasswordVisible;
|
||||||
|
private List<User>? users;
|
||||||
|
public MainWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
using var context = new DatabaseContext();
|
||||||
|
|
||||||
|
users = context.Users.Select(it => new User
|
||||||
|
{
|
||||||
|
Id = it.Id,
|
||||||
|
Role = it.Role,
|
||||||
|
Fio = it.Fio,
|
||||||
|
Login = it.Login,
|
||||||
|
Password = it.Password,
|
||||||
|
}).ToList();
|
||||||
|
PasswordName.PasswordChar = '*';
|
||||||
|
}
|
||||||
|
|
||||||
|
public class UserPresenter() : User
|
||||||
|
{
|
||||||
|
Bitmap? Image
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string absolutePath = Path.Combine(AppContext.BaseDirectory, Photopath);
|
||||||
|
return new Bitmap(absolutePath);
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Authorization(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var login = LoginName.Text;
|
||||||
|
var password = PasswordName.Text;
|
||||||
|
|
||||||
|
using var context = new DatabaseContext();
|
||||||
|
var user = context.Users.FirstOrDefault(it => it.Login == login);
|
||||||
|
if (user.Password == password)
|
||||||
|
{
|
||||||
|
user.Lastlogin = DateTime.Now;
|
||||||
|
user.Logorno = true;
|
||||||
|
context.Users.Update(user);
|
||||||
|
context.SaveChanges();
|
||||||
|
Console.WriteLine($"Success {user.Fio}");
|
||||||
|
|
||||||
|
switch (user.RoleId)
|
||||||
|
{
|
||||||
|
case 1:
|
||||||
|
ClientWindow clientWindow = new ClientWindow();
|
||||||
|
clientWindow.ShowDialog(this);
|
||||||
|
break;
|
||||||
|
case 2:
|
||||||
|
SellerWindow sellerWindow = new SellerWindow(user);
|
||||||
|
sellerWindow.ShowDialog(this);
|
||||||
|
break;
|
||||||
|
case 3:
|
||||||
|
OlderWindow olderWindow = new OlderWindow(user);
|
||||||
|
olderWindow.ShowDialog(this);
|
||||||
|
break;
|
||||||
|
case 4:
|
||||||
|
AdminWindow adminWindow = new AdminWindow(user);
|
||||||
|
adminWindow.ShowDialog(this);
|
||||||
|
break;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
user.Lastlogin = DateTime.Now;
|
||||||
|
user.Logorno = false;
|
||||||
|
context.Users.Update(user);
|
||||||
|
context.SaveChanges();
|
||||||
|
Console.WriteLine("nah");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void TogglePasswordVisibilityClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
_isPasswordVisible = !_isPasswordVisible;
|
||||||
|
|
||||||
|
if (_isPasswordVisible)
|
||||||
|
{
|
||||||
|
PasswordName.PasswordChar = '\0';
|
||||||
|
TogglePasswordVisibility.Content = "Hide";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
PasswordName.PasswordChar = '•';
|
||||||
|
TogglePasswordVisibility.Content = "Show";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
156
Models/DatabaseContext.cs
Normal file
156
Models/DatabaseContext.cs
Normal file
@ -0,0 +1,156 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using Microsoft.EntityFrameworkCore;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class DatabaseContext : DbContext
|
||||||
|
{
|
||||||
|
public DatabaseContext()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public DatabaseContext(DbContextOptions<DatabaseContext> options)
|
||||||
|
: base(options)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual DbSet<Order> Orders { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<OrdersService> OrdersServices { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<Role> Roles { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<Service> Services { get; set; }
|
||||||
|
|
||||||
|
public virtual DbSet<User> Users { get; set; }
|
||||||
|
|
||||||
|
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
|
||||||
|
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see https://go.microsoft.com/fwlink/?LinkId=723263.
|
||||||
|
=> optionsBuilder.UseNpgsql("Host=localhost;Database=postgres;Username=postgres;Password=5432");
|
||||||
|
|
||||||
|
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||||
|
{
|
||||||
|
modelBuilder.Entity<Order>(entity =>
|
||||||
|
{
|
||||||
|
entity.HasKey(e => e.Id).HasName("orders_pkey");
|
||||||
|
|
||||||
|
entity.ToTable("orders");
|
||||||
|
|
||||||
|
entity.Property(e => e.Id).HasColumnName("id");
|
||||||
|
entity.Property(e => e.Code)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("code");
|
||||||
|
entity.Property(e => e.Orderdata)
|
||||||
|
.HasColumnType("timestamp without time zone")
|
||||||
|
.HasColumnName("orderdata");
|
||||||
|
entity.Property(e => e.Ordertime).HasColumnName("ordertime");
|
||||||
|
entity.Property(e => e.Orederclosetime)
|
||||||
|
.HasColumnType("timestamp without time zone")
|
||||||
|
.HasColumnName("orederclosetime");
|
||||||
|
entity.Property(e => e.Prokattime).HasColumnName("prokattime");
|
||||||
|
entity.Property(e => e.Status)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("status");
|
||||||
|
entity.Property(e => e.UserId).HasColumnName("user_id");
|
||||||
|
|
||||||
|
entity.HasOne(d => d.User).WithMany(p => p.Orders)
|
||||||
|
.HasForeignKey(d => d.UserId)
|
||||||
|
.HasConstraintName("orders_user_id_fkey");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity<OrdersService>(entity =>
|
||||||
|
{
|
||||||
|
entity
|
||||||
|
.HasNoKey()
|
||||||
|
.ToTable("orders_services");
|
||||||
|
|
||||||
|
entity.Property(e => e.OrderId).HasColumnName("order_id");
|
||||||
|
entity.Property(e => e.ServiceId).HasColumnName("service_id");
|
||||||
|
|
||||||
|
entity.HasOne(d => d.Order).WithMany()
|
||||||
|
.HasForeignKey(d => d.OrderId)
|
||||||
|
.HasConstraintName("orders_services_order_id_fkey");
|
||||||
|
|
||||||
|
entity.HasOne(d => d.Service).WithMany()
|
||||||
|
.HasForeignKey(d => d.ServiceId)
|
||||||
|
.HasConstraintName("orders_services_service_id_fkey");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity<Role>(entity =>
|
||||||
|
{
|
||||||
|
entity.HasKey(e => e.Id).HasName("role_pkey");
|
||||||
|
|
||||||
|
entity.ToTable("role");
|
||||||
|
|
||||||
|
entity.Property(e => e.Id).HasColumnName("id");
|
||||||
|
entity.Property(e => e.Name)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("name");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity<Service>(entity =>
|
||||||
|
{
|
||||||
|
entity.HasKey(e => e.Id).HasName("services_pkey");
|
||||||
|
|
||||||
|
entity.ToTable("services");
|
||||||
|
|
||||||
|
entity.Property(e => e.Id).HasColumnName("id");
|
||||||
|
entity.Property(e => e.Code)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("code");
|
||||||
|
entity.Property(e => e.Cost)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("cost");
|
||||||
|
entity.Property(e => e.Name)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("name");
|
||||||
|
});
|
||||||
|
|
||||||
|
modelBuilder.Entity<User>(entity =>
|
||||||
|
{
|
||||||
|
entity.HasKey(e => e.Id).HasName("users_pkey");
|
||||||
|
|
||||||
|
entity.ToTable("users");
|
||||||
|
|
||||||
|
entity.Property(e => e.Id).HasColumnName("id");
|
||||||
|
entity.Property(e => e.Adress)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("adress");
|
||||||
|
entity.Property(e => e.Birthday)
|
||||||
|
.HasColumnType("timestamp without time zone")
|
||||||
|
.HasColumnName("birthday");
|
||||||
|
entity.Property(e => e.Codeclient)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("codeclient");
|
||||||
|
entity.Property(e => e.Fio)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("fio");
|
||||||
|
entity.Property(e => e.Lastlogin)
|
||||||
|
.HasColumnType("timestamp without time zone")
|
||||||
|
.HasColumnName("lastlogin");
|
||||||
|
entity.Property(e => e.Login)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("login");
|
||||||
|
entity.Property(e => e.Logorno).HasColumnName("logorno");
|
||||||
|
entity.Property(e => e.Passport)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("passport");
|
||||||
|
entity.Property(e => e.Password)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("password");
|
||||||
|
entity.Property(e => e.Photopath)
|
||||||
|
.HasMaxLength(255)
|
||||||
|
.HasColumnName("photopath");
|
||||||
|
entity.Property(e => e.RoleId).HasColumnName("role_id");
|
||||||
|
|
||||||
|
entity.HasOne(d => d.Role).WithMany(p => p.Users)
|
||||||
|
.HasForeignKey(d => d.RoleId)
|
||||||
|
.HasConstraintName("users_role_id_fkey");
|
||||||
|
});
|
||||||
|
|
||||||
|
OnModelCreatingPartial(modelBuilder);
|
||||||
|
}
|
||||||
|
|
||||||
|
partial void OnModelCreatingPartial(ModelBuilder modelBuilder);
|
||||||
|
}
|
25
Models/Order.cs
Normal file
25
Models/Order.cs
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class Order
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime Orderdata { get; set; }
|
||||||
|
|
||||||
|
public TimeOnly Ordertime { get; set; }
|
||||||
|
|
||||||
|
public int UserId { get; set; }
|
||||||
|
|
||||||
|
public string Status { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime? Orederclosetime { get; set; }
|
||||||
|
|
||||||
|
public int Prokattime { get; set; }
|
||||||
|
|
||||||
|
public virtual User User { get; set; } = null!;
|
||||||
|
}
|
15
Models/OrdersService.cs
Normal file
15
Models/OrdersService.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class OrdersService
|
||||||
|
{
|
||||||
|
public int OrderId { get; set; }
|
||||||
|
|
||||||
|
public int ServiceId { get; set; }
|
||||||
|
|
||||||
|
public virtual Order Order { get; set; } = null!;
|
||||||
|
|
||||||
|
public virtual Service Service { get; set; } = null!;
|
||||||
|
}
|
13
Models/Role.cs
Normal file
13
Models/Role.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class Role
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; } = null!;
|
||||||
|
|
||||||
|
public virtual ICollection<User> Users { get; set; } = new List<User>();
|
||||||
|
}
|
15
Models/Service.cs
Normal file
15
Models/Service.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class Service
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public string Name { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Code { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Cost { get; set; } = null!;
|
||||||
|
}
|
35
Models/User.cs
Normal file
35
Models/User.cs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
namespace dmeo040225.Models;
|
||||||
|
|
||||||
|
public partial class User
|
||||||
|
{
|
||||||
|
public int Id { get; set; }
|
||||||
|
|
||||||
|
public int RoleId { get; set; }
|
||||||
|
|
||||||
|
public string Fio { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Login { get; set; } = null!;
|
||||||
|
|
||||||
|
public string Password { get; set; } = null!;
|
||||||
|
|
||||||
|
public DateTime? Lastlogin { get; set; }
|
||||||
|
|
||||||
|
public bool Logorno { get; set; }
|
||||||
|
|
||||||
|
public string? Codeclient { get; set; }
|
||||||
|
|
||||||
|
public string? Passport { get; set; }
|
||||||
|
|
||||||
|
public DateTime? Birthday { get; set; }
|
||||||
|
|
||||||
|
public string? Adress { get; set; }
|
||||||
|
|
||||||
|
public string? Photopath { get; set; }
|
||||||
|
|
||||||
|
public virtual ICollection<Order> Orders { get; set; } = new List<Order>();
|
||||||
|
|
||||||
|
public virtual Role Role { get; set; } = null!;
|
||||||
|
}
|
9
NewOrder.axaml
Normal file
9
NewOrder.axaml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.NewOrder"
|
||||||
|
Title="NewOrder">
|
||||||
|
Welcome to Avalonia!
|
||||||
|
</Window>
|
13
NewOrder.axaml.cs
Normal file
13
NewOrder.axaml.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class NewOrder : Window
|
||||||
|
{
|
||||||
|
public NewOrder()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
22
OlderWindow.axaml
Normal file
22
OlderWindow.axaml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.OlderWindow"
|
||||||
|
Title="OlderWindow">
|
||||||
|
<Border Background="Bisque">
|
||||||
|
<DockPanel>
|
||||||
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||||
|
<Button Content="Назад" Click="Back_OnClick" Width="120" Background="LightGray" Foreground="Black"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="15">
|
||||||
|
<Image x:Name="Image" Width="150" Height="150"/>
|
||||||
|
<TextBlock x:Name="FioName" Foreground="Black"/>
|
||||||
|
<TextBlock x:Name="RoleName" Foreground="Black"/>
|
||||||
|
<Button Content="Сформировать заказ" Click="NewOrder_OnClick" Background="LightGray" Foreground="Black" Width="170"/>
|
||||||
|
<Button Content="Принять товар" Click="GetOrder_OnClick" Background="LightGray" Foreground="Black" Width="170"/>
|
||||||
|
</StackPanel>
|
||||||
|
</DockPanel>
|
||||||
|
</Border>
|
||||||
|
</Window>
|
43
OlderWindow.axaml.cs
Normal file
43
OlderWindow.axaml.cs
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Interactivity;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
using Avalonia.Media.Imaging;
|
||||||
|
using dmeo040225.Models;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class OlderWindow : Window
|
||||||
|
{
|
||||||
|
public OlderWindow(User user)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
using var context = new DatabaseContext();
|
||||||
|
var role = context.Roles.FirstOrDefault(it => it.Id == user.RoleId).Name;
|
||||||
|
|
||||||
|
Image.Source = new Bitmap(user.Photopath);
|
||||||
|
FioName.Text = user.Fio;
|
||||||
|
RoleName.Text = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void NewOrder_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
NewOrder newOrder = new NewOrder();
|
||||||
|
newOrder.ShowDialog(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void GetOrder_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
GetOrderWindow getOrderWindow = new GetOrderWindow();
|
||||||
|
getOrderWindow.ShowDialog(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Back_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
MainWindow mainWindow = new MainWindow();
|
||||||
|
mainWindow.ShowDialog(this);
|
||||||
|
}
|
||||||
|
}
|
21
Program.cs
Normal file
21
Program.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using Avalonia;
|
||||||
|
using System;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
// Initialization code. Don't use any Avalonia, third-party APIs or any
|
||||||
|
// SynchronizationContext-reliant code before AppMain is called: things aren't initialized
|
||||||
|
// yet and stuff might break.
|
||||||
|
[STAThread]
|
||||||
|
public static void Main(string[] args) => BuildAvaloniaApp()
|
||||||
|
.StartWithClassicDesktopLifetime(args);
|
||||||
|
|
||||||
|
// Avalonia configuration, don't remove; also used by visual designer.
|
||||||
|
public static AppBuilder BuildAvaloniaApp()
|
||||||
|
=> AppBuilder.Configure<App>()
|
||||||
|
.UsePlatformDetect()
|
||||||
|
.WithInterFont()
|
||||||
|
.LogToTrace();
|
||||||
|
}
|
21
SellerWindow.axaml
Normal file
21
SellerWindow.axaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<Window xmlns="https://github.com/avaloniaui"
|
||||||
|
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"
|
||||||
|
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||||
|
x:Class="dmeo040225.SellerWindow"
|
||||||
|
Title="SellerWindow">
|
||||||
|
<Border Background="Bisque">
|
||||||
|
<DockPanel>
|
||||||
|
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||||
|
<Button Content="Назад" Click="Back_OnClick" Width="120" Background="LightGray" Foreground="Black"/>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="15">
|
||||||
|
<Image x:Name="Image" Width="150" Height="150"/>
|
||||||
|
<TextBlock x:Name="FioName" Foreground="Black"/>
|
||||||
|
<TextBlock x:Name="RoleName" Foreground="Black"/>
|
||||||
|
<Button Content="Сформировать заказ" Click="NewOrder_OnClick" Background="LightGray" Foreground="Black" Width="170"/>
|
||||||
|
</StackPanel>
|
||||||
|
</DockPanel>
|
||||||
|
</Border>
|
||||||
|
</Window>
|
40
SellerWindow.axaml.cs
Normal file
40
SellerWindow.axaml.cs
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Avalonia;
|
||||||
|
using Avalonia.Controls;
|
||||||
|
using Avalonia.Interactivity;
|
||||||
|
using Avalonia.Markup.Xaml;
|
||||||
|
using Avalonia.Media.Imaging;
|
||||||
|
using Avalonia.Platform.Storage;
|
||||||
|
using dmeo040225.Models;
|
||||||
|
|
||||||
|
namespace dmeo040225;
|
||||||
|
|
||||||
|
public partial class SellerWindow : Window
|
||||||
|
{
|
||||||
|
public SellerWindow(User user)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
using var context = new DatabaseContext();
|
||||||
|
var role = context.Roles.FirstOrDefault(it => it.Id == user.RoleId).Name;
|
||||||
|
|
||||||
|
Image.Source = new Bitmap(user.Photopath);
|
||||||
|
FioName.Text = user.Fio;
|
||||||
|
RoleName.Text = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void NewOrder_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
NewOrder newOrder = new NewOrder();
|
||||||
|
newOrder.ShowDialog(this);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Back_OnClick(object? sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
MainWindow mainWindow = new MainWindow();
|
||||||
|
mainWindow.ShowDialog(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
18
app.manifest
Normal file
18
app.manifest
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<!-- This manifest is used on Windows only.
|
||||||
|
Don't remove it as it might cause problems with window transparency and embedded controls.
|
||||||
|
For more details visit https://learn.microsoft.com/en-us/windows/win32/sbscs/application-manifests -->
|
||||||
|
<assemblyIdentity version="1.0.0.0" name="dmeo040225.Desktop"/>
|
||||||
|
|
||||||
|
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||||
|
<application>
|
||||||
|
<!-- A list of the Windows versions that this application has been tested on
|
||||||
|
and is designed to work with. Uncomment the appropriate elements
|
||||||
|
and Windows will automatically select the most compatible environment. -->
|
||||||
|
|
||||||
|
<!-- Windows 10 -->
|
||||||
|
<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />
|
||||||
|
</application>
|
||||||
|
</compatibility>
|
||||||
|
</assembly>
|
BIN
bin/.DS_Store
vendored
Normal file
BIN
bin/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
bin/Debug/.DS_Store
vendored
Normal file
BIN
bin/Debug/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/.DS_Store
vendored
Normal file
BIN
bin/Debug/net8.0/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Base.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.ColorPicker.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.DataGrid.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Controls.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.DesignerSupport.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Desktop.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Diagnostics.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Dialogs.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Fonts.Inter.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.FreeDesktop.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Markup.Xaml.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Markup.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Metal.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.MicroCom.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Native.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.OpenGL.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Remote.Protocol.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Skia.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Themes.Fluent.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Themes.Simple.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Vulkan.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.Win32.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.X11.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Avalonia.dll
Executable file
BIN
bin/Debug/net8.0/Avalonia.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Executable file
BIN
bin/Debug/net8.0/HarfBuzzSharp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Humanizer.dll
Executable file
BIN
bin/Debug/net8.0/Humanizer.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/MicroCom.Runtime.dll
Executable file
BIN
bin/Debug/net8.0/MicroCom.Runtime.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Bcl.AsyncInterfaces.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.Workspaces.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.CSharp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.Workspaces.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.CodeAnalysis.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Design.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.Relational.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.EntityFrameworkCore.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Caching.Memory.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Configuration.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyInjection.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.DependencyModel.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.Abstractions.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Logging.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Options.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Executable file
BIN
bin/Debug/net8.0/Microsoft.Extensions.Primitives.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Mono.TextTemplating.dll
Executable file
BIN
bin/Debug/net8.0/Mono.TextTemplating.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Executable file
BIN
bin/Debug/net8.0/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Npgsql.dll
Executable file
BIN
bin/Debug/net8.0/Npgsql.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/SkiaSharp.dll
Executable file
BIN
bin/Debug/net8.0/SkiaSharp.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.CodeDom.dll
Executable file
BIN
bin/Debug/net8.0/System.CodeDom.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.Composition.AttributedModel.dll
Executable file
BIN
bin/Debug/net8.0/System.Composition.AttributedModel.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.Composition.Convention.dll
Executable file
BIN
bin/Debug/net8.0/System.Composition.Convention.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.Composition.Hosting.dll
Executable file
BIN
bin/Debug/net8.0/System.Composition.Hosting.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.Composition.Runtime.dll
Executable file
BIN
bin/Debug/net8.0/System.Composition.Runtime.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.Composition.TypedParts.dll
Executable file
BIN
bin/Debug/net8.0/System.Composition.TypedParts.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/System.IO.Pipelines.dll
Executable file
BIN
bin/Debug/net8.0/System.IO.Pipelines.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/Tmds.DBus.Protocol.dll
Executable file
BIN
bin/Debug/net8.0/Tmds.DBus.Protocol.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
bin/Debug/net8.0/cs/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.CSharp.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.Workspaces.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll
Executable file
BIN
bin/Debug/net8.0/de/Microsoft.CodeAnalysis.resources.dll
Executable file
Binary file not shown.
BIN
bin/Debug/net8.0/dmeo040225
Executable file
BIN
bin/Debug/net8.0/dmeo040225
Executable file
Binary file not shown.
1413
bin/Debug/net8.0/dmeo040225.deps.json
Normal file
1413
bin/Debug/net8.0/dmeo040225.deps.json
Normal file
File diff suppressed because it is too large
Load Diff
BIN
bin/Debug/net8.0/dmeo040225.dll
Normal file
BIN
bin/Debug/net8.0/dmeo040225.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/dmeo040225.pdb
Normal file
BIN
bin/Debug/net8.0/dmeo040225.pdb
Normal file
Binary file not shown.
14
bin/Debug/net8.0/dmeo040225.runtimeconfig.json
Normal file
14
bin/Debug/net8.0/dmeo040225.runtimeconfig.json
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Reflection.NullabilityInfoContext.IsSupported": true,
|
||||||
|
"System.Runtime.InteropServices.BuiltInComInterop.IsSupported": true,
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
BIN
bin/Debug/net8.0/es/Microsoft.CodeAnalysis.CSharp.Workspaces.resources.dll
Executable file
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user