Repositories inserted and new page for accounts inserted
This commit is contained in:
11
WinFormDi.BLI/IAccountRecordRepository.cs
Normal file
11
WinFormDi.BLI/IAccountRecordRepository.cs
Normal file
@ -0,0 +1,11 @@
|
||||
using WinFormDiApp.BL.Models;
|
||||
|
||||
namespace WinFormDiApp.BLI
|
||||
{
|
||||
public interface IAccountRecordRepository
|
||||
{
|
||||
bool AddAccountRecord(AccountRecord record);
|
||||
bool DeleteAccountRecord(AccountRecord record);
|
||||
IEnumerable<AccountRecord> GetAllAccounts();
|
||||
}
|
||||
}
|
||||
9
WinFormDi.BLI/IMemberRepository.cs
Normal file
9
WinFormDi.BLI/IMemberRepository.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using WinFormDiApp.BL.Models;
|
||||
|
||||
namespace WinFormDiApp.BLI
|
||||
{
|
||||
public interface IMemberRepository
|
||||
{
|
||||
IEnumerable<Member> InsertMember(Member member);
|
||||
}
|
||||
}
|
||||
13
WinFormDi.BLI/WinFormDiApp.BLI.csproj
Normal file
13
WinFormDi.BLI/WinFormDiApp.BLI.csproj
Normal file
@ -0,0 +1,13 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\WinFormDiApp.BL\WinFormDiApp.BL.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
58
WinFormDi.BLR/AccountRecordRepository.cs
Normal file
58
WinFormDi.BLR/AccountRecordRepository.cs
Normal file
@ -0,0 +1,58 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using WinFormDiApp.BL.Models;
|
||||
using WinFormDiApp.BLI;
|
||||
using WinFormDiApp.DAL;
|
||||
|
||||
namespace WinFormDiApp.BLR;
|
||||
|
||||
public class AccountRecordRepository : IAccountRecordRepository
|
||||
{
|
||||
private readonly ApplicationDbContext _dataContext;
|
||||
private readonly IConfiguration _configuration;
|
||||
private readonly ILogger<AccountRecordRepository> _logger;
|
||||
|
||||
public AccountRecordRepository(ApplicationDbContext dataContext, IConfiguration configuration, ILogger<AccountRecordRepository> logger)
|
||||
{
|
||||
_dataContext = dataContext;
|
||||
_configuration = configuration;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public bool AddAccountRecord(AccountRecord record)
|
||||
{
|
||||
try
|
||||
{
|
||||
_dataContext.AccountRecords.Add(record);
|
||||
_dataContext.SaveChanges();
|
||||
return true;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogError($"Error occured in AddAccountRecord :{e.Message}");
|
||||
}
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
public bool DeleteAccountRecord(AccountRecord record)
|
||||
{
|
||||
try
|
||||
{
|
||||
_dataContext.AccountRecords.Remove(record);
|
||||
_dataContext.SaveChanges();
|
||||
return true;
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
_logger.LogError($"Error occured in DeleteAccountRecord :{e.Message}");
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public IEnumerable<AccountRecord> GetAllAccounts()
|
||||
{
|
||||
return _dataContext.AccountRecords;
|
||||
}
|
||||
|
||||
}
|
||||
29
WinFormDi.BLR/MemberRepository.cs
Normal file
29
WinFormDi.BLR/MemberRepository.cs
Normal file
@ -0,0 +1,29 @@
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using WinFormDiApp.BL.Models;
|
||||
using WinFormDiApp.BLI;
|
||||
using WinFormDiApp.DAL;
|
||||
|
||||
namespace WinFormDiApp.BLR;
|
||||
|
||||
public class MemberRepository : IMemberRepository
|
||||
{
|
||||
private readonly ApplicationDbContext _dataContext;
|
||||
private readonly IConfiguration _configuration;
|
||||
private readonly ILogger<MemberRepository> _logger;
|
||||
|
||||
public MemberRepository(ApplicationDbContext dataContext, IConfiguration configuration, ILogger<MemberRepository> logger)
|
||||
{
|
||||
_dataContext = dataContext;
|
||||
_configuration = configuration;
|
||||
_logger = logger;
|
||||
}
|
||||
|
||||
public IEnumerable<Member> InsertMember(Member member)
|
||||
{
|
||||
_dataContext.Members.Add(member);
|
||||
_dataContext.SaveChanges();
|
||||
return _dataContext.Members.ToArray();
|
||||
}
|
||||
|
||||
}
|
||||
15
WinFormDi.BLR/WinFormDiApp.BLR.csproj
Normal file
15
WinFormDi.BLR/WinFormDiApp.BLR.csproj
Normal file
@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\WinFormDi.BLI\WinFormDiApp.BLI.csproj" />
|
||||
<ProjectReference Include="..\WinFormDiApp.BL\WinFormDiApp.BL.csproj" />
|
||||
<ProjectReference Include="..\WinFormDiApp.DAL\WinFormDiApp.DAL.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@ -11,8 +11,11 @@ using System.Runtime.CompilerServices;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using WinFormDiApp.DAL;
|
||||
using WinFormDiApp.BL;
|
||||
using WinFormDiApp.BLI;
|
||||
using WinFormDiApp.BLR;
|
||||
|
||||
namespace WinFormDi
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
public static class ContainerConfig
|
||||
{
|
||||
@ -34,7 +37,11 @@ namespace WinFormDi
|
||||
.AddDbContext<ApplicationDbContext>(options =>
|
||||
options.UseSqlite(conn))
|
||||
.AddTransient<IMessages, Messages>()
|
||||
.AddTransient<MainWindow>();
|
||||
.AddTransient<IAccountRecordRepository,AccountRecordRepository>()
|
||||
.AddTransient<IMemberRepository,MemberRepository>()
|
||||
.AddTransient<MainWindow>()
|
||||
.AddTransient<frmPayments>();
|
||||
|
||||
});
|
||||
return builder.Build();
|
||||
}
|
||||
|
||||
27
WinFormDi/MainWindow.Designer.cs
generated
27
WinFormDi/MainWindow.Designer.cs
generated
@ -1,4 +1,4 @@
|
||||
namespace WinFormDi
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
partial class MainWindow
|
||||
{
|
||||
@ -30,33 +30,45 @@
|
||||
{
|
||||
helloText = new Label();
|
||||
goodbyeText = new Label();
|
||||
btnCheckPayments = new Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// helloText
|
||||
//
|
||||
helloText.AutoSize = true;
|
||||
helloText.Font = new Font("Segoe UI", 20.25F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
helloText.Location = new Point(45, 55);
|
||||
helloText.Font = new Font("Segoe UI", 10F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
helloText.Location = new Point(12, 9);
|
||||
helloText.Name = "helloText";
|
||||
helloText.Size = new Size(83, 37);
|
||||
helloText.Size = new Size(45, 19);
|
||||
helloText.TabIndex = 0;
|
||||
helloText.Text = "------";
|
||||
//
|
||||
// goodbyeText
|
||||
//
|
||||
goodbyeText.AutoSize = true;
|
||||
goodbyeText.Font = new Font("Segoe UI", 20.25F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
goodbyeText.Location = new Point(45, 129);
|
||||
goodbyeText.Font = new Font("Segoe UI", 10F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
goodbyeText.Location = new Point(12, 422);
|
||||
goodbyeText.Name = "goodbyeText";
|
||||
goodbyeText.Size = new Size(83, 37);
|
||||
goodbyeText.Size = new Size(45, 19);
|
||||
goodbyeText.TabIndex = 1;
|
||||
goodbyeText.Text = "------";
|
||||
//
|
||||
// btnCheckPayments
|
||||
//
|
||||
btnCheckPayments.Location = new Point(73, 46);
|
||||
btnCheckPayments.Name = "btnCheckPayments";
|
||||
btnCheckPayments.Size = new Size(156, 23);
|
||||
btnCheckPayments.TabIndex = 2;
|
||||
btnCheckPayments.Text = "Kontrollera Betalningar";
|
||||
btnCheckPayments.UseVisualStyleBackColor = true;
|
||||
btnCheckPayments.Click += btnCheckPayments_Click;
|
||||
//
|
||||
// MainWindow
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(800, 450);
|
||||
Controls.Add(btnCheckPayments);
|
||||
Controls.Add(goodbyeText);
|
||||
Controls.Add(helloText);
|
||||
Name = "MainWindow";
|
||||
@ -71,5 +83,6 @@
|
||||
|
||||
private Label helloText;
|
||||
private Label goodbyeText;
|
||||
private Button btnCheckPayments;
|
||||
}
|
||||
}
|
||||
@ -9,16 +9,18 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WinFormDi
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
public partial class MainWindow : Form
|
||||
{
|
||||
private readonly IMessages _messages;
|
||||
private readonly frmPayments _payments;
|
||||
|
||||
public MainWindow(IMessages messages)
|
||||
public MainWindow(IMessages messages, frmPayments payments)
|
||||
{
|
||||
InitializeComponent();
|
||||
_messages = messages;
|
||||
_payments = payments;
|
||||
}
|
||||
|
||||
private void MainWindow_Load(object sender, EventArgs e)
|
||||
@ -31,5 +33,10 @@ namespace WinFormDi
|
||||
goodbyeText.Text = _messages.SayGoodBye();
|
||||
MessageBox.Show("Closing...", "Warning", MessageBoxButtons.OK);
|
||||
}
|
||||
|
||||
private void btnCheckPayments_Click(object sender, EventArgs e)
|
||||
{
|
||||
_payments.ShowDialog();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing"">Blue</data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
|
||||
@ -4,7 +4,7 @@ using Microsoft.Extensions.Hosting;
|
||||
using WinFormDiApp.DAL;
|
||||
using WinFormDiApp.DAL.Data;
|
||||
|
||||
namespace WinFormDi
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
|
||||
@ -21,6 +21,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\DIDemoLib\DIDemoLib.csproj" />
|
||||
<ProjectReference Include="..\WinFormDi.BLI\WinFormDiApp.BLI.csproj" />
|
||||
<ProjectReference Include="..\WinFormDi.BLR\WinFormDiApp.BLR.csproj" />
|
||||
<ProjectReference Include="..\WinFormDiApp.BL\WinFormDiApp.BL.csproj" />
|
||||
<ProjectReference Include="..\WinFormDiApp.DAL\WinFormDiApp.DAL.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
116
WinFormDi/frmPayments.Designer.cs
generated
Normal file
116
WinFormDi/frmPayments.Designer.cs
generated
Normal file
@ -0,0 +1,116 @@
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
partial class frmPayments
|
||||
{
|
||||
/// <summary>
|
||||
/// Required designer variable.
|
||||
/// </summary>
|
||||
private System.ComponentModel.IContainer components = null;
|
||||
|
||||
/// <summary>
|
||||
/// Clean up any resources being used.
|
||||
/// </summary>
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing && (components != null))
|
||||
{
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
#region Windows Form Designer generated code
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
lvPayments = new ListView();
|
||||
ch1_Id = new ColumnHeader();
|
||||
ch2_Mottagare = new ColumnHeader();
|
||||
ch3_Konto = new ColumnHeader();
|
||||
ch4_Belopp = new ColumnHeader();
|
||||
ch5_Förfallodag = new ColumnHeader();
|
||||
ch6_Avisering = new ColumnHeader();
|
||||
btnClose = new Button();
|
||||
SuspendLayout();
|
||||
//
|
||||
// lvPayments
|
||||
//
|
||||
lvPayments.Anchor = AnchorStyles.Top | AnchorStyles.Bottom | AnchorStyles.Left | AnchorStyles.Right;
|
||||
lvPayments.BackColor = Color.FromArgb(192, 255, 255);
|
||||
lvPayments.Columns.AddRange(new ColumnHeader[] { ch1_Id, ch2_Mottagare, ch3_Konto, ch4_Belopp, ch5_Förfallodag, ch6_Avisering });
|
||||
lvPayments.Location = new Point(28, 55);
|
||||
lvPayments.Name = "lvPayments";
|
||||
lvPayments.Size = new Size(805, 286);
|
||||
lvPayments.TabIndex = 0;
|
||||
lvPayments.UseCompatibleStateImageBehavior = false;
|
||||
lvPayments.View = View.Details;
|
||||
//
|
||||
// ch1_Id
|
||||
//
|
||||
ch1_Id.Text = "Id";
|
||||
//
|
||||
// ch2_Mottagare
|
||||
//
|
||||
ch2_Mottagare.Text = "Mottagare";
|
||||
ch2_Mottagare.Width = 120;
|
||||
//
|
||||
// ch3_Konto
|
||||
//
|
||||
ch3_Konto.Text = "Konto";
|
||||
ch3_Konto.Width = 100;
|
||||
//
|
||||
// ch4_Belopp
|
||||
//
|
||||
ch4_Belopp.Text = "Belopp";
|
||||
ch4_Belopp.Width = 100;
|
||||
//
|
||||
// ch5_Förfallodag
|
||||
//
|
||||
ch5_Förfallodag.Text = "Förfallodag";
|
||||
ch5_Förfallodag.Width = 100;
|
||||
//
|
||||
// ch6_Avisering
|
||||
//
|
||||
ch6_Avisering.Text = "Avisering";
|
||||
ch6_Avisering.Width = 100;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
btnClose.Location = new Point(758, 418);
|
||||
btnClose.Name = "btnClose";
|
||||
btnClose.Size = new Size(75, 23);
|
||||
btnClose.TabIndex = 1;
|
||||
btnClose.Text = "Stäng";
|
||||
btnClose.UseVisualStyleBackColor = true;
|
||||
btnClose.Click += btnClose_Click;
|
||||
//
|
||||
// frmPayments
|
||||
//
|
||||
AutoScaleDimensions = new SizeF(7F, 15F);
|
||||
AutoScaleMode = AutoScaleMode.Font;
|
||||
ClientSize = new Size(856, 453);
|
||||
Controls.Add(btnClose);
|
||||
Controls.Add(lvPayments);
|
||||
Name = "frmPayments";
|
||||
Text = "frmPayments";
|
||||
Load += frmPayments_Load;
|
||||
ResumeLayout(false);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private ListView lvPayments;
|
||||
private ColumnHeader ch1_Id;
|
||||
private ColumnHeader ch2_Mottagare;
|
||||
private ColumnHeader ch3_Konto;
|
||||
private ColumnHeader ch4_Belopp;
|
||||
private ColumnHeader ch6_Avisering;
|
||||
private Button btnClose;
|
||||
private ColumnHeader ch5_Förfallodag;
|
||||
}
|
||||
}
|
||||
43
WinFormDi/frmPayments.cs
Normal file
43
WinFormDi/frmPayments.cs
Normal file
@ -0,0 +1,43 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using WinFormDiApp.BLI;
|
||||
|
||||
namespace WinFormDiApp
|
||||
{
|
||||
public partial class frmPayments : Form
|
||||
{
|
||||
private readonly IAccountRecordRepository _accountRecordRepository;
|
||||
|
||||
public frmPayments(IAccountRecordRepository accountRecordRepository)
|
||||
{
|
||||
InitializeComponent();
|
||||
_accountRecordRepository = accountRecordRepository;
|
||||
}
|
||||
|
||||
private void frmPayments_Load(object sender, EventArgs e)
|
||||
{
|
||||
var payments = _accountRecordRepository.GetAllAccounts();
|
||||
foreach (var account in payments)
|
||||
{
|
||||
var lvitem = lvPayments.Items.Add(account.Id.ToString());
|
||||
lvitem.SubItems.Add(account.Mottagare);
|
||||
lvitem.SubItems.Add(account.Konto);
|
||||
lvitem.SubItems.Add(account.Belopp.ToString());
|
||||
lvitem.SubItems.Add(account.BetalDatum.ToShortDateString());
|
||||
lvitem.SubItems.Add(account.Avisering);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
120
WinFormDi/frmPayments.resx
Normal file
120
WinFormDi/frmPayments.resx
Normal file
@ -0,0 +1,120 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
@ -7,9 +7,13 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinFormDi", "WinFormDi\WinF
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DIDemoLib", "DIDemoLib\DIDemoLib.csproj", "{839E6DE6-4644-4279-A7B1-449BD63897A3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormDiApp.BL", "WinFormDiApp.BL\WinFormDiApp.BL.csproj", "{4D49AE4B-26D6-48C6-B1CA-48D428E95BE0}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinFormDiApp.BL", "WinFormDiApp.BL\WinFormDiApp.BL.csproj", "{4D49AE4B-26D6-48C6-B1CA-48D428E95BE0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormDiApp.DAL", "WinFormDiApp.DAL\WinFormDiApp.DAL.csproj", "{C6E355AD-C907-45D2-815B-A1B4207656FB}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WinFormDiApp.DAL", "WinFormDiApp.DAL\WinFormDiApp.DAL.csproj", "{C6E355AD-C907-45D2-815B-A1B4207656FB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormDiApp.BLR", "WinFormDi.BLR\WinFormDiApp.BLR.csproj", "{FBA37C63-042A-47DF-AABC-556CC7DBF957}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WinFormDiApp.BLI", "WinFormDi.BLI\WinFormDiApp.BLI.csproj", "{209B0142-88FB-41C3-845F-08F2CBB3B0A2}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
@ -33,6 +37,14 @@ Global
|
||||
{C6E355AD-C907-45D2-815B-A1B4207656FB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C6E355AD-C907-45D2-815B-A1B4207656FB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C6E355AD-C907-45D2-815B-A1B4207656FB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FBA37C63-042A-47DF-AABC-556CC7DBF957}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FBA37C63-042A-47DF-AABC-556CC7DBF957}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FBA37C63-042A-47DF-AABC-556CC7DBF957}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FBA37C63-042A-47DF-AABC-556CC7DBF957}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{209B0142-88FB-41C3-845F-08F2CBB3B0A2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{209B0142-88FB-41C3-845F-08F2CBB3B0A2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{209B0142-88FB-41C3-845F-08F2CBB3B0A2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{209B0142-88FB-41C3-845F-08F2CBB3B0A2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
Reference in New Issue
Block a user