Upgraded to .NET 9
This commit is contained in:
parent
4e4a59b0b2
commit
8048c41cd0
5 changed files with 29 additions and 14 deletions
|
|
@ -1,5 +1,6 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
|
|
@ -51,6 +52,7 @@ namespace ImageCatalog
|
|||
// Do not modify it using the code editor.
|
||||
private Button _Button1;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button1
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -82,6 +84,7 @@ namespace ImageCatalog
|
|||
internal Label Label20;
|
||||
private Button _Button6;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button6
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -108,6 +111,7 @@ namespace ImageCatalog
|
|||
|
||||
private Button _Button5;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button5
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -134,6 +138,7 @@ namespace ImageCatalog
|
|||
|
||||
private Button _Button7;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button7
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -173,6 +178,7 @@ namespace ImageCatalog
|
|||
internal PictureBox PictureBox2;
|
||||
private PictureBox _PictureBox1;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal PictureBox PictureBox1
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -213,6 +219,7 @@ namespace ImageCatalog
|
|||
internal Label Label23;
|
||||
private Button _Button4;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button4
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -277,6 +284,7 @@ namespace ImageCatalog
|
|||
internal GroupBox GroupBox5;
|
||||
private Button _Button8;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button8
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -332,6 +340,7 @@ namespace ImageCatalog
|
|||
internal CheckBox CheckBox6;
|
||||
private Button _Button3;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button3
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -358,6 +367,7 @@ namespace ImageCatalog
|
|||
|
||||
private Button _Button2;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal Button Button2
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -410,6 +420,7 @@ namespace ImageCatalog
|
|||
internal Panel Panel1;
|
||||
private CheckBox _CheckBox18;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal CheckBox CheckBox18
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -436,6 +447,7 @@ namespace ImageCatalog
|
|||
|
||||
private CheckBox _CheckBox4;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal CheckBox CheckBox4
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
@ -462,6 +474,7 @@ namespace ImageCatalog
|
|||
|
||||
private CheckBox _CheckBox12;
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
internal CheckBox CheckBox12
|
||||
{
|
||||
[MethodImpl(MethodImplOptions.Synchronized)]
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<TargetFramework>net9.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
using System;
|
||||
using System.Collections.Concurrent;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Text;
|
||||
using System.IO;
|
||||
|
|
@ -25,6 +26,7 @@ namespace ImageCatalog
|
|||
public partial class MainForm
|
||||
{
|
||||
|
||||
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
|
||||
public DataModel Model { get; set; }
|
||||
|
||||
private readonly ITestService _service;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue