Upload to server

uploading
This commit is contained in:
2025-08-02 05:20:17 +07:00
commit a5eccbd452
984 changed files with 3031800 additions and 0 deletions

15
omegapro/Omega/App.config Normal file
View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
<appSettings>
<add key="ConnectionString.MS Access (OleDb)" value="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\14072014\Data.mdb;User Id=admin;Password=;Jet OLEDB:System Database=;Jet OLEDB:Database password="/>
<add key="BackupFolder" value="E:\OmegaBackup"/>
<add key="OutputFolder" value="E:\OmegaOutput"/>
<add key="Exclusive" value="3"/>
<add key="RegisterNo" value="A7CC890C773912C190DAE33BFC28A6BE"/>
<add key="QuestionNum" value="10"/>
</appSettings>
</configuration>

View File

@@ -0,0 +1,75 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Datalib.EntityClasses;
using Datalib.DatabaseSpecific;
using System.Windows.Forms;
namespace Omega.usrControls
{
public partial class usrCommon : DevExpress.XtraEditors.XtraUserControl
{
private Boolean _readonly;
public DataAccessAdapter adapter = new DataAccessAdapter();
public Boolean ControlEnabled
{
get { return _readonly; }
set
{
_readonly = value;
foreach (Control c in this.Controls)
{
c.Enabled = _readonly;
}
}
}
public usrCommon()
{
InitializeComponent();
}
public virtual void SaveRecord()
{
ShowSaveInfo();
}
public virtual void DeleteRecord()
{
}
public virtual void BindingData()
{
}
public virtual void NewRecord()
{
}
public virtual void LoadData()
{
}
public virtual void Cancel()
{
}
public virtual void ShowSaveInfo()
{
var frm = new Forms.frmShowSaveInfo();
frm.Show ();
}
public virtual void ClearBinding()
{
}
public virtual void LoadLibrary()
{
}
public virtual void Print()
{
}
}
}

View File

@@ -0,0 +1,45 @@
namespace Omega.usrControls
{
partial class usrCommon
{
/// <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 Component 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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(usrCommon));
this.SuspendLayout();
//
// usrCommon
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Name = "usrCommon";
this.ResumeLayout(false);
}
#endregion
}
}

View File

@@ -0,0 +1,136 @@
<?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>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>vi-VN</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>usrCommon</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.XtraUserControl, DevExpress.Utils.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
</root>

View File

@@ -0,0 +1,136 @@
<?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>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>vi-VN</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>usrCommon</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.XtraUserControl, DevExpress.Utils.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
</root>

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Datalib.DatabaseSpecific;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using OpenXmlPowerTools;
namespace Omega.BasicForms
{
public partial class frmCommon : DevExpress.XtraEditors.XtraForm
{
public DataAccessAdapter adapter = new DataAccessAdapter();
public frmCommon()
{
InitializeComponent();
}
public virtual void SaveRecord()
{
}
public virtual void DeleteRecord()
{
}
public virtual void BindingData()
{
}
public virtual void ReBinding()
{
}
public virtual void NewRecord()
{
}
public virtual void LoadData()
{
}
}
}

View File

@@ -0,0 +1,46 @@
namespace Omega.BasicForms
{
partial class frmCommon
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCommon));
this.SuspendLayout();
//
// frmCommon
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.Name = "frmCommon";
this.ResumeLayout(false);
}
#endregion
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,124 @@
<?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>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
</root>

View File

@@ -0,0 +1,165 @@
using System;
using System.Management;
using System.Security.Cryptography;
using System.Security;
using System.Collections;
using System.Text;
namespace Omega
{
/// <summary>
/// Generates a 16 byte Unique Identification code of a computer
/// Example: 4876-8DB5-EE85-69D3-FE52-8CF7-395D-2EA9
/// </summary>
public class FingerPrint
{
private static string fingerPrint = string.Empty;
public static string Value()
{
if (string.IsNullOrEmpty(fingerPrint))
{
fingerPrint = GetHash("CPU >> " + cpuId() + "\nBIOS >> " + biosId() + "\nBASE >> " + baseId()
//+"\nDISK >> "+ diskId() + "\nVIDEO >> " + videoId() +"\nMAC >> "+ macId()
);
}
return fingerPrint;
}
private static string GetHash(string s)
{
MD5 sec = new MD5CryptoServiceProvider();
ASCIIEncoding enc = new ASCIIEncoding();
byte[] bt = enc.GetBytes(s);
return GetHexString(sec.ComputeHash(bt));
}
private static string GetHexString(byte[] bt)
{
string s = string.Empty;
for (int i = 0; i < bt.Length; i++)
{
byte b = bt[i];
int n, n1, n2;
n = (int)b;
n1 = n & 15;
n2 = (n >> 4) & 15;
if (n2 > 9)
s += ((char)(n2 - 10 + (int)'A')).ToString();
else
s += n2.ToString();
if (n1 > 9)
s += ((char)(n1 - 10 + (int)'A')).ToString();
else
s += n1.ToString();
if ((i + 1) != bt.Length && (i + 1) % 2 == 0) s += "-";
}
return s;
}
#region Original Device ID Getting Code
//Return a hardware identifier
private static string identifier(string wmiClass, string wmiProperty, string wmiMustBeTrue)
{
string result = "";
System.Management.ManagementClass mc = new System.Management.ManagementClass(wmiClass);
System.Management.ManagementObjectCollection moc = mc.GetInstances();
foreach (System.Management.ManagementObject mo in moc)
{
if (mo[wmiMustBeTrue].ToString() == "True")
{
//Only get the first one
if (result == "")
{
try
{
result = mo[wmiProperty].ToString();
break;
}
catch
{
}
}
}
}
return result;
}
//Return a hardware identifier
private static string identifier(string wmiClass, string wmiProperty)
{
string result = "";
System.Management.ManagementClass mc = new System.Management.ManagementClass(wmiClass);
System.Management.ManagementObjectCollection moc = mc.GetInstances();
foreach (System.Management.ManagementObject mo in moc)
{
//Only get the first one
if (result == "")
{
try
{
result = mo[wmiProperty].ToString();
break;
}
catch
{
}
}
}
return result;
}
private static string cpuId()
{
//Uses first CPU identifier available in order of preference
//Don't get all identifiers, as very time consuming
string retVal = identifier("Win32_Processor", "UniqueId");
if (retVal == "") //If no UniqueID, use ProcessorID
{
retVal = identifier("Win32_Processor", "ProcessorId");
if (retVal == "") //If no ProcessorId, use Name
{
retVal = identifier("Win32_Processor", "Name");
if (retVal == "") //If no Name, use Manufacturer
{
retVal = identifier("Win32_Processor", "Manufacturer");
}
//Add clock speed for extra security
retVal += identifier("Win32_Processor", "MaxClockSpeed");
}
}
return retVal;
}
//BIOS Identifier
private static string biosId()
{
return identifier("Win32_BIOS", "Manufacturer")
+ identifier("Win32_BIOS", "SMBIOSBIOSVersion")
+ identifier("Win32_BIOS", "IdentificationCode")
+ identifier("Win32_BIOS", "SerialNumber")
+ identifier("Win32_BIOS", "ReleaseDate")
+ identifier("Win32_BIOS", "Version");
}
//Main physical hard drive ID
private static string diskId()
{
return identifier("Win32_DiskDrive", "Model")
+ identifier("Win32_DiskDrive", "Manufacturer")
+ identifier("Win32_DiskDrive", "Signature")
+ identifier("Win32_DiskDrive", "TotalHeads");
}
//Motherboard ID
private static string baseId()
{
return identifier("Win32_BaseBoard", "Model")
+ identifier("Win32_BaseBoard", "Manufacturer")
+ identifier("Win32_BaseBoard", "Name")
+ identifier("Win32_BaseBoard", "SerialNumber");
}
//Primary video controller ID
private static string videoId()
{
return identifier("Win32_VideoController", "DriverVersion")
+ identifier("Win32_VideoController", "Name");
}
//First enabled network card ID
private static string macId()
{
return identifier("Win32_NetworkAdapterConfiguration", "MACAddress", "IPEnabled");
}
#endregion
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Omega
{
class Quiz
{
public string QuestionId { get; set; }
public int Order { get; set; }
}
}

View File

@@ -0,0 +1,209 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Word = Microsoft.Office.Interop.Word;
using Microsoft.Office.Interop.Word;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
using Datalib.Linq;
using Datalib.DatabaseSpecific;
using SD.LLBLGen.Pro.ORMSupportClasses;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using Power= OpenXmlPowerTools;
using Sys=System.Windows.Forms;
using System.Xml.Linq;
using System.Xml;
using System.IO;
namespace Omega
{
class Utilities
{
public static void ConverttoPdf(string input, string output)
{
// Create an instance of Word.exe
Word._Application oWord = new Word.Application();
// Make this instance of word invisible (Can still see it in the taskmgr).
oWord.Visible = false;
// Interop requires objects.
object oMissing = System.Reflection.Missing.Value;
object isVisible = true;
object readOnly = false;
object oInput = input;
object oOutput = output;
object oFormat = WdSaveFormat.wdFormatPDF;
// Load a document into our instance of word.exe
Word._Document oDoc = oWord.Documents.Open(ref oInput, ref oMissing, ref readOnly, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref isVisible, ref oMissing, ref oMissing, ref oMissing, ref oMissing);
// Make this document the active document.
oDoc.Activate();
// Save this document in Word 2003 format.
oDoc.SaveAs(ref oOutput, ref oFormat, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing, ref oMissing);
// Always close Word.exe.
oWord.Quit(ref oMissing, ref oMissing, ref oMissing);
}
public static void PrintQuiz(TblQuizEntity CurrQuiz)
{
List <Power.Source> sources = new List<Power.Source>();
string SubjectId = "xxxx";
string FieldId = "xxxx";
int QuestionNum = 1;
Boolean Renumering = false;
string prefix = "";
LinqMetaData meta = new LinqMetaData(new DataAccessAdapter());
byte[] header = Convert.FromBase64String(meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().HeaderDes);
Power.WmlDocument headercon = new Power.WmlDocument(Guid.NewGuid().ToString("N"), header);
Power.OpenXmlMemoryStreamDocument modifystream = new Power.OpenXmlMemoryStreamDocument(headercon);
WordprocessingDocument modifywDoc =modifystream.GetWordprocessingDocument();
Power.TextReplacer.SearchAndReplace(modifywDoc, "{year}", CurrQuiz.QuizYear.ToString(), false);
Power.TextReplacer.SearchAndReplace(modifywDoc, "{QuizCode}", CurrQuiz.QuizCode, false);
Power.TextReplacer.SearchAndReplace(modifywDoc, "{QuizTime}", CurrQuiz.QuizTime.ToString(), false);
sources.Add(new Power.Source(modifystream.GetModifiedWmlDocument(), false));
byte[] footer = Convert.FromBase64String(meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().FooterDes);
Renumering = meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().Renumering;
var result = (from q in meta.TblQuestion join m in meta.TblQuizQuestion.Where(m => m.QuizId == CurrQuiz.QuizId) on q.QuestionId equals m.QuestionId select new { SubjectId = q.SubjectId, FieldID = q.FieldId, con = q.Content }).ToList().OrderBy(m => m.SubjectId).ThenBy(m => m.FieldID).ToList();
foreach (var q in result)
{
if(q.SubjectId!=SubjectId)
{
SubjectId = q.SubjectId;
QuestionNum = 1;
byte[] SubjectDes = Convert.FromBase64String(meta.TblSubject.Where(m => m.SubjectId == q.SubjectId).FirstOrDefault().SubjectDes);
sources.Add(new Power.Source(new Power.WmlDocument(Guid.NewGuid().ToString("N"), SubjectDes), false));
}
if (q.FieldID != FieldId)
{
try
{
FieldId = q.FieldID;
if (Renumering) QuestionNum = 1;
prefix = meta.TblField.Where(m => m.SubjectId == q.SubjectId).Where(m => m.FieldId == FieldId).FirstOrDefault().Prefix;
byte[] FieldDes = Convert.FromBase64String(meta.TblField.Where(m => m.SubjectId == q.SubjectId).Where(m => m.FieldId == q.FieldID).FirstOrDefault().Description);
sources.Add(new Power.Source(new Power.WmlDocument(Guid.NewGuid().ToString("N"), FieldDes), false));
}
catch (Exception err)
{
Sys.MessageBox.Show(q.SubjectId + " " + q.FieldID);
}
}
byte[] buf = Convert.FromBase64String(q.con);
Power.WmlDocument con = new Power.WmlDocument(Guid.NewGuid().ToString("N"), buf);
modifystream = new Power.OpenXmlMemoryStreamDocument(con);
modifywDoc = modifystream.GetWordprocessingDocument();
Power.TextReplacer.SearchAndReplace(modifywDoc, "{$}", prefix + (QuestionNum++).ToString() , false);
sources.Add(new Power.Source(modifystream.GetModifiedWmlDocument(), false));
}
sources.Add(new Power.Source(new Power.WmlDocument(CurrQuiz.QuizTemplateId, footer), false));
Power.WmlDocument FinalDoc = Power.DocumentBuilder.BuildDocument(sources);
string OutDocFile = SettingInfo.OutputFolder + @"\"+ CurrQuiz.QuizCode.ToString() + ".docx";
string OutPdfFile = SettingInfo.OutputFolder + @"\"+ CurrQuiz.QuizCode.ToString() + ".pdf";
FinalDoc.SaveAs(OutDocFile);
Utilities.ConverttoPdf(OutDocFile, OutPdfFile);
Forms.frmPDFViewer frm = new Forms.frmPDFViewer();
frm.pdffile = OutPdfFile;
frm.LoadData();
frm.Show();
}
public static void PrintQuizAnswer(TblQuizEntity CurrQuiz)
{
List<Power.Source> sources = new List<Power.Source>();
string SubjectId = "xxxx";
string FieldId = "xxxx";
int QuestionNum = 1;
Boolean Renumering = false;
string prefix = "";
LinqMetaData meta = new LinqMetaData(new DataAccessAdapter());
byte[] header = Convert.FromBase64String(meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().HeaderDes);
Power.WmlDocument headercon = new Power.WmlDocument(Guid.NewGuid().ToString("N"), header);
Power.OpenXmlMemoryStreamDocument modifystream = new Power.OpenXmlMemoryStreamDocument(headercon);
WordprocessingDocument modifywDoc = modifystream.GetWordprocessingDocument();
Power.TextReplacer.SearchAndReplace(modifywDoc, "{year}", CurrQuiz.QuizYear.ToString(), false);
Power.TextReplacer.SearchAndReplace(modifywDoc, "{QuizCode}", CurrQuiz.QuizCode, false);
Power.TextReplacer.SearchAndReplace(modifywDoc, "{QuizTime}", CurrQuiz.QuizTime.ToString(), false);
sources.Add(new Power.Source(modifystream.GetModifiedWmlDocument(), false));
byte[] footer = Convert.FromBase64String(meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().FooterDes);
Renumering = meta.TblQuizTemplate.Where(m => m.QuizTemplateId == CurrQuiz.QuizTemplateId).FirstOrDefault().Renumering;
var result = (from q in meta.TblQuestion join m in meta.TblQuizQuestion.Where(m => m.QuizId == CurrQuiz.QuizId) on q.QuestionId equals m.QuestionId select new { SubjectId = q.SubjectId, FieldID = q.FieldId, con = q.Answer}).ToList().OrderBy(m => m.SubjectId).ThenBy(m => m.FieldID).ToList();
foreach (var q in result)
{
if (q.SubjectId != SubjectId)
{
SubjectId = q.SubjectId;
QuestionNum = 1;
byte[] SubjectDes = Convert.FromBase64String(meta.TblSubject.Where(m => m.SubjectId == q.SubjectId).FirstOrDefault().SubjectDes);
sources.Add(new Power.Source(new Power.WmlDocument(Guid.NewGuid().ToString("N"), SubjectDes), false));
}
if (q.FieldID != FieldId)
{
FieldId = q.FieldID;
if (Renumering) QuestionNum = 1;
prefix = meta.TblField.Where(m => m.SubjectId == q.SubjectId).Where(m => m.FieldId == FieldId).FirstOrDefault().Prefix;
byte[] FieldDes = Convert.FromBase64String(meta.TblField.Where(m => m.SubjectId == q.SubjectId).Where(m => m.FieldId == q.FieldID).FirstOrDefault().Description);
sources.Add(new Power.Source(new Power.WmlDocument(Guid.NewGuid().ToString("N"), FieldDes), false));
}
string prefixTemplate = Sys.Application.StartupPath + @"/templates/prefix.docx";
Power.WmlDocument con = new Power.WmlDocument(prefixTemplate);
modifystream = new Power.OpenXmlMemoryStreamDocument(con);
modifywDoc = modifystream.GetWordprocessingDocument();
Power.TextReplacer.SearchAndReplace(modifywDoc, "question", prefix + (QuestionNum++).ToString(), false);
sources.Add(new Power.Source(modifystream.GetModifiedWmlDocument(), false));
byte[] buf = Convert.FromBase64String(q.con);
Power.WmlDocument ans = new Power.WmlDocument(Guid.NewGuid().ToString("N"), buf);
sources.Add(new Power.Source(ans, false));
}
//sources.Add(new Power.Source(new Power.WmlDocument(CurrQuiz.QuizTemplateId, footer), false));
Power.WmlDocument FinalDoc = Power.DocumentBuilder.BuildDocument(sources);
string OutDocFile = SettingInfo.OutputFolder + @"\A" + CurrQuiz.QuizCode.ToString() + ".docx";
string OutPdfFile = SettingInfo.OutputFolder + @"\A" + CurrQuiz.QuizCode.ToString() + ".pdf";
FinalDoc.SaveAs(OutDocFile);
Utilities.ConverttoPdf(OutDocFile, OutPdfFile);
Forms.frmPDFViewer frm = new Forms.frmPDFViewer();
frm.pdffile = OutPdfFile;
frm.LoadData();
frm.Show();
}
}
}

View File

@@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Security.Cryptography;
namespace Omega
{
internal static class common
{
public static DateTime testdate { get; set; }
public static DateTime visitdate { get; set; }
public static DateTime MaxDate(DateTime a, DateTime b)
{
return a > b ? a : b;
}
public static DateTime MinDate(DateTime a, DateTime b)
{
return a > b ? b : a;
}
public static string MD5Hash(string text)
{
MD5 md5 = new MD5CryptoServiceProvider();
//compute hash from the bytes of text
md5.ComputeHash(ASCIIEncoding.ASCII.GetBytes(text));
//get hash result after compute it
byte[] result = md5.Hash;
StringBuilder strBuilder = new StringBuilder();
for (int i = 0; i < result.Length; i++)
{
//change it into 2 hexadecimal digits
//for each byte
strBuilder.Append(result[i].ToString("x2"));
}
return strBuilder.ToString();
}
}
}

View File

@@ -0,0 +1,59 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Windows.Forms;
using System.Configuration;
using System.Collections;
namespace Omega
{
public class SettingInfo
{
private static XmlDocument doc = new XmlDocument();
public static string OutputFolder { get; set; }
public static string BackupFolder { get; set; }
public static string Password { get; set; }
public static string DatabaseFile { get; set; }
public static string UserName { get; set; }
public static string Exclusive {get;set;}
public static string InstallId { get; set; }
public static string RegisterNo {get;set;}
public static Boolean Registered { get; set; }
public static int MinQuestionNum { get; set; }
public static void InitInfo()
{
getValues();
}
public static void getValues()
{
try
{
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
string value = config.AppSettings.Settings["ConnectionString.MS Access (OleDb)"].Value;
string[] values = value.Split(new char[] { ';' });
string DataSource = values[1];
DatabaseFile = DataSource.Split(new char[] { '=' })[1];
OutputFolder = config.AppSettings.Settings["OutputFolder"].Value;
BackupFolder = config.AppSettings.Settings["BackupFolder"].Value;
Exclusive = config.AppSettings.Settings["Exclusive"].Value;
InstallId = Omega.FingerPrint.Value().Trim();
RegisterNo = config.AppSettings.Settings["RegisterNo"].Value;
Registered = (common.MD5Hash(InstallId.Trim().ToString()).ToUpper() == RegisterNo);
MinQuestionNum = Convert.ToInt32(config.AppSettings.Settings["MinQuestionNum"].Value);
}
catch
{
}
}
}
}

View File

@@ -0,0 +1,57 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Xml;
using System.Linq;
using System.Xml.Linq;
namespace Omega.Forms
{
public partial class frmChangePass : Omega.BasicForms.frmCommon
{
public frmChangePass()
{
InitializeComponent();
}
private void Cancel_Click(object sender, EventArgs e)
{
this.Close();
}
private void OK_Click(object sender, EventArgs e)
{
if ((this.Password.Text != this.RePassword.Text) || (this.Password.Text.Length==0) || (this.RePassword.Text.Length==0))
{
MessageBox.Show("The input values are not the same or empty","Đổi mật khẩu",MessageBoxButtons.OK);
}else
{
string fileToLoad = "Settings.xml";
XElement root = XElement.Load(fileToLoad);
var selected = (from cli in root.Descendants("user")
where cli.Element("username").Value == this.UserName.EditValue.ToString()
select cli).FirstOrDefault();
selected.Element("Password").Value = common.MD5Hash(Password.Text);
root.Save("Settings.xml");
(new frmShowSaveInfo()).Show();
this.Close();
}
}
private void frmChangePass_Load(object sender, EventArgs e)
{
this.UserName.EditValue = SettingInfo.UserName;
this.UserName.Enabled = (SettingInfo.UserName == "Admin");
}
}
}

View File

@@ -0,0 +1,146 @@
namespace Omega.Forms
{
partial class frmChangePass
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmChangePass));
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.Password = new DevExpress.XtraEditors.TextEdit();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.RePassword = new DevExpress.XtraEditors.TextEdit();
this.OK = new System.Windows.Forms.Button();
this.Cancel = new System.Windows.Forms.Button();
this.imageList = new System.Windows.Forms.ImageList(this.components);
this.UserName = new DevExpress.XtraEditors.ImageComboBoxEdit();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
((System.ComponentModel.ISupportInitialize)(this.Password.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RePassword.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.UserName.Properties)).BeginInit();
this.SuspendLayout();
//
// labelControl2
//
resources.ApplyResources(this.labelControl2, "labelControl2");
this.labelControl2.Name = "labelControl2";
//
// Password
//
this.Password.EnterMoveNextControl = true;
resources.ApplyResources(this.Password, "Password");
this.Password.Name = "Password";
this.Password.Properties.PasswordChar = '*';
//
// labelControl1
//
resources.ApplyResources(this.labelControl1, "labelControl1");
this.labelControl1.Name = "labelControl1";
//
// RePassword
//
this.RePassword.EnterMoveNextControl = true;
resources.ApplyResources(this.RePassword, "RePassword");
this.RePassword.Name = "RePassword";
this.RePassword.Properties.PasswordChar = '*';
//
// OK
//
resources.ApplyResources(this.OK, "OK");
this.OK.Name = "OK";
this.OK.UseVisualStyleBackColor = true;
this.OK.Click += new System.EventHandler(this.OK_Click);
//
// Cancel
//
resources.ApplyResources(this.Cancel, "Cancel");
this.Cancel.Name = "Cancel";
this.Cancel.UseVisualStyleBackColor = true;
this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
//
// imageList
//
this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
this.imageList.Images.SetKeyName(0, "admin.jpg");
this.imageList.Images.SetKeyName(1, "Super.jpg");
this.imageList.Images.SetKeyName(2, "User.jpg");
//
// UserName
//
resources.ApplyResources(this.UserName, "UserName");
this.UserName.Name = "UserName";
this.UserName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(((DevExpress.XtraEditors.Controls.ButtonPredefines)(resources.GetObject("UserName.Properties.Buttons"))))});
this.UserName.Properties.DropDownRows = 3;
this.UserName.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items"), resources.GetString("UserName.Properties.Items1"), ((int)(resources.GetObject("UserName.Properties.Items2")))),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items3"), resources.GetString("UserName.Properties.Items4"), ((int)(resources.GetObject("UserName.Properties.Items5")))),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items6"), resources.GetString("UserName.Properties.Items7"), ((int)(resources.GetObject("UserName.Properties.Items8"))))});
this.UserName.Properties.LargeImages = this.imageList;
this.UserName.Properties.SmallImages = this.imageList;
//
// labelControl3
//
resources.ApplyResources(this.labelControl3, "labelControl3");
this.labelControl3.Name = "labelControl3";
//
// frmChangePass
//
resources.ApplyResources(this, "$this");
this.Controls.Add(this.labelControl3);
this.Controls.Add(this.UserName);
this.Controls.Add(this.Cancel);
this.Controls.Add(this.OK);
this.Controls.Add(this.labelControl1);
this.Controls.Add(this.RePassword);
this.Controls.Add(this.labelControl2);
this.Controls.Add(this.Password);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "frmChangePass";
this.Load += new System.EventHandler(this.frmChangePass_Load);
((System.ComponentModel.ISupportInitialize)(this.Password.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RePassword.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.UserName.Properties)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.TextEdit Password;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.TextEdit RePassword;
private System.Windows.Forms.Button OK;
private System.Windows.Forms.Button Cancel;
private System.Windows.Forms.ImageList imageList;
private DevExpress.XtraEditors.ImageComboBoxEdit UserName;
private DevExpress.XtraEditors.LabelControl labelControl3;
}
}

View File

@@ -0,0 +1,440 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl2.Location" type="System.Drawing.Point, System.Drawing">
<value>27, 78</value>
</data>
<data name="labelControl2.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 13</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="labelControl2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Nhập mật khẩu mới:</value>
</data>
<data name="&gt;&gt;labelControl2.Name" xml:space="preserve">
<value>labelControl2</value>
</data>
<data name="&gt;&gt;labelControl2.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl2.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="Password.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 76</value>
</data>
<data name="Password.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 20</value>
</data>
<data name="Password.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;Password.Name" xml:space="preserve">
<value>Password</value>
</data>
<data name="&gt;&gt;Password.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;Password.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;Password.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="labelControl1.Location" type="System.Drawing.Point, System.Drawing">
<value>34, 113</value>
</data>
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 13</value>
</data>
<data name="labelControl1.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Nhập lại mật khẩu:</value>
</data>
<data name="&gt;&gt;labelControl1.Name" xml:space="preserve">
<value>labelControl1</value>
</data>
<data name="&gt;&gt;labelControl1.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl1.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="RePassword.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 111</value>
</data>
<data name="RePassword.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 20</value>
</data>
<data name="RePassword.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="&gt;&gt;RePassword.Name" xml:space="preserve">
<value>RePassword</value>
</data>
<data name="&gt;&gt;RePassword.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;RePassword.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;RePassword.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="OK.Location" type="System.Drawing.Point, System.Drawing">
<value>106, 158</value>
</data>
<data name="OK.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="OK.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="OK.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;OK.Name" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;OK.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;OK.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;OK.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="Cancel.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 158</value>
</data>
<data name="Cancel.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="Cancel.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="Cancel.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;Cancel.Name" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;Cancel.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;Cancel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;Cancel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABI
DwAAAk1TRnQBSQFMAgEBAwEAASgBAAEoAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHW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z
ASoBSwOaAUsCmgQaApoDKgGZBv8gAAb/AfACDgEPAREBEAEOAg8BDgIPBA4BEAEOEv8B6wHvAf8B6wEA
AUcBRgJEAZoBcwGaAXQBdQEfARwN/wEbBCoBSwEqAXoBmgQaApoDKgH2Bv8gAAb/AfECDgEPAUMBEQEO
ARABEQMQAQ4CDwIOAe8T/wEAAUMBGwEAAXQBRgEgAW4BegGaAZkBbhD/AfYHKgGaAxoCmgFLAyoH/yAA
B/8CDwEQAkMBEQEQAQ8CEQEQAQ8BEAEPARABDhT/AfcCAAKaAQ4BHgHpAW0BQwEQAfMR/wcqAUsBmgIa
ApoEKgf/IAAH/wEPAhABEQJDAREDQwIRAhABDwFtFf8DAAF0AQ4CAAEfAgAS/wFLByoBegOaBCoBGwf/
IAAH/wFtARACEQIVAUMBFQFDARECQwERAhAX/wEOAQABEQQAAQsBHgFFAfQQ/wEbCCoBmgF0BSoI/yAA
CP8CEQFDAxUBFAMVAkMBEQH0GP8BvAEAARABEQEAAQ4BRxT/DioBwwj/IAAJ/wFDAhUFFAMVAewa/wHt
Af8B9gL/AfQU/wHDDCoBSwn/IAAK/wIVARQDEwIUARUB7Db/AXQKKgFRCv8gAAz/ARIBEwISARMBFDn/
AcMIKgH2C/8gAEz/AfYBwwF5AUsBdAHDAv8B9gv/IAABQgFNAT4HAAE+AwABKAMAAYADAAEgAwABAQEA
AQEGAAECFgAD//8A/wADAAs=
</value>
</data>
<data name="UserName.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 23</value>
</data>
<assembly alias="DevExpress.Utils.v22.1" name="DevExpress.Utils.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="UserName.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v22.1">
<value>Combo</value>
</data>
<data name="UserName.Properties.Items" xml:space="preserve">
<value>Admin</value>
</data>
<data name="UserName.Properties.Items1" xml:space="preserve">
<value>Admin</value>
</data>
<data name="UserName.Properties.Items2" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="UserName.Properties.Items3" xml:space="preserve">
<value>SuperUser</value>
</data>
<data name="UserName.Properties.Items4" xml:space="preserve">
<value>SuperUser</value>
</data>
<data name="UserName.Properties.Items5" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="UserName.Properties.Items6" xml:space="preserve">
<value>User</value>
</data>
<data name="UserName.Properties.Items7" xml:space="preserve">
<value>User</value>
</data>
<data name="UserName.Properties.Items8" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="UserName.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 34</value>
</data>
<data name="UserName.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="&gt;&gt;UserName.Name" xml:space="preserve">
<value>UserName</value>
</data>
<data name="&gt;&gt;UserName.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.ImageComboBoxEdit, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;UserName.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;UserName.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="labelControl3.Location" type="System.Drawing.Point, System.Drawing">
<value>70, 33</value>
</data>
<data name="labelControl3.Size" type="System.Drawing.Size, System.Drawing">
<value>52, 13</value>
</data>
<data name="labelControl3.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="labelControl3.Text" xml:space="preserve">
<value>User Name</value>
</data>
<data name="&gt;&gt;labelControl3.Name" xml:space="preserve">
<value>labelControl3</value>
</data>
<data name="&gt;&gt;labelControl3.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl3.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl3.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>382, 209</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Đôi mật khẩu</value>
</data>
<data name="&gt;&gt;imageList.Name" xml:space="preserve">
<value>imageList</value>
</data>
<data name="&gt;&gt;imageList.Type" xml:space="preserve">
<value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>frmChangePass</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>Omega.BasicForms.frmCommon, Omega, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@@ -0,0 +1,440 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl2.Location" type="System.Drawing.Point, System.Drawing">
<value>27, 78</value>
</data>
<data name="labelControl2.Size" type="System.Drawing.Size, System.Drawing">
<value>95, 13</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="labelControl2.TabIndex" type="System.Int32, mscorlib">
<value>5</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Nhập mật khẩu mới:</value>
</data>
<data name="&gt;&gt;labelControl2.Name" xml:space="preserve">
<value>labelControl2</value>
</data>
<data name="&gt;&gt;labelControl2.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl2.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl2.ZOrder" xml:space="preserve">
<value>6</value>
</data>
<data name="Password.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 76</value>
</data>
<data name="Password.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 20</value>
</data>
<data name="Password.TabIndex" type="System.Int32, mscorlib">
<value>4</value>
</data>
<data name="&gt;&gt;Password.Name" xml:space="preserve">
<value>Password</value>
</data>
<data name="&gt;&gt;Password.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;Password.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;Password.ZOrder" xml:space="preserve">
<value>7</value>
</data>
<data name="labelControl1.Location" type="System.Drawing.Point, System.Drawing">
<value>34, 113</value>
</data>
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>89, 13</value>
</data>
<data name="labelControl1.TabIndex" type="System.Int32, mscorlib">
<value>7</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Nhập lại mật khẩu:</value>
</data>
<data name="&gt;&gt;labelControl1.Name" xml:space="preserve">
<value>labelControl1</value>
</data>
<data name="&gt;&gt;labelControl1.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl1.ZOrder" xml:space="preserve">
<value>4</value>
</data>
<data name="RePassword.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 111</value>
</data>
<data name="RePassword.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 20</value>
</data>
<data name="RePassword.TabIndex" type="System.Int32, mscorlib">
<value>6</value>
</data>
<data name="&gt;&gt;RePassword.Name" xml:space="preserve">
<value>RePassword</value>
</data>
<data name="&gt;&gt;RePassword.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;RePassword.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;RePassword.ZOrder" xml:space="preserve">
<value>5</value>
</data>
<data name="OK.Location" type="System.Drawing.Point, System.Drawing">
<value>106, 158</value>
</data>
<data name="OK.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="OK.TabIndex" type="System.Int32, mscorlib">
<value>8</value>
</data>
<data name="OK.Text" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;OK.Name" xml:space="preserve">
<value>OK</value>
</data>
<data name="&gt;&gt;OK.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;OK.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;OK.ZOrder" xml:space="preserve">
<value>3</value>
</data>
<data name="Cancel.Location" type="System.Drawing.Point, System.Drawing">
<value>212, 158</value>
</data>
<data name="Cancel.Size" type="System.Drawing.Size, System.Drawing">
<value>75, 23</value>
</data>
<data name="Cancel.TabIndex" type="System.Int32, mscorlib">
<value>9</value>
</data>
<data name="Cancel.Text" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;Cancel.Name" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="&gt;&gt;Cancel.Type" xml:space="preserve">
<value>System.Windows.Forms.Button, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;Cancel.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;Cancel.ZOrder" xml:space="preserve">
<value>2</value>
</data>
<metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABI
DwAAAk1TRnQBSQFMAgEBAwEAASgBAAEoAQABIAEAASABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABgAMAASADAAEBAQABCAYAARAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
AWYCAAHMAZkCAALM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EAAXQBRgEgAW4BegGaAZkBbhD/AfYHKgGaAxoCmgFLAyoH/yAA
B/8CDwEQAkMBEQEQAQ8CEQEQAQ8BEAEPARABDhT/AfcCAAKaAQ4BHgHpAW0BQwEQAfMR/wcqAUsBmgIa
ApoEKgf/IAAH/wEPAhABEQJDAREDQwIRAhABDwFtFf8DAAF0AQ4CAAEfAgAS/wFLByoBegOaBCoBGwf/
IAAH/wFtARACEQIVAUMBFQFDARECQwERAhAX/wEOAQABEQQAAQsBHgFFAfQQ/wEbCCoBmgF0BSoI/yAA
CP8CEQFDAxUBFAMVAkMBEQH0GP8BvAEAARABEQEAAQ4BRxT/DioBwwj/IAAJ/wFDAhUFFAMVAewa/wHt
Af8B9gL/AfQU/wHDDCoBSwn/IAAK/wIVARQDEwIUARUB7Db/AXQKKgFRCv8gAAz/ARIBEwISARMBFDn/
AcMIKgH2C/8gAEz/AfYBwwF5AUsBdAHDAv8B9gv/IAABQgFNAT4HAAE+AwABKAMAAYADAAEgAwABAQEA
AQEGAAECFgAD//8A/wADAAs=
</value>
</data>
<data name="UserName.Location" type="System.Drawing.Point, System.Drawing">
<value>132, 23</value>
</data>
<assembly alias="DevExpress.Utils.v20.1" name="DevExpress.Utils.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<data name="UserName.Properties.Buttons" type="DevExpress.XtraEditors.Controls.ButtonPredefines, DevExpress.Utils.v20.1">
<value>Combo</value>
</data>
<data name="UserName.Properties.Items" xml:space="preserve">
<value>Admin</value>
</data>
<data name="UserName.Properties.Items1" xml:space="preserve">
<value>Admin</value>
</data>
<data name="UserName.Properties.Items2" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="UserName.Properties.Items3" xml:space="preserve">
<value>SuperUser</value>
</data>
<data name="UserName.Properties.Items4" xml:space="preserve">
<value>SuperUser</value>
</data>
<data name="UserName.Properties.Items5" type="System.Int32, mscorlib">
<value>1</value>
</data>
<data name="UserName.Properties.Items6" xml:space="preserve">
<value>User</value>
</data>
<data name="UserName.Properties.Items7" xml:space="preserve">
<value>User</value>
</data>
<data name="UserName.Properties.Items8" type="System.Int32, mscorlib">
<value>2</value>
</data>
<data name="UserName.Size" type="System.Drawing.Size, System.Drawing">
<value>196, 34</value>
</data>
<data name="UserName.TabIndex" type="System.Int32, mscorlib">
<value>10</value>
</data>
<data name="&gt;&gt;UserName.Name" xml:space="preserve">
<value>UserName</value>
</data>
<data name="&gt;&gt;UserName.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.ImageComboBoxEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;UserName.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;UserName.ZOrder" xml:space="preserve">
<value>1</value>
</data>
<data name="labelControl3.Location" type="System.Drawing.Point, System.Drawing">
<value>70, 33</value>
</data>
<data name="labelControl3.Size" type="System.Drawing.Size, System.Drawing">
<value>52, 13</value>
</data>
<data name="labelControl3.TabIndex" type="System.Int32, mscorlib">
<value>11</value>
</data>
<data name="labelControl3.Text" xml:space="preserve">
<value>User Name</value>
</data>
<data name="&gt;&gt;labelControl3.Name" xml:space="preserve">
<value>labelControl3</value>
</data>
<data name="&gt;&gt;labelControl3.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.LabelControl, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="&gt;&gt;labelControl3.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;labelControl3.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>382, 209</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Đôi mật khẩu</value>
</data>
<data name="&gt;&gt;imageList.Name" xml:space="preserve">
<value>imageList</value>
</data>
<data name="&gt;&gt;imageList.Type" xml:space="preserve">
<value>System.Windows.Forms.ImageList, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>frmChangePass</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>Omega.BasicForms.frmCommon, Omega, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null</value>
</data>
</root>

View File

@@ -0,0 +1,146 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl2.Size" type="System.Drawing.Size, System.Drawing">
<value>91, 13</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Nhập mật khẩu mới</value>
</data>
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>85, 13</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Nhập lại mật khẩu</value>
</data>
<data name="OK.Text" xml:space="preserve">
<value>Chọn</value>
</data>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Cancel.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<data name="Cancel.Text" xml:space="preserve">
<value>Hủy</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Đổi mật khẩu</value>
</data>
</root>

View File

@@ -0,0 +1,481 @@
namespace Omega.Forms
{
partial class frmCreateQuiz
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCreateQuiz));
this.groupQuizInfo = new System.Windows.Forms.GroupBox();
this.progressPanel = new DevExpress.XtraWaitForm.ProgressPanel();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.QuizCode = new DevExpress.XtraEditors.TextEdit();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.QuizTemplate = new DevExpress.XtraEditors.LookUpEdit();
this.tblQuizTemplateEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.QuizTime = new DevExpress.XtraEditors.TextEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.QuizYear = new DevExpress.XtraEditors.TextEdit();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.QuizName = new DevExpress.XtraEditors.TextEdit();
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.bar1 = new DevExpress.XtraBars.Bar();
this.Create = new DevExpress.XtraBars.BarButtonItem();
this.CloseForm = new DevExpress.XtraBars.BarButtonItem();
this.barSubPrint = new DevExpress.XtraBars.BarSubItem();
this.Print = new DevExpress.XtraBars.BarButtonItem();
this.PrintAnswer = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.grdQuiz = new DevExpress.XtraGrid.GridControl();
this.tblQuizzesBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.persistentRepository = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
this.repoQuizTemplate = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colQuizId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizTemplateId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizTime = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizYear = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizCode = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupQuizInfo.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.QuizCode.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplate.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTime.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizYear.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizName.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.grdQuiz)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizzesBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoQuizTemplate)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
this.SuspendLayout();
//
// groupQuizInfo
//
this.groupQuizInfo.Controls.Add(this.progressPanel);
this.groupQuizInfo.Controls.Add(this.labelControl5);
this.groupQuizInfo.Controls.Add(this.QuizCode);
this.groupQuizInfo.Controls.Add(this.labelControl4);
this.groupQuizInfo.Controls.Add(this.QuizTemplate);
this.groupQuizInfo.Controls.Add(this.labelControl3);
this.groupQuizInfo.Controls.Add(this.QuizTime);
this.groupQuizInfo.Controls.Add(this.labelControl2);
this.groupQuizInfo.Controls.Add(this.QuizYear);
this.groupQuizInfo.Controls.Add(this.labelControl1);
this.groupQuizInfo.Controls.Add(this.QuizName);
this.groupQuizInfo.FlatStyle = System.Windows.Forms.FlatStyle.System;
this.groupQuizInfo.Location = new System.Drawing.Point(12, 53);
this.groupQuizInfo.Name = "groupQuizInfo";
this.groupQuizInfo.Size = new System.Drawing.Size(689, 189);
this.groupQuizInfo.TabIndex = 0;
this.groupQuizInfo.TabStop = false;
this.groupQuizInfo.Text = "Thông tin đề thi";
//
// progressPanel
//
this.progressPanel.Appearance.BackColor = System.Drawing.Color.Transparent;
this.progressPanel.Appearance.Options.UseBackColor = true;
this.progressPanel.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.progressPanel.AppearanceCaption.Options.UseFont = true;
this.progressPanel.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.progressPanel.AppearanceDescription.Options.UseFont = true;
this.progressPanel.Description = "Calculating...";
this.progressPanel.Location = new System.Drawing.Point(238, 20);
this.progressPanel.Name = "progressPanel";
this.progressPanel.Size = new System.Drawing.Size(299, 66);
this.progressPanel.TabIndex = 12;
this.progressPanel.Visible = false;
//
// labelControl5
//
this.labelControl5.Location = new System.Drawing.Point(13, 147);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(44, 13);
this.labelControl5.TabIndex = 9;
this.labelControl5.Text = "Mã đề thi";
//
// QuizCode
//
this.QuizCode.Location = new System.Drawing.Point(98, 144);
this.QuizCode.Name = "QuizCode";
this.QuizCode.Size = new System.Drawing.Size(109, 20);
this.QuizCode.TabIndex = 8;
//
// labelControl4
//
this.labelControl4.Location = new System.Drawing.Point(13, 113);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(20, 13);
this.labelControl4.TabIndex = 7;
this.labelControl4.Text = "Mẫu";
//
// QuizTemplate
//
this.QuizTemplate.Location = new System.Drawing.Point(98, 108);
this.QuizTemplate.Name = "QuizTemplate";
this.QuizTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.QuizTemplate.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QuizTemplateId", "Quiz Template Id", 91, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near, DevExpress.Data.ColumnSortOrder.None, DevExpress.Utils.DefaultBoolean.Default),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TemplateQuizName", "Mẫu đề", 108, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near, DevExpress.Data.ColumnSortOrder.None, DevExpress.Utils.DefaultBoolean.Default)});
this.QuizTemplate.Properties.DataSource = this.tblQuizTemplateEntityBindingSource;
this.QuizTemplate.Properties.DisplayMember = "TemplateQuizName";
this.QuizTemplate.Properties.NullText = "";
this.QuizTemplate.Properties.ValueMember = "QuizTemplateId";
this.QuizTemplate.Size = new System.Drawing.Size(531, 20);
this.QuizTemplate.TabIndex = 6;
this.QuizTemplate.EditValueChanged += new System.EventHandler(this.QuizTemplate_EditValueChanged);
//
// tblQuizTemplateEntityBindingSource
//
this.tblQuizTemplateEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateEntity);
//
// labelControl3
//
this.labelControl3.Location = new System.Drawing.Point(13, 85);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(58, 13);
this.labelControl3.TabIndex = 5;
this.labelControl3.Text = "Thời gian thi";
//
// QuizTime
//
this.QuizTime.Location = new System.Drawing.Point(98, 82);
this.QuizTime.Name = "QuizTime";
this.QuizTime.Size = new System.Drawing.Size(58, 20);
this.QuizTime.TabIndex = 4;
//
// labelControl2
//
this.labelControl2.Location = new System.Drawing.Point(13, 59);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(36, 13);
this.labelControl2.TabIndex = 3;
this.labelControl2.Text = "Năm thi";
//
// QuizYear
//
this.QuizYear.Location = new System.Drawing.Point(98, 56);
this.QuizYear.Name = "QuizYear";
this.QuizYear.Size = new System.Drawing.Size(58, 20);
this.QuizYear.TabIndex = 2;
//
// labelControl1
//
this.labelControl1.Location = new System.Drawing.Point(13, 33);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(48, 13);
this.labelControl1.TabIndex = 1;
this.labelControl1.Text = "Tên đề thi";
//
// QuizName
//
this.QuizName.Location = new System.Drawing.Point(98, 30);
this.QuizName.Name = "QuizName";
this.QuizName.Size = new System.Drawing.Size(531, 20);
this.QuizName.TabIndex = 0;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar1});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.Create,
this.CloseForm,
this.Print,
this.barSubPrint,
this.PrintAnswer});
this.barManager.MaxItemId = 7;
//
// bar1
//
this.bar1.BarName = "Tools";
this.bar1.DockCol = 0;
this.bar1.DockRow = 0;
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Create, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.CloseForm, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubPrint, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
this.bar1.Text = "Tools";
//
// Create
//
this.Create.Caption = "Tạo đề";
this.Create.Id = 0;
this.Create.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("Create.ImageOptions.Image")));
this.Create.Name = "Create";
this.Create.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Create_ItemClick);
//
// CloseForm
//
this.CloseForm.Caption = "Đóng";
this.CloseForm.Id = 3;
this.CloseForm.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("CloseForm.ImageOptions.Image")));
this.CloseForm.Name = "CloseForm";
this.CloseForm.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.CloseForm_ItemClick);
//
// barSubPrint
//
this.barSubPrint.Caption = "Print";
this.barSubPrint.Id = 5;
this.barSubPrint.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("barSubPrint.ImageOptions.Image")));
this.barSubPrint.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Print, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(this.PrintAnswer)});
this.barSubPrint.Name = "barSubPrint";
//
// Print
//
this.Print.Caption = "In đề";
this.Print.Id = 4;
this.Print.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("Print.ImageOptions.Image")));
this.Print.Name = "Print";
this.Print.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Print_ItemClick);
//
// PrintAnswer
//
this.PrintAnswer.Caption = "In đáp án";
this.PrintAnswer.Id = 6;
this.PrintAnswer.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("PrintAnswer.ImageOptions.Image")));
this.PrintAnswer.Name = "PrintAnswer";
this.PrintAnswer.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.PrintAnswer_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Manager = this.barManager;
this.barDockControlTop.Size = new System.Drawing.Size(717, 40);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 440);
this.barDockControlBottom.Manager = this.barManager;
this.barDockControlBottom.Size = new System.Drawing.Size(717, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 40);
this.barDockControlLeft.Manager = this.barManager;
this.barDockControlLeft.Size = new System.Drawing.Size(0, 400);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(717, 40);
this.barDockControlRight.Manager = this.barManager;
this.barDockControlRight.Size = new System.Drawing.Size(0, 400);
//
// grdQuiz
//
this.grdQuiz.DataSource = this.tblQuizzesBindingSource;
this.grdQuiz.ExternalRepository = this.persistentRepository;
this.grdQuiz.Location = new System.Drawing.Point(12, 248);
this.grdQuiz.MainView = this.gridView1;
this.grdQuiz.MenuManager = this.barManager;
this.grdQuiz.Name = "grdQuiz";
this.grdQuiz.Size = new System.Drawing.Size(689, 173);
this.grdQuiz.TabIndex = 5;
this.grdQuiz.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// tblQuizzesBindingSource
//
this.tblQuizzesBindingSource.DataMember = "TblQuizzes";
this.tblQuizzesBindingSource.DataSource = this.tblQuizTemplateEntityBindingSource;
//
// persistentRepository
//
this.persistentRepository.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repoQuizTemplate});
//
// repoQuizTemplate
//
this.repoQuizTemplate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoQuizTemplate.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QuizTemplateId", "Quiz Template Id", 91, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near, DevExpress.Data.ColumnSortOrder.None, DevExpress.Utils.DefaultBoolean.Default),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TemplateQuizName", "Mẫu đề", 150, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near, DevExpress.Data.ColumnSortOrder.None, DevExpress.Utils.DefaultBoolean.Default)});
this.repoQuizTemplate.DataSource = this.tblQuizTemplateEntityBindingSource;
this.repoQuizTemplate.DisplayMember = "TemplateQuizName";
this.repoQuizTemplate.Name = "repoQuizTemplate";
this.repoQuizTemplate.ValueMember = "QuizTemplateId";
//
// gridView1
//
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colQuizId,
this.colQuizName,
this.colQuizTemplateId,
this.colQuizTime,
this.colQuizYear,
this.colQuizCode});
this.gridView1.GridControl = this.grdQuiz;
this.gridView1.Name = "gridView1";
this.gridView1.OptionsView.ShowDetailButtons = false;
this.gridView1.OptionsView.ShowGroupExpandCollapseButtons = false;
this.gridView1.OptionsView.ShowGroupPanel = false;
this.gridView1.OptionsView.ShowViewCaption = true;
this.gridView1.ViewCaption = "Danh sách đề thi";
//
// colQuizId
//
this.colQuizId.FieldName = "QuizId";
this.colQuizId.Name = "colQuizId";
//
// colQuizName
//
this.colQuizName.Caption = "Tên đề thi";
this.colQuizName.FieldName = "QuizName";
this.colQuizName.Name = "colQuizName";
this.colQuizName.Visible = true;
this.colQuizName.VisibleIndex = 1;
//
// colQuizTemplateId
//
this.colQuizTemplateId.Caption = "Mẫu đề thi";
this.colQuizTemplateId.ColumnEdit = this.repoQuizTemplate;
this.colQuizTemplateId.FieldName = "QuizTemplateId";
this.colQuizTemplateId.Name = "colQuizTemplateId";
this.colQuizTemplateId.Visible = true;
this.colQuizTemplateId.VisibleIndex = 2;
//
// colQuizTime
//
this.colQuizTime.Caption = "Thời gian thi";
this.colQuizTime.FieldName = "QuizTime";
this.colQuizTime.Name = "colQuizTime";
this.colQuizTime.Visible = true;
this.colQuizTime.VisibleIndex = 3;
//
// colQuizYear
//
this.colQuizYear.Caption = "Năm thi";
this.colQuizYear.FieldName = "QuizYear";
this.colQuizYear.Name = "colQuizYear";
this.colQuizYear.Visible = true;
this.colQuizYear.VisibleIndex = 4;
//
// colQuizCode
//
this.colQuizCode.Caption = "Mã đề thi";
this.colQuizCode.FieldName = "QuizCode";
this.colQuizCode.Name = "colQuizCode";
this.colQuizCode.Visible = true;
this.colQuizCode.VisibleIndex = 0;
//
// frmCreateQuiz
//
this.Appearance.BackColor = System.Drawing.Color.White;
this.Appearance.Options.UseBackColor = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(717, 440);
this.Controls.Add(this.grdQuiz);
this.Controls.Add(this.groupQuizInfo);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.IconOptions.Icon = ((System.Drawing.Icon)(resources.GetObject("frmCreateQuiz.IconOptions.Icon")));
this.Name = "frmCreateQuiz";
this.Text = "Ra đề thi";
this.Load += new System.EventHandler(this.frmCreateQuiz_Load);
this.groupQuizInfo.ResumeLayout(false);
this.groupQuizInfo.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.QuizCode.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplate.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTime.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizYear.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizName.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.grdQuiz)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizzesBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoQuizTemplate)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox groupQuizInfo;
private DevExpress.XtraEditors.TextEdit QuizName;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.TextEdit QuizTime;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.TextEdit QuizYear;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LookUpEdit QuizTemplate;
private System.Windows.Forms.BindingSource tblQuizTemplateEntityBindingSource;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar1;
private DevExpress.XtraBars.BarButtonItem Create;
private DevExpress.XtraBars.BarButtonItem CloseForm;
private DevExpress.XtraBars.BarButtonItem Print;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraGrid.GridControl grdQuiz;
private System.Windows.Forms.BindingSource tblQuizzesBindingSource;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private DevExpress.XtraGrid.Columns.GridColumn colQuizId;
private DevExpress.XtraGrid.Columns.GridColumn colQuizName;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTime;
private DevExpress.XtraGrid.Columns.GridColumn colQuizYear;
private DevExpress.XtraEditors.Repository.PersistentRepository persistentRepository;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoQuizTemplate;
private DevExpress.XtraWaitForm.ProgressPanel progressPanel;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.TextEdit QuizCode;
private DevExpress.XtraGrid.Columns.GridColumn colQuizCode;
private DevExpress.XtraBars.BarSubItem barSubPrint;
private DevExpress.XtraBars.BarButtonItem PrintAnswer;
}
}

View File

@@ -0,0 +1,206 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using Datalib.Linq;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using OpenXmlPowerTools;
namespace Omega.Forms
{
public partial class frmCreateQuiz : Omega.BasicForms.frmCommon
{
public List<TblQuizEntity> QuizList = new List<TblQuizEntity>();
public frmCreateQuiz()
{
InitializeComponent();
}
private void frmCreateQuiz_Load(object sender, EventArgs e)
{
LinqMetaData meta = new LinqMetaData(adapter);
var temps = meta.TblQuizTemplate.OrderBy(m => m.TrainingTypeId);
this.QuizTemplate.Properties.DataSource = temps;
LinqMetaData Meta = new LinqMetaData(adapter);
this.repoQuizTemplate.DataSource = Meta.TblQuizTemplate;
}
private void Create_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
// Get Template
string QuizTemplateID = this.QuizTemplate.EditValue.ToString();
string QuizCode = this.QuizCode.Text;
LinqMetaData meta = new LinqMetaData(adapter);
var CurQuizTempate = meta.TblQuizTemplate.Where(m => m.QuizTemplateId == QuizTemplateID).FirstOrDefault();
var CurQuizTemplateDetail = meta.TblQuizTemplateDetail.Where(m => m.QuizTemplateId == QuizTemplateID).ToList<TblQuizTemplateDetailEntity>();
TblQuizEntity CurrQuiz = new TblQuizEntity(Guid.NewGuid().ToString("N"));
CurrQuiz.QuizName = this.QuizName.Text;
CurrQuiz.QuizTime = Convert.ToInt16(this.QuizTime.EditValue);
CurrQuiz.QuizYear = Convert.ToInt16(this.QuizYear.EditValue);
CurrQuiz.QuizTemplateId = QuizTemplateID;
CurrQuiz.QuizCode = QuizCode;
EntityCollection<TblQuizQuestionEntity> QuizQuestions = CurrQuiz.TblQuizQuestions;
List<string> ExclusiveQuestions = new List<string>();
switch(SettingInfo.Exclusive)
{
case "1":
ExclusiveQuestions = (from q in meta.TblQuizQuestion where (q.TrainingTypeId == CurQuizTempate.TrainingTypeId) select q.QuestionId).ToList<string>();
break;
case "2":
ExclusiveQuestions = (from q in meta.TblQuizQuestion where (q.QuizTemplateId == CurQuizTempate.QuizTemplateId) select q.QuestionId).ToList<string>();
break;
case "3":
ExclusiveQuestions = (from q in meta.TblQuizQuestion select q.QuestionId).ToList<string>();
break;
}
foreach (var QuizDetail in CurQuizTemplateDetail)
{
int QuestionNum = (int)QuizDetail.QuestionNum;
string SubjectID = QuizDetail.SubjectId;
string Level = QuizDetail.Level;
string Difficulty = QuizDetail.Difficulty;
string FieldID = QuizDetail.FieldId;
List<Quiz> Questions;
if (QuizDetail.Difficulty == "A")
{
if(QuizDetail.Level=="A")
{
Questions = (from q in meta.TblQuestion
where (q.Exclusive != true && q.SubjectId == SubjectID && q.FieldId == FieldID && !(from o in ExclusiveQuestions select o).Contains(q.QuestionId))
select new Quiz { QuestionId = q.QuestionId, Order = 0 }).ToList();
}
else
{
Questions = (from q in meta.TblQuestion
where (q.Exclusive != true && q.SubjectId == SubjectID && q.FieldId == FieldID && q.Level == Level && !(from o in ExclusiveQuestions select o).Contains(q.QuestionId))
select new Quiz { QuestionId = q.QuestionId, Order = 0 }).ToList();
}
}
else
{
if (QuizDetail.Level == "A")
{
Questions = (from q in meta.TblQuestion
where (q.Exclusive != true && q.SubjectId == SubjectID && q.FieldId == FieldID && q.Difficulty == Difficulty && !(from o in ExclusiveQuestions select o).Contains(q.QuestionId))
select new Quiz { QuestionId = q.QuestionId, Order = 0 }).ToList();
} else
{
Questions = (from q in meta.TblQuestion
where (q.Exclusive != true && q.SubjectId == SubjectID && q.FieldId == FieldID && q.Difficulty == Difficulty && q.Level == Level && !(from o in ExclusiveQuestions select o).Contains(q.QuestionId))
select new Quiz { QuestionId = q.QuestionId, Order = 0 }).ToList();
}
}
if (Questions.Count < QuestionNum + SettingInfo.MinQuestionNum -1)
{
frmWarning frm = new frmWarning();
frm.RestQuestionNum.Text = Questions.Count.ToString();
frm.QuizTemplateDetai = QuizDetail;
frm.LoadData();
frm.ShowDialog();
}
Random rnd = new Random();
foreach (var q in Questions)
{
q.Order = rnd.Next(1, 1000);
}
foreach (var m in Questions.OrderBy(m => m.Order).Take(QuestionNum))
{
TblQuizQuestionEntity QuizQuestion = QuizQuestions.AddNew();
QuizQuestion.UniqueId = Guid.NewGuid().ToString("N");
QuizQuestion.QuestionId = m.QuestionId;
QuizQuestion.QuizTemplateId = QuizTemplateID;
QuizQuestion.TrainingTypeId = CurQuizTempate.TrainingTypeId;
}
}
adapter.SaveEntity(CurrQuiz, true, true);
QuizList.Add(CurrQuiz);
grdQuiz.DataSource = null;
grdQuiz.DataSource = QuizList;
}
private void Print_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.progressPanel.Visible = true;
List<Source> sources = new List<Source>();
LinqMetaData meta = new LinqMetaData(adapter);
this.progressPanel.Visible = false;
if (QuizList.Count > 0)
{
TblQuizEntity CurrQuiz = (TblQuizEntity)QuizList[this.BindingContext[QuizList].Position];
Utilities.PrintQuiz(CurrQuiz);
}
this.progressPanel.Visible = false;
}
private void QuizTemplate_EditValueChanged(object sender, EventArgs e)
{
LinqMetaData meta = new LinqMetaData(adapter);
string QuizTemplateId = this.QuizTemplate.EditValue.ToString();
string QuizTemplateCode = meta.TblQuizTemplate.Where(m => m.QuizTemplateId == QuizTemplateId).FirstOrDefault().QuizTemplateCode;
this.QuizCode.Text = QuizTemplateCode + "-" + this.QuizYear.Text;
}
private void CloseForm_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.Close();
}
private void PrintAnswer_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.progressPanel.Visible = true;
List<Source> sources = new List<Source>();
LinqMetaData meta = new LinqMetaData(adapter);
this.progressPanel.Visible = false;
if (QuizList.Count > 0)
{
TblQuizEntity CurrQuiz = (TblQuizEntity)QuizList[this.BindingContext[QuizList].Position];
Utilities.PrintQuizAnswer(CurrQuiz);
}
this.progressPanel.Visible = false;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,511 @@
namespace Omega.Forms
{
partial class frmDirectories
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDirectories));
this.Directories = new DevExpress.XtraTab.XtraTabControl();
this.Subjects = new DevExpress.XtraTab.XtraTabPage();
this.grdSubjects = new DevExpress.XtraGrid.GridControl();
this.tblSubjectEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.SubjectView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSubjectDes = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnSubjectDesView = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colSubjectId1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubjectName = new DevExpress.XtraGrid.Columns.GridColumn();
this.TrainingType = new DevExpress.XtraTab.XtraTabPage();
this.grdTrainingType = new DevExpress.XtraGrid.GridControl();
this.tblTrainingTypeEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.TrainingTypeView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colTrainingTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTrainingTypeName = new DevExpress.XtraGrid.Columns.GridColumn();
this.Field = new DevExpress.XtraTab.XtraTabPage();
this.gridField = new DevExpress.XtraGrid.GridControl();
this.tblFieldEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.persistentRepository = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
this.repoSubject = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.FieldDesView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colPrefix = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn();
this.tbnFieldDesView = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colFieldId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colFieldName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubjectId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colUniqueId = new DevExpress.XtraGrid.Columns.GridColumn();
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.bar2 = new DevExpress.XtraBars.Bar();
this.Save = new DevExpress.XtraBars.BarButtonItem();
this.barDelete = new DevExpress.XtraBars.BarButtonItem();
this.barClose = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
((System.ComponentModel.ISupportInitialize)(this.Directories)).BeginInit();
this.Directories.SuspendLayout();
this.Subjects.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdSubjects)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.SubjectView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnSubjectDesView)).BeginInit();
this.TrainingType.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdTrainingType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblTrainingTypeEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.TrainingTypeView)).BeginInit();
this.Field.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridField)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblFieldEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.FieldDesView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tbnFieldDesView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
this.SuspendLayout();
//
// Directories
//
this.Directories.Dock = System.Windows.Forms.DockStyle.Fill;
this.Directories.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Bottom;
this.Directories.Location = new System.Drawing.Point(0, 24);
this.Directories.Name = "Directories";
this.Directories.SelectedTabPage = this.Subjects;
this.Directories.Size = new System.Drawing.Size(736, 424);
this.Directories.TabIndex = 0;
this.Directories.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.Subjects,
this.TrainingType,
this.Field});
//
// Subjects
//
this.Subjects.Controls.Add(this.grdSubjects);
this.Subjects.Image = ((System.Drawing.Image)(resources.GetObject("Subjects.Image")));
this.Subjects.Name = "Subjects";
this.Subjects.Size = new System.Drawing.Size(730, 393);
this.Subjects.Text = "Môn học";
//
// grdSubjects
//
this.grdSubjects.DataSource = this.tblSubjectEntityBindingSource;
this.grdSubjects.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdSubjects.Location = new System.Drawing.Point(0, 0);
this.grdSubjects.MainView = this.SubjectView;
this.grdSubjects.Name = "grdSubjects";
this.grdSubjects.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.btnSubjectDesView});
this.grdSubjects.Size = new System.Drawing.Size(730, 393);
this.grdSubjects.TabIndex = 1;
this.grdSubjects.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.SubjectView});
//
// tblSubjectEntityBindingSource
//
this.tblSubjectEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblSubjectEntity);
//
// SubjectView
//
this.SubjectView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colSubjectDes,
this.colSubjectId1,
this.colSubjectName});
this.SubjectView.GridControl = this.grdSubjects;
this.SubjectView.Name = "SubjectView";
this.SubjectView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.SubjectView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
this.SubjectView.OptionsView.ShowGroupPanel = false;
//
// colSubjectDes
//
this.colSubjectDes.Caption = "Mô tả";
this.colSubjectDes.ColumnEdit = this.btnSubjectDesView;
this.colSubjectDes.FieldName = "SubjectDes";
this.colSubjectDes.Name = "colSubjectDes";
this.colSubjectDes.Visible = true;
this.colSubjectDes.VisibleIndex = 2;
this.colSubjectDes.Width = 569;
//
// btnSubjectDesView
//
this.btnSubjectDesView.AutoHeight = false;
this.btnSubjectDesView.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.btnSubjectDesView.Name = "btnSubjectDesView";
this.btnSubjectDesView.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnSubjectDesView_ButtonClick);
//
// colSubjectId1
//
this.colSubjectId1.Caption = "Mã môn học";
this.colSubjectId1.FieldName = "SubjectId";
this.colSubjectId1.Name = "colSubjectId1";
this.colSubjectId1.Visible = true;
this.colSubjectId1.VisibleIndex = 0;
this.colSubjectId1.Width = 68;
//
// colSubjectName
//
this.colSubjectName.Caption = "Tên môn học";
this.colSubjectName.FieldName = "SubjectName";
this.colSubjectName.Name = "colSubjectName";
this.colSubjectName.Visible = true;
this.colSubjectName.VisibleIndex = 1;
this.colSubjectName.Width = 256;
//
// TrainingType
//
this.TrainingType.Controls.Add(this.grdTrainingType);
this.TrainingType.Image = ((System.Drawing.Image)(resources.GetObject("TrainingType.Image")));
this.TrainingType.Name = "TrainingType";
this.TrainingType.Size = new System.Drawing.Size(730, 393);
this.TrainingType.Text = "Loại hình đào tạo";
//
// grdTrainingType
//
this.grdTrainingType.DataSource = this.tblTrainingTypeEntityBindingSource;
this.grdTrainingType.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdTrainingType.Location = new System.Drawing.Point(0, 0);
this.grdTrainingType.MainView = this.TrainingTypeView;
this.grdTrainingType.Name = "grdTrainingType";
this.grdTrainingType.Size = new System.Drawing.Size(730, 393);
this.grdTrainingType.TabIndex = 0;
this.grdTrainingType.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.TrainingTypeView});
//
// tblTrainingTypeEntityBindingSource
//
this.tblTrainingTypeEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblTrainingTypeEntity);
//
// TrainingTypeView
//
this.TrainingTypeView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colTrainingTypeId,
this.colTrainingTypeName});
this.TrainingTypeView.GridControl = this.grdTrainingType;
this.TrainingTypeView.Name = "TrainingTypeView";
this.TrainingTypeView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.TrainingTypeView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
this.TrainingTypeView.OptionsView.ShowGroupPanel = false;
//
// colTrainingTypeId
//
this.colTrainingTypeId.Caption = "Mã loại hình đào tạo";
this.colTrainingTypeId.FieldName = "TrainingTypeId";
this.colTrainingTypeId.Name = "colTrainingTypeId";
this.colTrainingTypeId.Visible = true;
this.colTrainingTypeId.VisibleIndex = 0;
//
// colTrainingTypeName
//
this.colTrainingTypeName.Caption = "Tên loại hình đào tạo";
this.colTrainingTypeName.FieldName = "TrainingTypeName";
this.colTrainingTypeName.Name = "colTrainingTypeName";
this.colTrainingTypeName.Visible = true;
this.colTrainingTypeName.VisibleIndex = 1;
//
// Field
//
this.Field.Controls.Add(this.gridField);
this.Field.Image = ((System.Drawing.Image)(resources.GetObject("Field.Image")));
this.Field.Name = "Field";
this.Field.Size = new System.Drawing.Size(730, 393);
this.Field.Text = "Lĩnh vực kiến thức";
//
// gridField
//
this.gridField.DataSource = this.tblFieldEntityBindingSource;
this.gridField.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridField.ExternalRepository = this.persistentRepository;
this.gridField.Location = new System.Drawing.Point(0, 0);
this.gridField.MainView = this.FieldDesView;
this.gridField.Name = "gridField";
this.gridField.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.tbnFieldDesView});
this.gridField.Size = new System.Drawing.Size(730, 393);
this.gridField.TabIndex = 1;
this.gridField.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.FieldDesView});
//
// tblFieldEntityBindingSource
//
this.tblFieldEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblFieldEntity);
//
// persistentRepository
//
this.persistentRepository.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repoSubject});
//
// repoSubject
//
this.repoSubject.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoSubject.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Subject Id", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", "Tên môn học", 76, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.repoSubject.DataSource = this.tblSubjectEntityBindingSource;
this.repoSubject.DisplayMember = "SubjectName";
this.repoSubject.Name = "repoSubject";
this.repoSubject.ValueMember = "SubjectId";
//
// FieldDesView
//
this.FieldDesView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colPrefix,
this.colDescription,
this.colFieldId,
this.colFieldName,
this.colSubjectId,
this.colUniqueId});
this.FieldDesView.GridControl = this.gridField;
this.FieldDesView.Name = "FieldDesView";
this.FieldDesView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.FieldDesView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
this.FieldDesView.OptionsView.ShowGroupPanel = false;
//
// colPrefix
//
this.colPrefix.Caption = "Prefix";
this.colPrefix.FieldName = "Prefix";
this.colPrefix.Name = "colPrefix";
this.colPrefix.Visible = true;
this.colPrefix.VisibleIndex = 4;
this.colPrefix.Width = 229;
//
// colDescription
//
this.colDescription.Caption = "Mô tả";
this.colDescription.ColumnEdit = this.tbnFieldDesView;
this.colDescription.FieldName = "Description";
this.colDescription.Name = "colDescription";
this.colDescription.Visible = true;
this.colDescription.VisibleIndex = 3;
this.colDescription.Width = 323;
//
// tbnFieldDesView
//
this.tbnFieldDesView.AutoHeight = false;
this.tbnFieldDesView.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.tbnFieldDesView.Name = "tbnFieldDesView";
this.tbnFieldDesView.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.tbnFieldDesView_ButtonClick);
//
// colFieldId
//
this.colFieldId.Caption = "Lĩnh vực kiến thức";
this.colFieldId.FieldName = "FieldId";
this.colFieldId.Name = "colFieldId";
this.colFieldId.Visible = true;
this.colFieldId.VisibleIndex = 1;
this.colFieldId.Width = 210;
//
// colFieldName
//
this.colFieldName.Caption = "Tên lĩnh vực";
this.colFieldName.FieldName = "FieldName";
this.colFieldName.Name = "colFieldName";
this.colFieldName.Visible = true;
this.colFieldName.VisibleIndex = 2;
this.colFieldName.Width = 147;
//
// colSubjectId
//
this.colSubjectId.Caption = "Môn";
this.colSubjectId.ColumnEdit = this.repoSubject;
this.colSubjectId.FieldName = "SubjectId";
this.colSubjectId.Name = "colSubjectId";
this.colSubjectId.Visible = true;
this.colSubjectId.VisibleIndex = 0;
this.colSubjectId.Width = 169;
//
// colUniqueId
//
this.colUniqueId.Caption = "UniqueKey";
this.colUniqueId.FieldName = "UniqueId";
this.colUniqueId.Name = "colUniqueId";
this.colUniqueId.Width = 118;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar2});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.Save,
this.barDelete,
this.barClose});
this.barManager.MainMenu = this.bar2;
this.barManager.MaxItemId = 3;
//
// bar2
//
this.bar2.BarName = "Main menu";
this.bar2.DockCol = 0;
this.bar2.DockRow = 0;
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Save, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barDelete, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(this.barClose)});
this.bar2.OptionsBar.MultiLine = true;
this.bar2.OptionsBar.UseWholeRow = true;
this.bar2.Text = "Main menu";
//
// Save
//
this.Save.Caption = "Save";
this.Save.Glyph = ((System.Drawing.Image)(resources.GetObject("Save.Glyph")));
this.Save.Id = 0;
this.Save.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("Save.LargeGlyph")));
this.Save.Name = "Save";
this.Save.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Save_ItemClick);
//
// barDelete
//
this.barDelete.Caption = "Delete";
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
this.barDelete.Id = 1;
this.barDelete.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barDelete.LargeGlyph")));
this.barDelete.Name = "barDelete";
this.barDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelete_ItemClick);
//
// barClose
//
this.barClose.Caption = "Close";
this.barClose.Glyph = ((System.Drawing.Image)(resources.GetObject("barClose.Glyph")));
this.barClose.Id = 2;
this.barClose.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barClose.LargeGlyph")));
this.barClose.Name = "barClose";
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(736, 24);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 448);
this.barDockControlBottom.Size = new System.Drawing.Size(736, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 424);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(736, 24);
this.barDockControlRight.Size = new System.Drawing.Size(0, 424);
//
// frmDirectories
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(736, 448);
this.Controls.Add(this.Directories);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "frmDirectories";
this.Text = "Danh mục";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.Load += new System.EventHandler(this.frmDirectories_Load);
((System.ComponentModel.ISupportInitialize)(this.Directories)).EndInit();
this.Directories.ResumeLayout(false);
this.Subjects.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.grdSubjects)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.SubjectView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnSubjectDesView)).EndInit();
this.TrainingType.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.grdTrainingType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblTrainingTypeEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.TrainingTypeView)).EndInit();
this.Field.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.gridField)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblFieldEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.FieldDesView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tbnFieldDesView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraTab.XtraTabControl Directories;
private DevExpress.XtraTab.XtraTabPage Subjects;
private System.Windows.Forms.BindingSource tblSubjectEntityBindingSource;
private DevExpress.XtraTab.XtraTabPage TrainingType;
private DevExpress.XtraTab.XtraTabPage Field;
private DevExpress.XtraGrid.GridControl grdTrainingType;
private DevExpress.XtraGrid.Views.Grid.GridView TrainingTypeView;
private System.Windows.Forms.BindingSource tblTrainingTypeEntityBindingSource;
private DevExpress.XtraGrid.Columns.GridColumn colTrainingTypeId;
private DevExpress.XtraGrid.Columns.GridColumn colTrainingTypeName;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar2;
private DevExpress.XtraBars.BarButtonItem Save;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraGrid.GridControl gridField;
private System.Windows.Forms.BindingSource tblFieldEntityBindingSource;
private DevExpress.XtraGrid.Views.Grid.GridView FieldDesView;
private DevExpress.XtraGrid.Columns.GridColumn colDescription;
private DevExpress.XtraGrid.Columns.GridColumn colFieldId;
private DevExpress.XtraGrid.Columns.GridColumn colFieldName;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId;
private DevExpress.XtraGrid.Columns.GridColumn colUniqueId;
private DevExpress.XtraBars.BarButtonItem barDelete;
private DevExpress.XtraBars.BarButtonItem barClose;
private DevExpress.XtraEditors.Repository.PersistentRepository persistentRepository;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoSubject;
private DevExpress.XtraGrid.GridControl grdSubjects;
private DevExpress.XtraGrid.Views.Grid.GridView SubjectView;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectDes;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId1;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectName;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnSubjectDesView;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit tbnFieldDesView;
private DevExpress.XtraGrid.Columns.GridColumn colPrefix;
}
}

View File

@@ -0,0 +1,111 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using Datalib.Linq;
using Datalib.DatabaseSpecific;
using Datalib.EntityClasses;
using Datalib.HelperClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
namespace Omega.Forms
{
public partial class frmDirectories : Omega.BasicForms.frmCommon
{
public EntityCollection<TblSubjectEntity> SubjectList { get; set; }
public EntityCollection<TblTrainingTypeEntity> TrainingTypes { get; set; }
public EntityCollection<TblFieldEntity> Fields { get; set; }
public CurrencyManager FieldsMan;
public frmDirectories()
{
InitializeComponent();
}
public override void LoadData()
{
SubjectList = new EntityCollection<TblSubjectEntity>();
TrainingTypes = new EntityCollection<TblTrainingTypeEntity>();
Fields = new EntityCollection<TblFieldEntity>();
adapter.FetchEntityCollection(SubjectList, null);
adapter.FetchEntityCollection(TrainingTypes, null);
adapter.FetchEntityCollection(Fields, null);
this.grdTrainingType.DataSource = TrainingTypes;
this.gridField.DataSource = Fields;
this.repoSubject.DataSource = SubjectList;
this.grdSubjects.DataSource = SubjectList;
FieldsMan = (CurrencyManager)this.BindingContext[Fields];
FieldsMan.PositionChanged += FieldsMan_PositionChanged;
}
void FieldsMan_PositionChanged(object sender, EventArgs e)
{
if (Fields[FieldsMan.Position].IsNew)
{
Fields[FieldsMan.Position].UniqueId = Guid.NewGuid().ToString("N");
}
}
private void frmDirectories_Load(object sender, EventArgs e)
{
}
private void Save_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
adapter.SaveEntityCollection(this.TrainingTypes, true, true);
adapter.SaveEntityCollection(this.SubjectList, true, true);
adapter.SaveEntityCollection(this.Fields, true, true);
}
private void btnSubjectDesView_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
frmViewOpenXMLContent frm = new frmViewOpenXMLContent();
frm.View = SubjectView;
frm.Column = colSubjectDes;
frm.LoadData();
frm.Show();
}
private void tbnFieldDesView_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
frmViewOpenXMLContent frm = new frmViewOpenXMLContent();
frm.View = FieldDesView;
frm.Column = colDescription;
frm.LoadData();
frm.Show();
}
private void barDelete_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
if (MessageBox.Show("Bạn có muốn xóa bản ghi này?", "Chương trình quản lý đề thi", MessageBoxButtons.OKCancel) == DialogResult.Cancel) return;
int index = Directories.SelectedTabPageIndex;
switch(index)
{
case 0:
TblSubjectEntity sub = (TblSubjectEntity)SubjectList[this.BindingContext[SubjectList].Position];
adapter.DeleteEntity(sub);
SubjectList.Remove(sub);
break;
case 1:
TblTrainingTypeEntity train = (TblTrainingTypeEntity)this.TrainingTypes[this.BindingContext[TrainingTypes].Position];
adapter.DeleteEntity(train);
TrainingTypes.Remove(train);
break;
case 2:
TblFieldEntity field = (TblFieldEntity)this.Fields[this.BindingContext[Fields].Position];
adapter.DeleteEntity(field);
Fields.Remove(field);
break;
}
}
}
}

View File

@@ -0,0 +1,407 @@
<?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>
<metadata name="tblSubjectEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="Subjects.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAsdEVYdFRpdGxlAERvY3VtZW50O01hcDtTY2hlbWU7RGlhZ3JhbTtIaWVyYXI7TmV0Tg8qRAAA
AfNJREFUOE+Vkt1LU3Ecxo9utaWpG/hK/iEWtItgKRFLxVohbUoYKwqHbxet0U7IxDGCgsoaRNQupItS
EHy52qppGawXMOhllldhglQY9CI+fR89yPndnQ58OL/nu+f3OefsHA3ANufTHzU5igSbsEPYaeAwcpG5
T5QQuvNOOpo9+rCQjY0tYZPxLSIPPjylyNwnSugYeUuBc2C0gM8/N/DJYHFtAwOji9LWysx9ogT/1TcU
lAZvLuD16jpml/8i93UdmS9/ELy+QIHb3CdKOJLIU1DuG87j0fs1pF7+wO1X33FLzr5EnoJKc58owas/
p8Dljc1j5MUq4o9XEM+uYEjw6vMUVJv7RAmei3MU7N7XO53zXJiDZHgiOeyPzGJveOIZ5eY+UUJD/xMK
+ArLhZpDx/rSTW09aVnXCW7B3nxSV/Zol6frt2k/k8SJUBL+0wn4u4Zx9NQQ2jrjaO0YREtQh2yGr/0S
2NWn9mixyXpxbn04xYKNm4z1Jq0BPdUciKXMs8PHo+zwLpm5V7OF79VlwvdrcO5uLUKp2qzMHBZndgoc
XTeqsfT7Ggq/kghcqeIVKizOnBSU+Acrkf8WxsxyI1qibv5QZXFWSoGzsduVaep14WBPBQ6cLeOtuS3O
dlHAP6NEcBlwzWezMitW3un/A+0fG5Xnr8dbSyMAAAAASUVORK5CYII=
</value>
</data>
<metadata name="tblTrainingTypeEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>233, 17</value>
</metadata>
<data name="TrainingType.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64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7KWzkwkWT7Ry0QzwkMKL4qiIvyFwp6BpnUYb9Ui1LIRY8eWYfTI63hkE+Fh9avoNotg
X8f9k2Sn1yojn/SeAUxpMURhwCHHndo4BCuEGKpagMH9Atw08/DXbi5+NUSCFEGy7Gqa8xwg4vh7AnNT
9hxvYya/26GZ3X80dRbq3uGiOvmla1Y557fyNexvSyXscpKd9iIAM4oIImYgzMpmEnGeEZuIuWf8SU8A
Fup/yVbNvieAbkcAAAAASUVORK5CYII=
</value>
</data>
<metadata name="tblFieldEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 56</value>
</metadata>
<metadata name="persistentRepository.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>508, 54</value>
</metadata>
<data name="Field.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAhdEVYdFRpdGxlAEZpbmQ7Q3VzdG9tZXI7RmluZEN1c3RvbWVyO2BIPkAAAANQSURBVDhPdZIL
MFRhGIZPEpMmukxKpZqhRjHdMF23FJnuMujGki4Sh9hYbe1mybptlx0kU812WRQNNqrVRsNWCpGNQkma
lZamkrRJNW//WZmpmXpnnjnnfOd/35nv+z/qDw0hGBKMCMMIBgRGTH2QvwSAonjHbzDvBj7ByVachHxF
ZFJhf2hc7q2NPgdtQo9cmHZEoizipyi/8U7cLKL5l6aQs0M4CXLGMxDASdR/GNOxuRX3Hr1EU0sHpDkq
BAtzvvFTivsq1W14/qoTpzNLECbKV5GzQ+noq4xnIIDIwNNftOJoajG07z5DVdmMpNQc7I6SgSu+Ds3b
bjS3duH85VLQgmyww08tIh59O4MBxt770zPzFHV4pfkARflT0NxULHOPxqY9KWht/4iOzk+oVrdAXlyF
s9llSsZDGJjRjDnOljsiZX0NL7SobexArqIGvsFiLFp7COv8xNBoe9D0QImKk2yohCtREmkP2U7bWqGr
5XZiH0pt8BNfkhVU4UPPV3z/8RPP27pwKE4KB9cIuGwTkYBuFB5gQS2lUX7MB/VZXNwReSDGxfIrCTCm
3Hal9bVrPyFL/gQedC4u32yAsqwGs51CwHIXout9DzK2zsQ1vhsK+O5I3GSHDPZ8cJdY9JKAEdRqb8n3
Xl0fvDn5CCh4C9/oQjLMbtivCoNX8Bn0ftEhyX895EIf6LRV6KxIwyn2AuyxN2eubzi13DOuVd2ogTS/
Flt4BZAW1eFuZSNsFvq+XsNOftGm6UJxWS3kgi340laKdyox0tkOmGBq5Kifgd1Sv5AwoQyl9xvw+s17
KO48xq5wCSymO/EcnfcFRYkyUaNuRnZcIGoyBSgXb0XUOtt2Yp4c4zSOPCjKzHqeJ8eWFdg0i7UP1g7b
mydYL48k9bEEk5AoyeHopPSOiHgvxIcthnCvAzbT00vmO4+1Iv+ZldffpwnBnDCJMJ4wgsDUDQNP2Am4
Zx11526zIa8OR5rCDfyLi8msrHVrgyxi9dv0P4iMgySz+vOqaVx5GICM0g04nDMXoRk24J1fANe94/r/
aRyEyGibYFqWF29qvXvE5JaNnIlYQ5tjhf+Ylyzv0c8cPUzz/mkchIhpg1lbpqWRhFG/MSOYUhRl8guw
P/05ZIulSwAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="barManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>479, 17</value>
</metadata>
<data name="Save.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQ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LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQAACUBJREFUWEfFlndU1FcWx92SLcnGJKZt/Xf/irtRUYpI
770NMMPQGRiYAQYYehkYekekSEBFsSBipCii2ILBGmPBLihFkQgq0oSo57v3/YYhIbjHnD0nZ985Hx6P
mcP3e+8r9y4B8H/lp+NXxK//R37zM1B/l+ksGuyDt4jfE3/8CW+/gXd+Juy77P8zMwtMsMVbYelbMuR5
O19GF9QjpnA34orrwRenw9YjBraCGHiIUpFfthu5pfXILtmBzKLtUBZsQ2peLVKyNyMxowZxyirEKDYi
KqkMFo7BcPKWw9FLDgePSNjxZS+teJIdpMVMsIDnB1v8ISJ3x2zT8StoOdGN5s5utHVdh6aeB4wsPGHj
HAzPICWeTc1ijHg6qeLJxAwej89gdPw5Rp6peDQ2je+eTMPMPhBVdftRWduK8k3N2FDTBFu38JekxbLB
sjA/2OLt8Ow6NB27jNxN7cje3I6SuqNzBoSwcQqGMDCVE7za/wTdfY9x5d5jXL47iku9I1ipZU5YYqU2
QfP9kQkY24ogjSmBOKoQgRF5SKYsWbuGspP37pzm/GCLd8LSt6HxyEVkVbcRB1C8rQNr9AQwNBfC2kkM
fkAKF93FnhF82/MIF+48wje3v8P5W8NYpWONFZpOJO4Me9quu0PPYGjlh5C4IgRF5UEUkYv4zGq1gaXE
b5mwejADf5IqN6Ph8AWkV7Uio2o/Crd2YPU6PgzmDLj5JuPB6CTO3RzG2RvDOHP9IU5fG8Kpq0PQ0LWD
xloeGXaHrXs0bg08gZ6FD0JiihEYSQbCcxGbXgUrFykz8B6x2IBEUYNdbeeQVtECZWULCra0Y7UuGTDz
gJVjIHjeiegbHkdX9wN83X0fnZcH8dWlQZy4OEDCTtAx9MBaYy+KMgp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2wTXrKzimHYVt
cgesEw7BIvYgTOQHYBjRinWhTdCR7IOmuBGrRXuwyn83PvfZheUaDvhMw55juYpX//yXST5pqVsyzgAb
7BfmiLXL7Jlkh4Sl6U38/Q3840ewNbv/THw+/erBFupMsO1gX/glYEGqI19gQD3UH/zSzI0lS/4DBgtb
CtBCAjUAAAAASUVORK5CYII=
</value>
</data>
<data name="barDelete.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAjdEVYdFRpdGxlAENhbmNlbDtTdG9wO0V4aXQ7QmFycztSaWJib247TJaWsgAAA5pJREFUOE8l
k39Qk3Ucx78IptikutJOYl1gGyIOhmxtoB5jxoTBLPgjLE+9MhNQRsdxeZAkXhRO7jQDLu6IOjARZPyw
hDmdeVlJF8PGgHILBPkhwvZswAbbkd677/PwvXs9977P5/N+P9/vc8+XeEytxHO7g3jvXCV0Bf6We0Rk
KyqoenCi0DJeXPSEhdV/F2prDB8cFNOZIEqAx6QnC8YWQgP0rDGAstqqzSse/fQT/+y3X8Pd3gDP7U54
Ke72RszUV2Hs5Am/+djRUjq7lrKKC6ArQCuX8YaO55nGK8rgudWO+e6LmOuoh6ulBq7mGrjb6jD3UyPo
yzBx9nMMHM/9RRMpfIENYQOCzB8e/ma0vJQaL8FSlI+6cBGMmZlwNp6Ds+EcbmZlcTVL4TEuaOzLMvxx
+P3L1LuWdGZlSq25OU8Y/Xe4V5CDBtU7MHWb0ZxTgm51BgzpGk6bunq5njn/I7iu1MGan/e0PjU1iZgy
NLUjX5zE49oK1PGj8MA+BYdrCfZRBi3a0xz3qZ52ejFsm+JmpqvLMXK6BIa0dD25uUc9bD/6Lka0+3FD
8xb+1J2Hd+k/OOd9sD1kYBtjMDvnw8LiMtczavZiOC8btiPZuKFKe0iuK1TL/2SnYOjtHbAfolvevRs9
uguYcfswQ3fy2E1hfPi94isYlErcP5CGwYwEDGYlwaBIWSZX5UnLltQ3MKCWYWhvIq5JtsN46izd8hIe
ORcx5fBSlnC9VIdr8dsxkC6HdY8U/SoJWC9pEsvHepUrha7YbWj7uAwD/zowOesFs+ADM+/H+IwX/fZZ
6AtOoSsmGpY349CrEKMpVjZFaoXi7007ZLAoxbgULoRz2olJxyJcC370X6jmWAnxwPHIyc38lRSDnxMl
qBbEdpKi0IhdF6Pinpp3bsNdpRy3DhyCn2FwT1cJoyyeIuE0W2N7d5Nl6EuMxg9bxMh/+TU1+yMFV74i
vHwlcissybHoSZaiVRgJkyyOfhc5d2ZWs7UehRQWRQz0kVE4s0nAXp71bMCqrWvWbajcuLmvKUIA8y4R
NSWgP0WCvoQoyhZ65ngMqhPQt1OE5s0CnNkYYRWteZZPvYFkouA9NiQw/hneprLn+C1VG8LRLojAHfHr
6JXSQMqvVHfQWjXtffY8/8fo1cGvUk/QuHYfIeyDEysXg3dw3UuqEl5oa3lI2IQuhA9dSBjK14dNFvNC
2/YHv6ihMyGUwBXfPvI/dZFG19yv1ioAAAAASUVORK5CYII=
</value>
</data>
<data name="barDelete.LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAjdEVYdFRpdGxlAENhbmNlbDtTdG9wO0V4aXQ7QmFycztSaWJib247TJaWsgAACxVJREFUWEeV
lwdUVccWhsf3UnxBjMaudAVFBAtYKALSQcGGYokaRQ0RCTZAQKVYEBOxYyTGEoOiol5QUTTSRKkCF0Tg
UpTOpSqiyNW3/uw5F4h5K+u99fZa35q5c2b2/88+cw4HVrM/mNgtJ/RvoPFqaqtDOMGMos9/40WAP3se
4Mcqdvqy50SFvzcr9/Vi5du9WJnPVlbqvYVJtm1mkq2eNJ2iZl8Q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Lbp6hCXYqwIWOYiAaua41i
Is1RfKjHBL8d/Fkd4tF/pPu+gWqVhwarImKEEn5TGUkiIxE9ejiiNYYjUmUELiiPxKnho3BwoDL2KCpX
uSkM4/97DScUCaHsnCvqI9gV9eFsr4Iy/aT4cZAGi1Yfxq5pdEN9ih4T/LDwE8sfm2HLvhji6K048kSg
orI4WFGlJKS/CkIUaaf9lEoCFJTEW78YEe7Sd9BcmjuC4Lvm3358I0K+yypDWA97FZRoiOLAQHV2YIAa
C+V8qUotwdv+Qok+NsJLyCvCEw8h+O5GdsP7/PHi73d+yrnpXmEu9nf8P9FjhD+qPDEvKTfEhTi8z8f4
NT6nZ/7/CMb+AFWcml/bbQDGAAAAAElFTkSuQmCC
</value>
</data>
<data name="barClose.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAASdEVYdFRpdGxlAEZvcndhcmQ7TmV4dOtv9uEAAAO2SURBVDhPTZJ7TJNXGIc/MWRbbDf+WCJG
2tqWUgFxoJENw7INqhRlDCoMAY1rSSmXwQaOWcetLJtXsiKlgAwJIoyNNrCpRAzboKKMtrOCKLdBC6tN
kHHpisplJr+dr9uSneScNznnfZ73PSeHGl3UUNOuNur35XaKjA3p5fytBQ3+JcWtAbdUuh0TKv0OW0lb
wMDJpoAvM9UCf5Kzkc6zL+upCWctRU066wmsp2GPnCo/ZWFzyIremIV+61n8ttAKq/M7GGfK0WHJgaot
ZC3volAdEOb1Ii2xuZooyvpnIxV+aLNnZoVfi+ZaHCYWrmDcpcXI0ikMLioxtHQSo87TmHJVY2y+EZWd
McitFnaFRr/KoCXuyrLTfkXl7TGYcNbg9qwCt+dkCFcwIfsiEH0OOcwLmRiYU8A4n4vJ5QZorksgPy+o
I6wnFZ/P4WSrdz61zJbjJ3sqehxHYZg9hreyGahp1UKcyUZzfxzuPJa693scx/DgjwvIqw1+fug4J5RK
KuQX195Ixc92KW7OJOBHexJ6HqUgIpeBuUUXbpkGkHh8L05c2k0KJKPbfhi9j9LQYpDjiIrfQATcvh8G
FbhqjcPRsz54h4CRHzMgyt+EZ6vrcD1dxfiUA6XaTxD/KQstFjE6pyW4MfohUlV8G5Wg5NqvjR2Bfnyf
u6pp0Ia796dheTCD5WdreLJCJCTa7PPQ3WxHTI4/ytp2odsmQ0oJ7zkVX8B53Dy0H9+OvI3IPCb+P5xP
Vslcg3N5lXTzF0zDff8K9kD3MBqJn3HXqdg8jklj2IOm+29AfoGPaCUDBwqZOFhE3mBpBQuuNayur6P+
+1NIKNyGtnsS6MfE0PaFQlLAcVDiDLZaeTkItXd3koMD6LImo8uWgndLme4OHHNWZJwR4UTjLlydlODK
cBi+vheM4m+CcTCb3UGFJ3kHJSp565r+QGjN/qj5NZAkvIZYFQPdZh3eL+WhtjcSrSMRuGgJQrU5ANXG
IBwu8sWbyVui6I/kGZXO0qad40NjFKLK5EdEQsR+zkRaBQctQxGos4S45fQ+HdPVfERlsDoI+xIt2MAO
Yr5MrtIrPcfFV3cEqDT6QTcqwuXhvagyb0clkWpMQpw3CPDBGS7EWeyHglAvb8J6UAa7lJZ4bBVu8oqU
+VyKzd+GnDoeyq7zoP7FFxUDvijr5OOjeh7eI2f75KxO/u5XthBmo5ull/8kZL4QJtkcJpL5NEQpWFPR
WRy6GvZnsO2iNB/d6xLvaJJDt+3xDyel/gYZ50RBvCWpjwAAAABJRU5ErkJggg==
</value>
</data>
<data name="barClose.LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAASdEVYdFRpdGxlAEZvcndhcmQ7TmV4dOtv9uEAAAqNSURBVFhHlVYHWJVHFh1303ZTNitm3fQI
B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q5
8u6pBMx9UYBKxNsDR/Qztp3z2TWlpyZW7dfGJgrqm6ID32SaCfzMRDxvemGPbZ03fA7b2QMKtYz7jqRY
nLkkZzAX88rBC95gsBAaKhHcDn5X3zOZ+OFixZwBFY4eGpgTrImViVpYm6QNn2QdbDqhg7UHtLFyjzbm
0pmjhyYUc9QrTSZ8tIR8/054myDLzlDx/EbA/J4qcCvm87ZKBF8WvrH82vQfbNV//Ogpn8RYuQ4otHb9
7DZdYDBsXAfctnL9rHD0lI9jDSz7TyDb9wmcNf/340R6yX9XwH8CjReFcAm5Ihz4PQJn90EPeM2vF3/f
+Zaz6F7i34vN+H+GSgi/qhyYS8qCmIjBa97jM7ZR2f+PIcS/AA4vhkehEomDAAAAAElFTkSuQmCC
</value>
</data>
</root>

View File

@@ -0,0 +1,62 @@
namespace Omega.Forms
{
partial class frmEditQuestion
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmEditQuestion));
this.richEditControl = new DevExpress.XtraRichEdit.RichEditControl();
this.SuspendLayout();
//
// richEditControl
//
this.richEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.richEditControl.Location = new System.Drawing.Point(0, 0);
this.richEditControl.Name = "richEditControl";
this.richEditControl.Options.Fields.UseCurrentCultureDateTimeFormat = false;
this.richEditControl.Options.MailMerge.KeepLastParagraph = false;
this.richEditControl.Size = new System.Drawing.Size(922, 468);
this.richEditControl.TabIndex = 0;
//
// frmEditQuestion
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(922, 468);
this.Controls.Add(this.richEditControl);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmEditQuestion";
this.Text = "Xem câu hỏi";
this.Load += new System.EventHandler(this.frmEditQuestion_Load);
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraRichEdit.RichEditControl richEditControl;
}
}

View File

@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Datalib.Linq;
using System.Linq;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using OpenXmlPowerTools;
using System.Xml.Linq;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
namespace Omega.Forms
{
public partial class frmEditQuestion : Omega.BasicForms.frmCommon
{
public TblQuestionEntity Question { get; set; }
public frmEditQuestion()
{
InitializeComponent();
}
private void frmEditQuestion_Load(object sender, EventArgs e)
{
}
public override void LoadData()
{
List<Source> Sources = new List<Source>();
byte[] Content = Convert.FromBase64String(Question.Content);
Sources.Add(new Source(new WmlDocument(Guid.NewGuid().ToString("N"), Content),false));
WmlDocument des = DocumentBuilder.BuildDocument(Sources);
richEditControl.OpenXmlBytes = des.DocumentByteArray;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,61 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Net;
using System.Text;
using System.Windows.Forms;
using Omega.Properties;
using System.Globalization;
using System.Threading;
using System.Xml;
using System.Xml.Linq;
using System.Linq;
namespace Omega.Forms
{
public partial class frmLogin : Omega.BasicForms.frmCommon
{
public frmLogin()
{
InitializeComponent();
}
private void OK_Click(object sender, EventArgs e)
{
string fileToLoad = Application.StartupPath + @"\Settings.xml";
XElement root = XElement.Load(fileToLoad);
var selected = (from cli in root.Descendants("user")
where cli.Element("username").Value == UserName.EditValue.ToString()
select cli).FirstOrDefault();
if (selected.Element("Password").Value == common.MD5Hash(Password.Text))
{
this.Hide();
SettingInfo.UserName = this.UserName.EditValue.ToString().Trim();
var frm = new frmMain();
frm.ShowDialog();
this.Close();
}
else
{
MessageBox.Show("Bạn nhập sai mật khẩu hoặc tên truy cập", "Cảnh báo", MessageBoxButtons.OK);
}
}
private void Cancel_Click(object sender, EventArgs e)
{
Application.Exit();
}
}
}

130
omegapro/Omega/Forms/frmLogin.designer.cs generated Normal file
View File

@@ -0,0 +1,130 @@
namespace Omega.Forms
{
partial class frmLogin
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmLogin));
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.Password = new DevExpress.XtraEditors.TextEdit();
this.OK = new DevExpress.XtraEditors.SimpleButton();
this.Cancel = new DevExpress.XtraEditors.SimpleButton();
this.UserName = new DevExpress.XtraEditors.ImageComboBoxEdit();
this.imageList = new System.Windows.Forms.ImageList(this.components);
((System.ComponentModel.ISupportInitialize)(this.Password.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.UserName.Properties)).BeginInit();
this.SuspendLayout();
//
// labelControl1
//
resources.ApplyResources(this.labelControl1, "labelControl1");
this.labelControl1.Name = "labelControl1";
//
// labelControl2
//
resources.ApplyResources(this.labelControl2, "labelControl2");
this.labelControl2.Name = "labelControl2";
//
// Password
//
this.Password.EnterMoveNextControl = true;
resources.ApplyResources(this.Password, "Password");
this.Password.Name = "Password";
this.Password.Properties.AutoHeight = ((bool)(resources.GetObject("Password.Properties.AutoHeight")));
this.Password.Properties.PasswordChar = '*';
//
// OK
//
resources.ApplyResources(this.OK, "OK");
this.OK.Name = "OK";
this.OK.Click += new System.EventHandler(this.OK_Click);
//
// Cancel
//
this.Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
resources.ApplyResources(this.Cancel, "Cancel");
this.Cancel.Name = "Cancel";
this.Cancel.Click += new System.EventHandler(this.Cancel_Click);
//
// UserName
//
resources.ApplyResources(this.UserName, "UserName");
this.UserName.Name = "UserName";
this.UserName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(((DevExpress.XtraEditors.Controls.ButtonPredefines)(resources.GetObject("UserName.Properties.Buttons"))))});
this.UserName.Properties.DropDownRows = 3;
this.UserName.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items"), resources.GetString("UserName.Properties.Items1"), ((int)(resources.GetObject("UserName.Properties.Items2")))),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items3"), resources.GetString("UserName.Properties.Items4"), ((int)(resources.GetObject("UserName.Properties.Items5")))),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem(resources.GetString("UserName.Properties.Items6"), resources.GetString("UserName.Properties.Items7"), ((int)(resources.GetObject("UserName.Properties.Items8"))))});
this.UserName.Properties.LargeImages = this.imageList;
this.UserName.Properties.SmallImages = this.imageList;
//
// imageList
//
this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream")));
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
this.imageList.Images.SetKeyName(0, "admin.jpg");
this.imageList.Images.SetKeyName(1, "Super.jpg");
this.imageList.Images.SetKeyName(2, "User.jpg");
//
// frmLogin
//
this.AcceptButton = this.OK;
this.ActiveGlowColor = System.Drawing.Color.Empty;
resources.ApplyResources(this, "$this");
this.CancelButton = this.Cancel;
this.Controls.Add(this.UserName);
this.Controls.Add(this.Cancel);
this.Controls.Add(this.OK);
this.Controls.Add(this.labelControl2);
this.Controls.Add(this.Password);
this.Controls.Add(this.labelControl1);
this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.Shadow;
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.InactiveGlowColor = System.Drawing.Color.Empty;
this.Name = "frmLogin";
((System.ComponentModel.ISupportInitialize)(this.Password.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.UserName.Properties)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.TextEdit Password;
private DevExpress.XtraEditors.SimpleButton OK;
private DevExpress.XtraEditors.SimpleButton Cancel;
private DevExpress.XtraEditors.ImageComboBoxEdit UserName;
private System.Windows.Forms.ImageList imageList;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,155 @@
<?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>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="UserName.Enabled" type="System.Boolean, mscorlib">
<value>False</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="labelControl1.Size" type="System.Drawing.Size, System.Drawing">
<value>72, 13</value>
</data>
<data name="labelControl1.Text" xml:space="preserve">
<value>Tên đăng nhập</value>
</data>
<data name="labelControl2.Size" type="System.Drawing.Size, System.Drawing">
<value>44, 13</value>
</data>
<data name="labelControl2.Text" xml:space="preserve">
<value>Mật khẩu</value>
</data>
<data name="OK.Text" xml:space="preserve">
<value>Chọn</value>
</data>
<data name="Cancel.Text" xml:space="preserve">
<value>Hủy</value>
</data>
<data name="Language.Properties.Items" xml:space="preserve">
<value>Tiếng Việt</value>
</data>
<data name="Language.Properties.Items1" xml:space="preserve">
<value>Tiếng Anh</value>
</data>
<data name="labelControl3.Text" xml:space="preserve">
<value>Ngôn ngữ</value>
</data>
<data name="$this.Text" xml:space="preserve">
<value>Đăng nhập</value>
</data>
</root>

View File

@@ -0,0 +1,353 @@
namespace Omega.Forms
{
partial class frmPDFViewer
{
/// <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()
{
this.components = new System.ComponentModel.Container();
this.pdfViewer = new DevExpress.XtraPdfViewer.PdfViewer();
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.pdfBarController = new DevExpress.XtraPdfViewer.Bars.PdfBarController();
this.pdfCommandBar1 = new DevExpress.XtraPdfViewer.Bars.PdfCommandBar();
this.pdfFileOpenBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfFileOpenBarItem();
this.pdfFilePrintBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfFilePrintBarItem();
this.pdfPreviousPageBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfPreviousPageBarItem();
this.pdfNextPageBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfNextPageBarItem();
this.pdfZoomOutBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoomOutBarItem();
this.pdfZoomInBarItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoomInBarItem();
this.pdfExactZoomListBarSubItem1 = new DevExpress.XtraPdfViewer.Bars.PdfExactZoomListBarSubItem();
this.pdfZoom10CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom10CheckItem();
this.pdfZoom25CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom25CheckItem();
this.pdfZoom50CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom50CheckItem();
this.pdfZoom75CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom75CheckItem();
this.pdfZoom100CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom100CheckItem();
this.pdfZoom125CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom125CheckItem();
this.pdfZoom150CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom150CheckItem();
this.pdfZoom200CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom200CheckItem();
this.pdfZoom400CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom400CheckItem();
this.pdfZoom500CheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfZoom500CheckItem();
this.pdfSetActualSizeZoomModeCheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfSetActualSizeZoomModeCheckItem();
this.pdfSetPageLevelZoomModeCheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfSetPageLevelZoomModeCheckItem();
this.pdfSetFitWidthZoomModeCheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfSetFitWidthZoomModeCheckItem();
this.pdfSetFitVisibleZoomModeCheckItem1 = new DevExpress.XtraPdfViewer.Bars.PdfSetFitVisibleZoomModeCheckItem();
this.pdfViewer.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pdfBarController)).BeginInit();
this.SuspendLayout();
//
// pdfViewer
//
this.pdfViewer.Controls.Add(this.barDockControlLeft);
this.pdfViewer.Controls.Add(this.barDockControlRight);
this.pdfViewer.Controls.Add(this.barDockControlBottom);
this.pdfViewer.Controls.Add(this.barDockControlTop);
this.pdfViewer.Dock = System.Windows.Forms.DockStyle.Fill;
this.pdfViewer.Location = new System.Drawing.Point(0, 0);
this.pdfViewer.Name = "pdfViewer";
this.pdfViewer.Size = new System.Drawing.Size(474, 262);
this.pdfViewer.TabIndex = 0;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.pdfCommandBar1});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this.pdfViewer;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.pdfFileOpenBarItem1,
this.pdfFilePrintBarItem1,
this.pdfPreviousPageBarItem1,
this.pdfNextPageBarItem1,
this.pdfZoomOutBarItem1,
this.pdfZoomInBarItem1,
this.pdfExactZoomListBarSubItem1,
this.pdfZoom10CheckItem1,
this.pdfZoom25CheckItem1,
this.pdfZoom50CheckItem1,
this.pdfZoom75CheckItem1,
this.pdfZoom100CheckItem1,
this.pdfZoom125CheckItem1,
this.pdfZoom150CheckItem1,
this.pdfZoom200CheckItem1,
this.pdfZoom400CheckItem1,
this.pdfZoom500CheckItem1,
this.pdfSetActualSizeZoomModeCheckItem1,
this.pdfSetPageLevelZoomModeCheckItem1,
this.pdfSetFitWidthZoomModeCheckItem1,
this.pdfSetFitVisibleZoomModeCheckItem1});
this.barManager.MaxItemId = 21;
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(474, 31);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 262);
this.barDockControlBottom.Size = new System.Drawing.Size(474, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 31);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 231);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(474, 31);
this.barDockControlRight.Size = new System.Drawing.Size(0, 231);
//
// pdfBarController
//
this.pdfBarController.BarItems.Add(this.pdfFileOpenBarItem1);
this.pdfBarController.BarItems.Add(this.pdfFilePrintBarItem1);
this.pdfBarController.BarItems.Add(this.pdfPreviousPageBarItem1);
this.pdfBarController.BarItems.Add(this.pdfNextPageBarItem1);
this.pdfBarController.BarItems.Add(this.pdfZoomOutBarItem1);
this.pdfBarController.BarItems.Add(this.pdfZoomInBarItem1);
this.pdfBarController.BarItems.Add(this.pdfExactZoomListBarSubItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom10CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom25CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom50CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom75CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom100CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom125CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom150CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom200CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom400CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfZoom500CheckItem1);
this.pdfBarController.BarItems.Add(this.pdfSetActualSizeZoomModeCheckItem1);
this.pdfBarController.BarItems.Add(this.pdfSetPageLevelZoomModeCheckItem1);
this.pdfBarController.BarItems.Add(this.pdfSetFitWidthZoomModeCheckItem1);
this.pdfBarController.BarItems.Add(this.pdfSetFitVisibleZoomModeCheckItem1);
this.pdfBarController.Control = this.pdfViewer;
//
// pdfCommandBar1
//
this.pdfCommandBar1.Control = this.pdfViewer;
this.pdfCommandBar1.DockCol = 0;
this.pdfCommandBar1.DockRow = 0;
this.pdfCommandBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.pdfCommandBar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.pdfFileOpenBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfFilePrintBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfPreviousPageBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfNextPageBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoomOutBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoomInBarItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfExactZoomListBarSubItem1)});
//
// pdfFileOpenBarItem1
//
this.pdfFileOpenBarItem1.Id = 0;
this.pdfFileOpenBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.O));
this.pdfFileOpenBarItem1.Name = "pdfFileOpenBarItem1";
//
// pdfFilePrintBarItem1
//
this.pdfFilePrintBarItem1.Id = 1;
this.pdfFilePrintBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P));
this.pdfFilePrintBarItem1.Name = "pdfFilePrintBarItem1";
//
// pdfPreviousPageBarItem1
//
this.pdfPreviousPageBarItem1.Id = 2;
this.pdfPreviousPageBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.PageUp);
this.pdfPreviousPageBarItem1.Name = "pdfPreviousPageBarItem1";
//
// pdfNextPageBarItem1
//
this.pdfNextPageBarItem1.Id = 3;
this.pdfNextPageBarItem1.ItemShortcut = new DevExpress.XtraBars.BarShortcut(System.Windows.Forms.Keys.PageDown);
this.pdfNextPageBarItem1.Name = "pdfNextPageBarItem1";
//
// pdfZoomOutBarItem1
//
this.pdfZoomOutBarItem1.Id = 4;
this.pdfZoomOutBarItem1.Name = "pdfZoomOutBarItem1";
//
// pdfZoomInBarItem1
//
this.pdfZoomInBarItem1.Id = 5;
this.pdfZoomInBarItem1.Name = "pdfZoomInBarItem1";
//
// pdfExactZoomListBarSubItem1
//
this.pdfExactZoomListBarSubItem1.Id = 6;
this.pdfExactZoomListBarSubItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom10CheckItem1, true),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom25CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom50CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom75CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom100CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom125CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom150CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom200CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom400CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfZoom500CheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfSetActualSizeZoomModeCheckItem1, true),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfSetPageLevelZoomModeCheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfSetFitWidthZoomModeCheckItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.pdfSetFitVisibleZoomModeCheckItem1)});
this.pdfExactZoomListBarSubItem1.Name = "pdfExactZoomListBarSubItem1";
this.pdfExactZoomListBarSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu;
//
// pdfZoom10CheckItem1
//
this.pdfZoom10CheckItem1.Id = 7;
this.pdfZoom10CheckItem1.Name = "pdfZoom10CheckItem1";
//
// pdfZoom25CheckItem1
//
this.pdfZoom25CheckItem1.Id = 8;
this.pdfZoom25CheckItem1.Name = "pdfZoom25CheckItem1";
//
// pdfZoom50CheckItem1
//
this.pdfZoom50CheckItem1.Id = 9;
this.pdfZoom50CheckItem1.Name = "pdfZoom50CheckItem1";
//
// pdfZoom75CheckItem1
//
this.pdfZoom75CheckItem1.Id = 10;
this.pdfZoom75CheckItem1.Name = "pdfZoom75CheckItem1";
//
// pdfZoom100CheckItem1
//
this.pdfZoom100CheckItem1.Id = 11;
this.pdfZoom100CheckItem1.Name = "pdfZoom100CheckItem1";
//
// pdfZoom125CheckItem1
//
this.pdfZoom125CheckItem1.Id = 12;
this.pdfZoom125CheckItem1.Name = "pdfZoom125CheckItem1";
//
// pdfZoom150CheckItem1
//
this.pdfZoom150CheckItem1.Id = 13;
this.pdfZoom150CheckItem1.Name = "pdfZoom150CheckItem1";
//
// pdfZoom200CheckItem1
//
this.pdfZoom200CheckItem1.Id = 14;
this.pdfZoom200CheckItem1.Name = "pdfZoom200CheckItem1";
//
// pdfZoom400CheckItem1
//
this.pdfZoom400CheckItem1.Id = 15;
this.pdfZoom400CheckItem1.Name = "pdfZoom400CheckItem1";
//
// pdfZoom500CheckItem1
//
this.pdfZoom500CheckItem1.Id = 16;
this.pdfZoom500CheckItem1.Name = "pdfZoom500CheckItem1";
//
// pdfSetActualSizeZoomModeCheckItem1
//
this.pdfSetActualSizeZoomModeCheckItem1.Id = 17;
this.pdfSetActualSizeZoomModeCheckItem1.Name = "pdfSetActualSizeZoomModeCheckItem1";
//
// pdfSetPageLevelZoomModeCheckItem1
//
this.pdfSetPageLevelZoomModeCheckItem1.Id = 18;
this.pdfSetPageLevelZoomModeCheckItem1.Name = "pdfSetPageLevelZoomModeCheckItem1";
//
// pdfSetFitWidthZoomModeCheckItem1
//
this.pdfSetFitWidthZoomModeCheckItem1.Id = 19;
this.pdfSetFitWidthZoomModeCheckItem1.Name = "pdfSetFitWidthZoomModeCheckItem1";
//
// pdfSetFitVisibleZoomModeCheckItem1
//
this.pdfSetFitVisibleZoomModeCheckItem1.Id = 20;
this.pdfSetFitVisibleZoomModeCheckItem1.Name = "pdfSetFitVisibleZoomModeCheckItem1";
//
// frmPDFViewer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(474, 262);
this.Controls.Add(this.pdfViewer);
this.Name = "frmPDFViewer";
this.Text = "Xem đề thi";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
this.pdfViewer.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pdfBarController)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraPdfViewer.PdfViewer pdfViewer;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraPdfViewer.Bars.PdfCommandBar pdfCommandBar1;
private DevExpress.XtraPdfViewer.Bars.PdfFileOpenBarItem pdfFileOpenBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfFilePrintBarItem pdfFilePrintBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfPreviousPageBarItem pdfPreviousPageBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfNextPageBarItem pdfNextPageBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoomOutBarItem pdfZoomOutBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoomInBarItem pdfZoomInBarItem1;
private DevExpress.XtraPdfViewer.Bars.PdfExactZoomListBarSubItem pdfExactZoomListBarSubItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom10CheckItem pdfZoom10CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom25CheckItem pdfZoom25CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom50CheckItem pdfZoom50CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom75CheckItem pdfZoom75CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom100CheckItem pdfZoom100CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom125CheckItem pdfZoom125CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom150CheckItem pdfZoom150CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom200CheckItem pdfZoom200CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom400CheckItem pdfZoom400CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfZoom500CheckItem pdfZoom500CheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfSetActualSizeZoomModeCheckItem pdfSetActualSizeZoomModeCheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfSetPageLevelZoomModeCheckItem pdfSetPageLevelZoomModeCheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfSetFitWidthZoomModeCheckItem pdfSetFitWidthZoomModeCheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfSetFitVisibleZoomModeCheckItem pdfSetFitVisibleZoomModeCheckItem1;
private DevExpress.XtraPdfViewer.Bars.PdfBarController pdfBarController;
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Omega.Forms
{
public partial class frmPDFViewer : Omega.BasicForms.frmCommon
{
public string pdffile { get; set; }
public frmPDFViewer()
{
InitializeComponent();
}
public override void LoadData()
{
this.pdfViewer.LoadDocument(pdffile);
}
}
}

View File

@@ -0,0 +1,126 @@
<?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>
<metadata name="barManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="pdfBarController.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>142, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,396 @@
namespace Omega.Forms
{
partial class frmQuestionBank
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQuestionBank));
this.grdResult = new DevExpress.XtraGrid.GridControl();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
this.Delete = new System.Windows.Forms.ToolStripMenuItem();
this.View = new System.Windows.Forms.ToolStripMenuItem();
this.tblQuestionEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.persistentRepository = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
this.repoSubject = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.tblSubjectEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colQuestionId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCreateDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubjectId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colFieldId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDifficulty = new DevExpress.XtraGrid.Columns.GridColumn();
this.colLevel = new DevExpress.XtraGrid.Columns.GridColumn();
this.colContent = new DevExpress.XtraGrid.Columns.GridColumn();
this.Exclusive = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuestionCode = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemPopupContainerEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
this.imageList = new System.Windows.Forms.ImageList(this.components);
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.bar2 = new DevExpress.XtraBars.Bar();
this.barSave = new DevExpress.XtraBars.BarButtonItem();
this.barView = new DevExpress.XtraBars.BarButtonItem();
this.barDelete = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
((System.ComponentModel.ISupportInitialize)(this.grdResult)).BeginInit();
this.contextMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tblQuestionEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
this.SuspendLayout();
//
// grdResult
//
this.grdResult.ContextMenuStrip = this.contextMenuStrip;
this.grdResult.DataSource = this.tblQuestionEntityBindingSource;
this.grdResult.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdResult.ExternalRepository = this.persistentRepository;
this.grdResult.Location = new System.Drawing.Point(0, 24);
this.grdResult.MainView = this.gridView;
this.grdResult.Name = "grdResult";
this.grdResult.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemPopupContainerEdit});
this.grdResult.Size = new System.Drawing.Size(826, 382);
this.grdResult.TabIndex = 1;
this.grdResult.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView});
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.Delete,
this.View});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(99, 48);
//
// Delete
//
this.Delete.Name = "Delete";
this.Delete.Size = new System.Drawing.Size(98, 22);
this.Delete.Text = "Xóa";
//
// View
//
this.View.Name = "View";
this.View.Size = new System.Drawing.Size(98, 22);
this.View.Text = "Xem";
this.View.Click += new System.EventHandler(this.View_Click);
//
// tblQuestionEntityBindingSource
//
this.tblQuestionEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuestionEntity);
//
// persistentRepository
//
this.persistentRepository.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repoSubject});
//
// repoSubject
//
this.repoSubject.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoSubject.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Subject Id", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", "Tên môn học", 76, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.repoSubject.DataSource = this.tblSubjectEntityBindingSource;
this.repoSubject.DisplayMember = "SubjectName";
this.repoSubject.Name = "repoSubject";
this.repoSubject.ValueMember = "SubjectId";
//
// tblSubjectEntityBindingSource
//
this.tblSubjectEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblSubjectEntity);
//
// gridView
//
this.gridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colQuestionId,
this.colCreateDate,
this.colSubjectId,
this.colFieldId,
this.colDifficulty,
this.colLevel,
this.colContent,
this.Exclusive,
this.colQuestionCode});
this.gridView.GridControl = this.grdResult;
this.gridView.Name = "gridView";
this.gridView.OptionsDetail.EnableMasterViewMode = false;
this.gridView.OptionsSelection.MultiSelect = true;
this.gridView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CheckBoxRowSelect;
this.gridView.OptionsView.ColumnAutoWidth = false;
this.gridView.OptionsView.ShowGroupPanel = false;
//
// colQuestionId
//
this.colQuestionId.Caption = "Mã câu hỏi";
this.colQuestionId.FieldName = "QuestionId";
this.colQuestionId.Name = "colQuestionId";
this.colQuestionId.OptionsColumn.AllowEdit = false;
this.colQuestionId.Width = 160;
//
// colCreateDate
//
this.colCreateDate.Caption = "Ngày tạo";
this.colCreateDate.FieldName = "CreateDate";
this.colCreateDate.Name = "colCreateDate";
this.colCreateDate.OptionsColumn.AllowEdit = false;
this.colCreateDate.Visible = true;
this.colCreateDate.VisibleIndex = 2;
this.colCreateDate.Width = 96;
//
// colSubjectId
//
this.colSubjectId.Caption = "Môn học";
this.colSubjectId.ColumnEdit = this.repoSubject;
this.colSubjectId.FieldName = "SubjectId";
this.colSubjectId.Name = "colSubjectId";
this.colSubjectId.OptionsColumn.AllowEdit = false;
this.colSubjectId.Visible = true;
this.colSubjectId.VisibleIndex = 3;
this.colSubjectId.Width = 121;
//
// colFieldId
//
this.colFieldId.Caption = "Lĩnh vực kiến thức";
this.colFieldId.FieldName = "FieldId";
this.colFieldId.Name = "colFieldId";
this.colFieldId.OptionsColumn.AllowEdit = false;
this.colFieldId.Visible = true;
this.colFieldId.VisibleIndex = 5;
this.colFieldId.Width = 120;
//
// colDifficulty
//
this.colDifficulty.Caption = "Mức độ khó";
this.colDifficulty.CustomizationCaption = "Loại hình đào tạo";
this.colDifficulty.FieldName = "Difficulty";
this.colDifficulty.Name = "colDifficulty";
this.colDifficulty.OptionsColumn.AllowEdit = false;
this.colDifficulty.Visible = true;
this.colDifficulty.VisibleIndex = 6;
this.colDifficulty.Width = 76;
//
// colLevel
//
this.colLevel.Caption = "Mức độ kiến thức";
this.colLevel.FieldName = "Level";
this.colLevel.Name = "colLevel";
this.colLevel.OptionsColumn.AllowEdit = false;
this.colLevel.Visible = true;
this.colLevel.VisibleIndex = 4;
this.colLevel.Width = 128;
//
// colContent
//
this.colContent.Caption = "Nội dung câu hỏi";
this.colContent.FieldName = "Summary";
this.colContent.Name = "colContent";
this.colContent.OptionsColumn.AllowEdit = false;
this.colContent.UnboundType = DevExpress.Data.UnboundColumnType.String;
this.colContent.Visible = true;
this.colContent.VisibleIndex = 7;
this.colContent.Width = 238;
//
// Exclusive
//
this.Exclusive.Caption = "Loại trừ";
this.Exclusive.FieldName = "Exclusive";
this.Exclusive.Name = "Exclusive";
this.Exclusive.Visible = true;
this.Exclusive.VisibleIndex = 8;
//
// colQuestionCode
//
this.colQuestionCode.Caption = "Mã câu hỏi";
this.colQuestionCode.FieldName = "QuestionCode";
this.colQuestionCode.Name = "colQuestionCode";
this.colQuestionCode.OptionsColumn.AllowEdit = false;
this.colQuestionCode.Visible = true;
this.colQuestionCode.VisibleIndex = 1;
//
// repositoryItemPopupContainerEdit
//
this.repositoryItemPopupContainerEdit.AutoHeight = false;
this.repositoryItemPopupContainerEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repositoryItemPopupContainerEdit.Name = "repositoryItemPopupContainerEdit";
this.repositoryItemPopupContainerEdit.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemPopupContainerEdit_ButtonClick);
//
// imageList
//
this.imageList.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
this.imageList.ImageSize = new System.Drawing.Size(16, 16);
this.imageList.TransparentColor = System.Drawing.Color.Transparent;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar2});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.barSave,
this.barDelete,
this.barView});
this.barManager.MainMenu = this.bar2;
this.barManager.MaxItemId = 3;
//
// bar2
//
this.bar2.BarName = "Main menu";
this.bar2.DockCol = 0;
this.bar2.DockRow = 0;
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.barSave),
new DevExpress.XtraBars.LinkPersistInfo(this.barView),
new DevExpress.XtraBars.LinkPersistInfo(this.barDelete)});
this.bar2.OptionsBar.MultiLine = true;
this.bar2.OptionsBar.UseWholeRow = true;
this.bar2.Text = "Main menu";
//
// barSave
//
this.barSave.Caption = "Save";
this.barSave.Glyph = ((System.Drawing.Image)(resources.GetObject("barSave.Glyph")));
this.barSave.Id = 0;
this.barSave.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barSave.LargeGlyph")));
this.barSave.Name = "barSave";
this.barSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSave_ItemClick);
//
// barView
//
this.barView.Caption = "View";
this.barView.Glyph = ((System.Drawing.Image)(resources.GetObject("barView.Glyph")));
this.barView.Id = 2;
this.barView.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barView.LargeGlyph")));
this.barView.Name = "barView";
this.barView.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barView_ItemClick);
//
// barDelete
//
this.barDelete.Caption = "Delete";
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
this.barDelete.Id = 1;
this.barDelete.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barDelete.LargeGlyph")));
this.barDelete.Name = "barDelete";
this.barDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelete_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(826, 24);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 406);
this.barDockControlBottom.Size = new System.Drawing.Size(826, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 24);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 382);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(826, 24);
this.barDockControlRight.Size = new System.Drawing.Size(0, 382);
//
// frmQuestionBank
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(826, 406);
this.Controls.Add(this.grdResult);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.Name = "frmQuestionBank";
this.Text = "Quản lý ngân hàng đề";
((System.ComponentModel.ISupportInitialize)(this.grdResult)).EndInit();
this.contextMenuStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tblQuestionEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemPopupContainerEdit)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraGrid.GridControl grdResult;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem Delete;
private System.Windows.Forms.ToolStripMenuItem View;
private System.Windows.Forms.BindingSource tblQuestionEntityBindingSource;
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
private DevExpress.XtraGrid.Columns.GridColumn colQuestionId;
private DevExpress.XtraGrid.Columns.GridColumn colCreateDate;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId;
private DevExpress.XtraGrid.Columns.GridColumn colFieldId;
private DevExpress.XtraGrid.Columns.GridColumn colDifficulty;
private DevExpress.XtraGrid.Columns.GridColumn colLevel;
private System.Windows.Forms.ImageList imageList;
private DevExpress.XtraGrid.Columns.GridColumn colContent;
private DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit repositoryItemPopupContainerEdit;
private DevExpress.XtraGrid.Columns.GridColumn Exclusive;
private DevExpress.XtraEditors.Repository.PersistentRepository persistentRepository;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoSubject;
private System.Windows.Forms.BindingSource tblSubjectEntityBindingSource;
private DevExpress.XtraGrid.Columns.GridColumn colQuestionCode;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar2;
private DevExpress.XtraBars.BarButtonItem barSave;
private DevExpress.XtraBars.BarButtonItem barDelete;
private DevExpress.XtraBars.BarButtonItem barView;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
}
}

View File

@@ -0,0 +1,112 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using Datalib.Linq;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
namespace Omega.Forms
{
public partial class frmQuestionBank : Omega.BasicForms.frmCommon
{
public List<TblQuestionEntity> Questions { get; set; }
public frmQuestionBank()
{
InitializeComponent();
}
public override void LoadData()
{
LinqMetaData Meta = new LinqMetaData(adapter);
Questions = Meta.TblQuestion.ToList<TblQuestionEntity>(); ;
grdResult.DataSource = Questions;
repoSubject.DataSource = Meta.TblSubject;
base.LoadData();
}
private void View_Click(object sender, EventArgs e)
{
string QuestionId = gridView.GetFocusedRowCellValue(colQuestionId).ToString();
LinqMetaData Meta = new LinqMetaData(adapter);
var Question = Meta.TblQuestion.Where(m => m.QuestionId == QuestionId).FirstOrDefault();
frmEditQuestion frm = new frmEditQuestion();
frm.Question = Question;
frm.LoadData();
frm.Show();
}
private void repositoryItemPopupContainerEdit_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
string QuestionId = gridView.GetFocusedRowCellValue(colQuestionId).ToString();
LinqMetaData Meta = new LinqMetaData(adapter);
var Question = Meta.TblQuestion.Where(m => m.QuestionId == QuestionId).FirstOrDefault();
}
private void Delete_Click(object sender, EventArgs e)
{
this.DeleteRecord();
}
public override void DeleteRecord()
{
if (gridView.SelectedRowsCount == 0) return;
if (MessageBox.Show("Bạn muốn xóa câu hỏi đã được đánh dấu?","Xóa câu hỏi",MessageBoxButtons.OKCancel)==DialogResult.OK)
{
int[] dels = gridView.GetSelectedRows();
EntityCollection<TblQuestionEntity> deleteds = new EntityCollection<TblQuestionEntity>();
foreach ( int del in dels)
{
string QuestionId = gridView.GetRowCellValue(del, colQuestionId).ToString();
TblQuestionEntity Question = Questions.Where(q => q.QuestionId == QuestionId).Single();
MessageBox.Show(del.ToString() + " " + Question.QuestionCode);
deleteds.Add(Question);
}
adapter.DeleteEntityCollection(deleteds);
LinqMetaData Meta = new LinqMetaData(adapter);
Questions = Meta.TblQuestion.ToList<TblQuestionEntity>(); ;
grdResult.DataSource = Questions;
}
}
private void barSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.BindingContext[Questions].EndCurrentEdit();
foreach(TblQuestionEntity q in Questions)
{
adapter.SaveEntity(q,true,true);
}
}
private void barView_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
string QuestionId = gridView.GetFocusedRowCellValue(colQuestionId).ToString();
LinqMetaData Meta = new LinqMetaData(adapter);
var Question = Meta.TblQuestion.Where(m => m.QuestionId == QuestionId).FirstOrDefault();
frmEditQuestion frm = new frmEditQuestion();
frm.Question = Question;
frm.LoadData();
frm.Show();
}
private void barDelete_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
DeleteRecord();
}
}
}

View File

@@ -0,0 +1,348 @@
<?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>
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>749, 15</value>
</metadata>
<metadata name="tblQuestionEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 54</value>
</metadata>
<metadata name="persistentRepository.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>345, 54</value>
</metadata>
<metadata name="tblSubjectEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>508, 54</value>
</metadata>
<metadata name="imageList.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>242, 54</value>
</metadata>
<metadata name="barManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>724, 54</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="barSave.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQAAAvRJREFUOE+Fk11Ik1EYx1emIWIfVpqUkhkDwTRtbbr5
Oufmvpxz0+lsTrfhzK/8yO+VpgZFEXQTBN0GBSGFGEVRQXSZHxdhqRFdqE3nNCuXK2/+nedtFxJBB368
L+85/995znl4BaGxnRHG2PEX4f8gIgTNb2MIwjhNxStOVwGbewC9Q7fRNXAL7edvorn3Bhrar8PdcgWO
hkuodPdDb2mBrKAcWcrS1yxLQkEEp7XCM3gNVlcfAsFNBDb+sB7i+49N+L78gHclALWpAa09l5CtKgXL
RpJgp7SgDN39V2Gp9vBBWry4SgT4kFiqgZjTYmLWB6XBjRJbHSQKMwmiSBBJto7zl2GydfE7UtgbCn+Y
W0MWp4O6yIYFfwByrZMJaiGSF5MgmgRR4nwz2lhZReVtrNxfWFgO4JP3G95+9GOc7copjDCUOjG/vI6c
giqYT9cikzOQYDcJok/JjWjuHIS2pInfdfKDDxMzPowzxhhvppcwx8JzvnVkK2wwVbiRLtWSYC8JdpGt
sa0PKmMd8gtrodDXQK5xIVfjQI7KDqmykgVPIyuvAhK5FcXWGhwXq0mwjwR70qU6nGnxgCswwVjuYjhR
VOaEweJgVKOwtBr6kiroSuzQmSvZnAspIiUJDpAgJlWiRk1TDy/435Ap2X1YXBBm5JEgjgT7U0QqOOo6
WLnF/KLV7z+x+o0IYvVrEH727mfPFYYkT88qciA5jSNBPAliyWZ3t7IzGniBnwUpwLMWxPLaBo+PIZKp
2VGqkJQqJcEhEhw8lp4Lq/MsuyA9+kdncWFkBj0Pp9E5PI22++/RfO8dGu9Oof7OFE7KNNAUVyIxRUKC
BBLEJ6XKYLHXQ5SjxfXXS7j6ahGXX3ox9Pwz+p4uwPN4Ht2jc+hgZGSrWFfMSBCKSJBIgpjDwswxMmZI
1TANvUTRxRfQeZ5B3f0EinOPwDWPILv+AU7VDiNNnA/hCQ5xR45PsizfBfotqZ9kO7KFpC0c3UJy6Fus
QCAI/w0F4v5uZtgcHwAAAABJRU5ErkJggg==
</value>
</data>
<data name="barSave.LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFNhdmU7+ej5CQAACUBJREFUWEfFlndU1FcWx92SLcnGJKZt/Xf/irtRUYpI
770NMMPQGRiYAQYYehkYekekSEBFsSBipCii2ILBGmPBLihFkQgq0oSo57v3/YYhIbjHnD0nZ985Hx6P
mcP3e+8r9y4B8H/lp+NXxK//R37zM1B/l+ksGuyDt4jfE3/8CW+/gXd+Juy77P8zMwtMsMVbYelbMuR5
O19GF9QjpnA34orrwRenw9YjBraCGHiIUpFfthu5pfXILtmBzKLtUBZsQ2peLVKyNyMxowZxyirEKDYi
KqkMFo7BcPKWw9FLDgePSNjxZS+teJIdpMVMsIDnB1v8ISJ3x2zT8StoOdGN5s5utHVdh6aeB4wsPGHj
HAzPICWeTc1ijHg6qeLJxAwej89gdPw5Rp6peDQ2je+eTMPMPhBVdftRWduK8k3N2FDTBFu38JekxbLB
sjA/2OLt8Ow6NB27jNxN7cje3I6SuqNzBoSwcQqGMDCVE7za/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PSF8DMIZwIg6l9
GPUCEfhcizPwV4I1pgsNaJv60YuWTQcnHnYCFSZ2YlR09iPnUA8y2u4gsfkG4vfdQMze64huvI7IhuuQ
1V9D2M6rkOy4iuC6bgRt60bg1m46cO5U/UJhahcKE1spzMnIv9c4MgN/IxYb0DT2ppcsnU5sLKzdYjgM
qcHYeOYRCk4MIfPIA6QdGkTKwQEkHRhA/P5+xLb0IbqpD5H77kHWeBfhhLShF5LdPdSg8ugmSGBE4kY0
m5KZ5WscXmuAu4ZrDDxfufmnUgmWw8o5CpaEHnU5ZV3DyD2mEle0DyK5bRAJZCCupR/RzX2IIvGIvSrx
0D29nIGQ+l6uSWXCaoxtJfhstf0L0lrwDrAfXEe0XNOhaJUe/5UGNaIrqRVjaNI+ehZ2wTXrKzimHYVt
cgesEw7BIvYgTOQHYBjRinWhTdCR7IOmuBGrRXuwyn83PvfZheUaDvhMw55juYpX//yXST5pqVsyzgAb
7BfmiLXL7Jlkh4Sl6U38/Q3840ewNbv/THw+/erBFupMsO1gX/glYEGqI19gQD3UH/zSzI0lS/4DBgtb
CtBCAjUAAAAASUVORK5CYII=
</value>
</data>
<data name="barView.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAALdEVYdFRpdGxlAFpvb207zwn+vAAAA3pJREFUOE91k19Mk1cYxg9ohiYK3izZjRp34aJx7oYN
MhWDgmRs0YJO0+AgRJQFmCbU2IiliAX6LWgFhoIiarEFBqWjhcncCOkf+GiLha6AGw5kcQh0WCsMEIrk
2fsVTXazN/nlfO8553m+9/xjAAJQrLp83RB+u55vUusc4+qmh7jb6PBUaa3G/GJtFI2/QwS9nS//tknQ
sEASG38s5IbGkq+77/b/PvI3ZucWqRuB9rdhDzR6x+sClb4kPDJ2A0mCBc3ZfO2KAcWqynvmgp8tQ/Av
LeMn/inkFT04kW9CLrWtnX9ibt6PumY7pApNHc1fSwRlSKsDYnalovWThhaX/9XCErg7fchWdYN3evBj
txfn74zgJGdDQXUvpnxzUH7XAvGJS4kkW516+vqKQYXa2jwwNIE2+nN2iQ0zPj/GJhbRPzIPo20a3A9T
yFLZ0fDLMNpM/UjJLG0n2VrxKdWKwTW1ZVxY69lyHlbnJMYmF+F+Mg/LwD8w9ryEqm0KZW3PkF3ahaHR
KSSll7wg2fqEZI4ZT0YwVnLLhNfLy0hRduBBnxfu0TmYH82gtW8aGt6LKvNz1Np8SC82YXR8GkdSi4Uj
C/tCrGD3s/YyxpU/8MzMLkBS2Q1p4xM0On0wuF5CbffiJv8c3/f5oLF7IK2yoffROEg4LRjEHcljrRl7
GLug1OvsvaOoN9OGVdqh6JgEZ/WgwuFFXb8PzUMzUBoGUdvxB2p0XdgvkprJYF1MgowZ0nczlnamLF7G
6ak8H2S1TmTWOHHZ8hdqBr247ZzAJUM/OL0LjsEJHE7hEL4nOY0MQvaLcpg+bRd9UvJVZnktV9YC12MP
1KbHyKnvwamqTsgbHkJrGQbvfoaMczchzZCA+3x7IWlCieDG1E8DBkHvfxCx4aBYUZqcdW1ZrePB/zoG
94gXXa6nuKE1QXS8EPLM01gYqESPKgmFcdsKSLdeMHn7DoKJNZEx6QeotPbYxLyFmMQ8Wm+uPypeYv4o
8phYtneL0lJ0FHBx6C5KgDx6K0easP8+piBiNSFcVcE97A3riBAiVBKxsahdFg90SmCVHYAibkch2ye6
yKJFeSz6UC4hY9EHL7whh/Ictu/Q+QAUQpWhX+98jzN+sxuLhiRUfxk+Kwz8b2iTPmbKqM1MsWsTuxi5
SegKmCRvfVdxNXb7EvfZh9p/AUusIB52Irz7AAAAAElFTkSuQmCC
</value>
</data>
<data name="barView.LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AA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dNUZy7kuGMvtnzqKM5s6kjOd
Qpw8kttHJKjawQaO7ZiVnV35n+tE9vzD4Ko9lnPWGsPTaf5ozklzNOc473Pu5Fyixmec8cRh3G7Gb4Zx
uxi/HsoZTWCnlBdRvVdYRdiV3fdznDeW+x9XKQ3UvKv6DQAAAABJRU5ErkJggg==
</value>
</data>
<data name="barDelete.Glyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAjdEVYdFRpdGxlAENhbmNlbDtTdG9wO0V4aXQ7QmFycztSaWJib247TJaWsgAAA5pJREFUOE8l
k39Qk3Ucx78IptikutJOYl1gGyIOhmxtoB5jxoTBLPgjLE+9MhNQRsdxeZAkXhRO7jQDLu6IOjARZPyw
hDmdeVlJF8PGgHILBPkhwvZswAbbkd677/PwvXs9977P5/N+P9/vc8+XeEytxHO7g3jvXCV0Bf6We0Rk
KyqoenCi0DJeXPSEhdV/F2prDB8cFNOZIEqAx6QnC8YWQgP0rDGAstqqzSse/fQT/+y3X8Pd3gDP7U54
Ke72RszUV2Hs5Am/+djRUjq7lrKKC6ArQCuX8YaO55nGK8rgudWO+e6LmOuoh6ulBq7mGrjb6jD3UyPo
yzBx9nMMHM/9RRMpfIENYQOCzB8e/ma0vJQaL8FSlI+6cBGMmZlwNp6Ds+EcbmZlcTVL4TEuaOzLMvxx
+P3L1LuWdGZlSq25OU8Y/Xe4V5CDBtU7MHWb0ZxTgm51BgzpGk6bunq5njn/I7iu1MGan/e0PjU1iZgy
NLUjX5zE49oK1PGj8MA+BYdrCfZRBi3a0xz3qZ52ejFsm+JmpqvLMXK6BIa0dD25uUc9bD/6Lka0+3FD
8xb+1J2Hd+k/OOd9sD1kYBtjMDvnw8LiMtczavZiOC8btiPZuKFKe0iuK1TL/2SnYOjtHbAfolvevRs9
uguYcfswQ3fy2E1hfPi94isYlErcP5CGwYwEDGYlwaBIWSZX5UnLltQ3MKCWYWhvIq5JtsN46izd8hIe
ORcx5fBSlnC9VIdr8dsxkC6HdY8U/SoJWC9pEsvHepUrha7YbWj7uAwD/zowOesFs+ADM+/H+IwX/fZZ
6AtOoSsmGpY349CrEKMpVjZFaoXi7007ZLAoxbgULoRz2olJxyJcC370X6jmWAnxwPHIyc38lRSDnxMl
qBbEdpKi0IhdF6Pinpp3bsNdpRy3DhyCn2FwT1cJoyyeIuE0W2N7d5Nl6EuMxg9bxMh/+TU1+yMFV74i
vHwlcissybHoSZaiVRgJkyyOfhc5d2ZWs7UehRQWRQz0kVE4s0nAXp71bMCqrWvWbajcuLmvKUIA8y4R
NSWgP0WCvoQoyhZ65ngMqhPQt1OE5s0CnNkYYRWteZZPvYFkouA9NiQw/hneprLn+C1VG8LRLojAHfHr
6JXSQMqvVHfQWjXtffY8/8fo1cGvUk/QuHYfIeyDEysXg3dw3UuqEl5oa3lI2IQuhA9dSBjK14dNFvNC
2/YHv6ihMyGUwBXfPvI/dZFG19yv1ioAAAAASUVORK5CYII=
</value>
</data>
<data name="barDelete.LargeGlyph" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAjdEVYdFRpdGxlAENhbmNlbDtTdG9wO0V4aXQ7QmFycztSaWJib247TJaWsgAACxVJREFUWEeV
lwdUVccWhsf3UnxBjMaudAVFBAtYKALSQcGGYokaRQ0RCTZAQKVYEBOxYyTGEoOiol5QUTTSRKkCF0Tg
UpTOpSqiyNW3/uw5F4h5K+u99fZa35q5c2b2/88+cw4HVrM/mNgtJ/RvoPFqaqtDOMGMos9/40WAP3se
4Mcqdvqy50SFvzcr9/Vi5du9WJnPVlbqvYVJtm1mkq2eNJ2iZl8Q+3fr825esA9/A0WPwD+If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41i
Is1RfKjHBL8d/Fkd4tF/pPu+gWqVhwarImKEEn5TGUkiIxE9ejiiNYYjUmUELiiPxKnho3BwoDL2KCpX
uSkM4/97DScUCaHsnCvqI9gV9eFsr4Iy/aT4cZAGi1Yfxq5pdEN9ih4T/LDwE8sfm2HLvhji6K048kSg
orI4WFGlJKS/CkIUaaf9lEoCFJTEW78YEe7Sd9BcmjuC4Lvm3358I0K+yypDWA97FZRoiOLAQHV2YIAa
C+V8qUotwdv+Qok+NsJLyCvCEw8h+O5GdsP7/PHi73d+yrnpXmEu9nf8P9FjhD+qPDEvKTfEhTi8z8f4
NT6nZ/7/CMb+AFWcml/bbQDGAAAAAElFTkSuQmCC
</value>
</data>
</root>

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,146 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Datalib.DatabaseSpecific;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
using System.IO;
using Datalib.Linq;
using System.Linq;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using OpenXmlPowerTools;
using System.Xml.Linq;
namespace Omega.Forms
{
public partial class frmQuestionImport : Omega.BasicForms.frmCommon
{
public string filename { get; set; }
public frmQuestionImport()
{
InitializeComponent();
}
private void SaveToDB_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
string source = this.filename;
List<Source> sources = new List<Source>();
WmlDocument InputDoc = new WmlDocument(source);
OpenXmlMemoryStreamDocument InputStream = new OpenXmlMemoryStreamDocument(InputDoc);
WordprocessingDocument InputwDoc = InputStream.GetWordprocessingDocument();
XDocument InputxDoc = InputwDoc.MainDocumentPart.GetXDocument();
List<XElement> tbls = InputxDoc.Descendants(W.tbl).Where(m => m.Parent.Name.ToString().Contains("body")).ToList();
List<TblQuestionEntity> quesions = new List<TblQuestionEntity>();
this.progressPanel.Visible = true;
foreach( var tbl in tbls)
{
string QuestionID = Guid.NewGuid().ToString("N");
string SubjectID = "";
string Level = "";
string Difficulty = "";
string FieldID = "";
string QuestionCode = "";
TblQuestionEntity question = new TblQuestionEntity(QuestionID);
question.QuestionId = QuestionID;
question.CreateDate = DateTime.Today;
// Get Question Content
var CellContent = tbl.Elements(W.tr).ToList()[0].Elements(W.tc).FirstOrDefault().Elements().Where(ce => ce.Name != W.tcPr).ToList();
var Summary = tbl.Elements(W.tr).ToList()[0].Elements(W.tc).FirstOrDefault().Value.ToString();
// MessageBox.Show(Summary);
WmlDocument modify = new WmlDocument(InputDoc);
OpenXmlMemoryStreamDocument modifystream = new OpenXmlMemoryStreamDocument(modify);
WordprocessingDocument modifywDoc = modifystream.GetWordprocessingDocument();
XDocument modifyxDoc = modifywDoc.MainDocumentPart.GetXDocument();
modifyxDoc.Descendants(W.body).First().ReplaceNodes(CellContent);
modifywDoc.MainDocumentPart.PutXDocument();
sources.Clear();
sources.Add(new Source(modifystream.GetModifiedWmlDocument(), true));
WmlDocument finalDocument = DocumentBuilder.BuildDocument(sources);
string base64 = Convert.ToBase64String(finalDocument.DocumentByteArray);
byte[] bytes = Convert.FromBase64String(base64);
question.Content = base64;
question.Summary = Summary;
//Get Content of Answer
CellContent = tbl.Elements(W.tr).ToList()[1].Elements(W.tc).FirstOrDefault().Elements().Where(ce => ce.Name != W.tcPr).ToList();
modify = new WmlDocument(InputDoc);
modifystream = new OpenXmlMemoryStreamDocument(modify);
modifywDoc = modifystream.GetWordprocessingDocument();
modifyxDoc = modifywDoc.MainDocumentPart.GetXDocument();
modifyxDoc.Descendants(W.body).First().ReplaceNodes(CellContent);
modifywDoc.MainDocumentPart.PutXDocument();
sources.Clear();
sources.Add(new Source(modifystream.GetModifiedWmlDocument(), true));
finalDocument = DocumentBuilder.BuildDocument(sources);
base64 = Convert.ToBase64String(finalDocument.DocumentByteArray);
bytes = Convert.FromBase64String(base64);
question.Answer = base64;
//Get Content of Explaination
CellContent = tbl.Elements(W.tr).ToList()[2].Elements(W.tc).FirstOrDefault().Elements().Where(ce => ce.Name != W.tcPr).ToList();
modify = new WmlDocument(InputDoc);
modifystream = new OpenXmlMemoryStreamDocument(modify);
modifywDoc = modifystream.GetWordprocessingDocument();
modifyxDoc = modifywDoc.MainDocumentPart.GetXDocument();
modifyxDoc.Descendants(W.body).First().ReplaceNodes(CellContent);
modifywDoc.MainDocumentPart.PutXDocument();
sources.Clear();
sources.Add(new Source(modifystream.GetModifiedWmlDocument(), true));
finalDocument = DocumentBuilder.BuildDocument(sources);
base64 = Convert.ToBase64String(finalDocument.DocumentByteArray);
bytes = Convert.FromBase64String(base64);
question.Explaination = base64;
//Get Content of Subject ID, Level, Field ....
string Code = tbl.Elements(W.tr).ToList()[3].Elements(W.tc).FirstOrDefault().Value.ToString();
string[] Codes = Code.Split(new char[] { ';' });
QuestionCode = Codes[0].Split(new char[] { '=' })[1];
SubjectID = Codes[1].Split(new char[]{'='})[1];
FieldID = (Codes[2].Split(new char[] { '=' })[1]);
Level = (Codes[3].Split(new char[] { '=' })[1]);
Difficulty = (Codes[4].Split(new char[] { '=' })[1]);
question.SubjectId= SubjectID.Trim();
question.FieldId = FieldID.Trim();
question.Level = Level.Trim();
question.Difficulty = Difficulty.Trim();
question.QuestionCode = QuestionCode.Trim();
adapter.SaveEntity(question,true,true);
quesions.Add(question);
}
grdResult.DataSource = quesions;
this.Tabs.SelectedTabPageIndex = 1;
this.progressPanel.Visible = false;
}
private void Open_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
this.filename = openFileDialog.FileName;
byte[] buff = File.ReadAllBytes(filename);
this.richEditControl.OpenXmlBytes = buff;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,372 @@
namespace Omega.Forms
{
partial class frmQuizMan
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQuizMan));
this.grdQuiz = new DevExpress.XtraGrid.GridControl();
this.persistentRepository = new DevExpress.XtraEditors.Repository.PersistentRepository(this.components);
this.repoQuizTemplate = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.tblQuizTemplateEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.repoSubject = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.tblSubjectEntityBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colQuizId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizTemplateId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizTime = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizYear = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizCode = new DevExpress.XtraGrid.Columns.GridColumn();
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.bar1 = new DevExpress.XtraBars.Bar();
this.Create = new DevExpress.XtraBars.BarButtonItem();
this.barDelete = new DevExpress.XtraBars.BarButtonItem();
this.barSubPrint = new DevExpress.XtraBars.BarSubItem();
this.barAnswerPrint = new DevExpress.XtraBars.BarButtonItem();
this.Print = new DevExpress.XtraBars.BarButtonItem();
this.CloseForm = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.barListItem1 = new DevExpress.XtraBars.BarListItem();
this.progressPanel = new DevExpress.XtraWaitForm.ProgressPanel();
((System.ComponentModel.ISupportInitialize)(this.grdQuiz)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoQuizTemplate)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
this.SuspendLayout();
//
// grdQuiz
//
this.grdQuiz.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdQuiz.ExternalRepository = this.persistentRepository;
this.grdQuiz.Location = new System.Drawing.Point(0, 47);
this.grdQuiz.MainView = this.gridView1;
this.grdQuiz.Name = "grdQuiz";
this.grdQuiz.Size = new System.Drawing.Size(802, 347);
this.grdQuiz.TabIndex = 6;
this.grdQuiz.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// persistentRepository
//
this.persistentRepository.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repoQuizTemplate,
this.repoSubject});
//
// repoQuizTemplate
//
this.repoQuizTemplate.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoQuizTemplate.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QuizTemplateId", "Quiz Template Id", 91, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TemplateQuizName", "Mẫu đề", 150, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.repoQuizTemplate.DataSource = this.tblQuizTemplateEntityBindingSource;
this.repoQuizTemplate.DisplayMember = "TemplateQuizName";
this.repoQuizTemplate.Name = "repoQuizTemplate";
this.repoQuizTemplate.ValueMember = "QuizTemplateId";
//
// tblQuizTemplateEntityBindingSource
//
this.tblQuizTemplateEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateEntity);
//
// repoSubject
//
this.repoSubject.AutoHeight = false;
this.repoSubject.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoSubject.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Subject Id", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", "Môn học", 120, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.repoSubject.DataSource = this.tblSubjectEntityBindingSource;
this.repoSubject.DisplayMember = "SubjectName";
this.repoSubject.Name = "repoSubject";
this.repoSubject.PopupWidth = 150;
this.repoSubject.ValueMember = "SubjectId";
//
// tblSubjectEntityBindingSource
//
this.tblSubjectEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblSubjectEntity);
//
// gridView1
//
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colQuizId,
this.colQuizName,
this.colQuizTemplateId,
this.colQuizTime,
this.colQuizYear,
this.colQuizCode});
this.gridView1.GridControl = this.grdQuiz;
this.gridView1.Name = "gridView1";
this.gridView1.OptionsView.ShowDetailButtons = false;
this.gridView1.OptionsView.ShowGroupExpandCollapseButtons = false;
this.gridView1.OptionsView.ShowGroupPanel = false;
this.gridView1.OptionsView.ShowViewCaption = true;
this.gridView1.ViewCaption = "Danh sách đề thi";
//
// colQuizId
//
this.colQuizId.Caption = "Mã đề thi";
this.colQuizId.FieldName = "QuizId";
this.colQuizId.Name = "colQuizId";
//
// colQuizName
//
this.colQuizName.Caption = "Tên đề thi";
this.colQuizName.FieldName = "QuizName";
this.colQuizName.Name = "colQuizName";
this.colQuizName.Visible = true;
this.colQuizName.VisibleIndex = 1;
//
// colQuizTemplateId
//
this.colQuizTemplateId.Caption = "Mẫu đề thi";
this.colQuizTemplateId.ColumnEdit = this.repoQuizTemplate;
this.colQuizTemplateId.FieldName = "QuizTemplateId";
this.colQuizTemplateId.Name = "colQuizTemplateId";
this.colQuizTemplateId.Visible = true;
this.colQuizTemplateId.VisibleIndex = 2;
//
// colQuizTime
//
this.colQuizTime.Caption = "Thời gian thi";
this.colQuizTime.FieldName = "QuizTime";
this.colQuizTime.Name = "colQuizTime";
this.colQuizTime.Visible = true;
this.colQuizTime.VisibleIndex = 3;
//
// colQuizYear
//
this.colQuizYear.Caption = "Năm thi";
this.colQuizYear.FieldName = "QuizYear";
this.colQuizYear.Name = "colQuizYear";
this.colQuizYear.Visible = true;
this.colQuizYear.VisibleIndex = 4;
//
// colQuizCode
//
this.colQuizCode.Caption = "Mã đề thi";
this.colQuizCode.FieldName = "QuizCode";
this.colQuizCode.Name = "colQuizCode";
this.colQuizCode.Visible = true;
this.colQuizCode.VisibleIndex = 0;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar1});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.Create,
this.CloseForm,
this.Print,
this.barDelete,
this.barListItem1,
this.barSubPrint,
this.barAnswerPrint});
this.barManager.MaxItemId = 9;
//
// bar1
//
this.bar1.BarName = "Tools";
this.bar1.DockCol = 0;
this.bar1.DockRow = 0;
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barDelete, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSubPrint, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.CloseForm, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
this.bar1.Text = "Tools";
//
// Create
//
this.Create.Caption = "Tạo đề";
this.Create.Glyph = ((System.Drawing.Image)(resources.GetObject("Create.Glyph")));
this.Create.Id = 0;
this.Create.Name = "Create";
this.Create.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Create_ItemClick);
//
// barDelete
//
this.barDelete.Caption = "Delete";
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
this.barDelete.Id = 5;
this.barDelete.Name = "barDelete";
this.barDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelete_ItemClick);
//
// barSubPrint
//
this.barSubPrint.Caption = "Print";
this.barSubPrint.Glyph = ((System.Drawing.Image)(resources.GetObject("barSubPrint.Glyph")));
this.barSubPrint.Id = 7;
this.barSubPrint.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barAnswerPrint, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Print, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
this.barSubPrint.Name = "barSubPrint";
//
// barAnswerPrint
//
this.barAnswerPrint.Alignment = DevExpress.XtraBars.BarItemLinkAlignment.Left;
this.barAnswerPrint.Caption = "In đáp án";
this.barAnswerPrint.Glyph = ((System.Drawing.Image)(resources.GetObject("barAnswerPrint.Glyph")));
this.barAnswerPrint.GlyphDisabled = ((System.Drawing.Image)(resources.GetObject("barAnswerPrint.GlyphDisabled")));
this.barAnswerPrint.Id = 8;
this.barAnswerPrint.Name = "barAnswerPrint";
this.barAnswerPrint.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barAnswerPrint_ItemClick);
//
// Print
//
this.Print.Caption = "In đề";
this.Print.Glyph = ((System.Drawing.Image)(resources.GetObject("Print.Glyph")));
this.Print.Id = 4;
this.Print.Name = "Print";
this.Print.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Print_ItemClick);
//
// CloseForm
//
this.CloseForm.Caption = "Đóng";
this.CloseForm.Glyph = ((System.Drawing.Image)(resources.GetObject("CloseForm.Glyph")));
this.CloseForm.Id = 3;
this.CloseForm.Name = "CloseForm";
this.CloseForm.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.CloseForm_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(802, 47);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 394);
this.barDockControlBottom.Size = new System.Drawing.Size(802, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 47);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 347);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(802, 47);
this.barDockControlRight.Size = new System.Drawing.Size(0, 347);
//
// barListItem1
//
this.barListItem1.Caption = "barListItem1";
this.barListItem1.Id = 6;
this.barListItem1.Name = "barListItem1";
//
// progressPanel
//
this.progressPanel.Appearance.BackColor = System.Drawing.Color.Transparent;
this.progressPanel.Appearance.Options.UseBackColor = true;
this.progressPanel.AppearanceCaption.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F);
this.progressPanel.AppearanceCaption.Options.UseFont = true;
this.progressPanel.AppearanceDescription.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.progressPanel.AppearanceDescription.Options.UseFont = true;
this.progressPanel.Description = "Calculating...";
this.progressPanel.Location = new System.Drawing.Point(222, 160);
this.progressPanel.Name = "progressPanel";
this.progressPanel.Size = new System.Drawing.Size(299, 66);
this.progressPanel.TabIndex = 11;
this.progressPanel.Visible = false;
//
// frmQuizMan
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(802, 394);
this.Controls.Add(this.progressPanel);
this.Controls.Add(this.grdQuiz);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmQuizMan";
this.Text = "Quản lý đề thi";
((System.ComponentModel.ISupportInitialize)(this.grdQuiz)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoQuizTemplate)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoSubject)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraGrid.GridControl grdQuiz;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private DevExpress.XtraGrid.Columns.GridColumn colQuizId;
private DevExpress.XtraGrid.Columns.GridColumn colQuizName;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTime;
private DevExpress.XtraGrid.Columns.GridColumn colQuizYear;
private DevExpress.XtraEditors.Repository.PersistentRepository persistentRepository;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoQuizTemplate;
private System.Windows.Forms.BindingSource tblQuizTemplateEntityBindingSource;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar1;
private DevExpress.XtraBars.BarButtonItem Create;
private DevExpress.XtraBars.BarButtonItem CloseForm;
private DevExpress.XtraBars.BarButtonItem Print;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoSubject;
private System.Windows.Forms.BindingSource tblSubjectEntityBindingSource;
private DevExpress.XtraGrid.Columns.GridColumn colQuizCode;
private DevExpress.XtraBars.BarButtonItem barDelete;
private DevExpress.XtraWaitForm.ProgressPanel progressPanel;
private DevExpress.XtraBars.BarSubItem barSubPrint;
private DevExpress.XtraBars.BarButtonItem barAnswerPrint;
private DevExpress.XtraBars.BarListItem barListItem1;
}
}

View File

@@ -0,0 +1,92 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Datalib.DatabaseSpecific;
using Datalib.EntityClasses;
using Datalib.HelperClasses;
using System.Linq;
using System.IO;
using Datalib.Linq;
using DocumentFormat.OpenXml;
using DocumentFormat.OpenXml.Packaging;
using DocumentFormat.OpenXml.Validation;
using OpenXmlPowerTools;
using DevExpress.XtraRichEdit;
namespace Omega.Forms
{
public partial class frmQuizMan : Omega.BasicForms.frmCommon
{ public EntityCollection<TblQuizEntity> Quizs { get; set; }
public TblQuizEntity CurrQuiz { get; set; }
public TblQuizEntity DeletedQuiz { get; set; }
public frmQuizMan()
{
InitializeComponent();
}
public override void LoadData()
{
Quizs = new EntityCollection<TblQuizEntity>();
adapter.FetchEntityCollection(Quizs, null);
this.grdQuiz.DataSource = Quizs;
LinqMetaData Meta = new LinqMetaData(adapter);
this.repoQuizTemplate.DataSource = Meta.TblQuizTemplate;
}
private void Print_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.progressPanel.Visible = true;
if (Quizs.Count > 0)
{
CurrQuiz = (TblQuizEntity)Quizs[this.BindingContext[Quizs].Position];
Utilities.PrintQuiz(CurrQuiz);
}
this.progressPanel.Visible = false;
}
private void Create_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
frmCreateQuiz frm = new frmCreateQuiz();
frm.LoadData();
frm.Show();
}
private void barDelete_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
DeletedQuiz = (TblQuizEntity)Quizs[this.BindingContext[Quizs].Position];
if( MessageBox.Show("Bạn có muốn xóa bản ghi này?","Chương trình quản lý đề thi",MessageBoxButtons.OKCancel)==DialogResult.OK)
{
adapter.DeleteEntity(DeletedQuiz);
Quizs.Remove(DeletedQuiz);
}
}
private void CloseForm_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.Close();
}
private void barAnswerPrint_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.progressPanel.Visible = true;
if (Quizs.Count > 0)
{
CurrQuiz = (TblQuizEntity)Quizs[this.BindingContext[Quizs].Position];
Utilities.PrintQuizAnswer(CurrQuiz);
}
this.progressPanel.Visible = false;
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,577 @@
namespace Omega.Forms
{
partial class frmQuizTemplate
{
/// <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()
{
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmQuizTemplate));
this.grdQuizTemplate = new DevExpress.XtraGrid.GridControl();
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip();
this.Delete = new System.Windows.Forms.ToolStripMenuItem();
this.View = new System.Windows.Forms.ToolStripMenuItem();
this.tblQuizTemplateEntityBindingSource = new System.Windows.Forms.BindingSource();
this.QuizRepo = new DevExpress.XtraEditors.Repository.PersistentRepository();
this.repoLevel = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
this.repoField = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
this.repoDificulty = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox();
this.repoTrainingType = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.repSubjects = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.repHeader = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit();
this.QuizTemplateView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colFooterDes = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnViewFooter = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colHeaderDes = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnViewHeader = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colQuizTemplateId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTemplateQuizName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTrainingTypeId = new DevExpress.XtraGrid.Columns.GridColumn();
this.Renumbering = new DevExpress.XtraGrid.Columns.GridColumn();
this.barManager = new DevExpress.XtraBars.BarManager();
this.bar1 = new DevExpress.XtraBars.Bar();
this.Save = new DevExpress.XtraBars.BarButtonItem();
this.CloseForm = new DevExpress.XtraBars.BarButtonItem();
this.barDelete = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.grdQuizTemplateDetail = new DevExpress.XtraGrid.GridControl();
this.tblQuizTemplateDetailEntityBindingSource = new System.Windows.Forms.BindingSource();
this.QuizTemplateDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colDifficulty = new DevExpress.XtraGrid.Columns.GridColumn();
this.colFieldId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colLevel = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuestionNum = new DevExpress.XtraGrid.Columns.GridColumn();
this.colQuizTemplateId1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubjectId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colUniqueId = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplate)).BeginInit();
this.contextMenuStrip.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoLevel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoField)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoDificulty)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repoTrainingType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repSubjects)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repHeader)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnViewFooter)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnViewHeader)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplateDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateDetailView)).BeginInit();
this.SuspendLayout();
//
// grdQuizTemplate
//
this.grdQuizTemplate.ContextMenuStrip = this.contextMenuStrip;
this.grdQuizTemplate.DataSource = this.tblQuizTemplateEntityBindingSource;
this.grdQuizTemplate.Dock = System.Windows.Forms.DockStyle.Top;
this.grdQuizTemplate.ExternalRepository = this.QuizRepo;
gridLevelNode1.RelationName = "Level1";
this.grdQuizTemplate.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode1});
this.grdQuizTemplate.Location = new System.Drawing.Point(0, 47);
this.grdQuizTemplate.MainView = this.QuizTemplateView;
this.grdQuizTemplate.Name = "grdQuizTemplate";
this.grdQuizTemplate.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.btnViewHeader,
this.btnViewFooter});
this.grdQuizTemplate.Size = new System.Drawing.Size(878, 248);
this.grdQuizTemplate.TabIndex = 0;
this.grdQuizTemplate.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.QuizTemplateView});
this.grdQuizTemplate.Enter += new System.EventHandler(this.grdQuizTemplate_Enter);
//
// contextMenuStrip
//
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.Delete,
this.View});
this.contextMenuStrip.Name = "contextMenuStrip";
this.contextMenuStrip.Size = new System.Drawing.Size(99, 48);
//
// Delete
//
this.Delete.Name = "Delete";
this.Delete.Size = new System.Drawing.Size(98, 22);
this.Delete.Text = "Xóa";
this.Delete.Click += new System.EventHandler(this.Delete_Click);
//
// View
//
this.View.Name = "View";
this.View.Size = new System.Drawing.Size(98, 22);
this.View.Text = "Xem";
//
// tblQuizTemplateEntityBindingSource
//
this.tblQuizTemplateEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateEntity);
//
// QuizRepo
//
this.QuizRepo.Items.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repoLevel,
this.repoField,
this.repoDificulty,
this.repoTrainingType,
this.repSubjects,
this.repHeader});
//
// repoLevel
//
this.repoLevel.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoLevel.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Tất cả", "A", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("4", "4", -1)});
this.repoLevel.Name = "repoLevel";
//
// repoField
//
this.repoField.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoField.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("4", "4", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("5", "5", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("6", "6", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("7", "7", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("8", "8", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("9", "9", -1)});
this.repoField.Name = "repoField";
//
// repoDificulty
//
this.repoDificulty.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoDificulty.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] {
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Tất cả", "A", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("0", "0", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("1", "1", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("2", "2", -1),
new DevExpress.XtraEditors.Controls.ImageComboBoxItem("3", "3", -1)});
this.repoDificulty.Name = "repoDificulty";
//
// repoTrainingType
//
this.repoTrainingType.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repoTrainingType.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TrainingTypeId", "Mã loại hình", 100, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TrainingTypeName", 150, "Tên loại hình")});
this.repoTrainingType.DisplayMember = "TrainingTypeName";
this.repoTrainingType.Name = "repoTrainingType";
this.repoTrainingType.NullText = "";
this.repoTrainingType.PopupWidth = 200;
this.repoTrainingType.ValueMember = "TrainingTypeId";
//
// repSubjects
//
this.repSubjects.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repSubjects.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Mã môn học", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", 100, "Tên môn học")});
this.repSubjects.DisplayMember = "SubjectName";
this.repSubjects.DropDownRows = 20;
this.repSubjects.Name = "repSubjects";
this.repSubjects.NullText = "";
this.repSubjects.PopupWidth = 200;
this.repSubjects.ValueMember = "SubjectId";
//
// repHeader
//
this.repHeader.AutoHeight = false;
this.repHeader.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repHeader.Name = "repHeader";
//
// QuizTemplateView
//
this.QuizTemplateView.ColumnPanelRowHeight = 60;
this.QuizTemplateView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colFooterDes,
this.colHeaderDes,
this.colQuizTemplateId,
this.colTemplateQuizName,
this.colTrainingTypeId,
this.Renumbering});
this.QuizTemplateView.GridControl = this.grdQuizTemplate;
this.QuizTemplateView.Name = "QuizTemplateView";
this.QuizTemplateView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
this.QuizTemplateView.OptionsView.ShowGroupPanel = false;
this.QuizTemplateView.OptionsView.ShowViewCaption = true;
this.QuizTemplateView.ViewCaption = "QuizTemplate";
//
// colFooterDes
//
this.colFooterDes.Caption = "Chân trang";
this.colFooterDes.ColumnEdit = this.btnViewFooter;
this.colFooterDes.FieldName = "FooterDes";
this.colFooterDes.Name = "colFooterDes";
this.colFooterDes.Visible = true;
this.colFooterDes.VisibleIndex = 3;
this.colFooterDes.Width = 113;
//
// btnViewFooter
//
this.btnViewFooter.AutoHeight = false;
this.btnViewFooter.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.btnViewFooter.Name = "btnViewFooter";
this.btnViewFooter.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
this.btnViewFooter.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewFooter_ButtonClick);
//
// colHeaderDes
//
this.colHeaderDes.Caption = "Tiêu đề";
this.colHeaderDes.ColumnEdit = this.btnViewHeader;
this.colHeaderDes.FieldName = "HeaderDes";
this.colHeaderDes.Name = "colHeaderDes";
this.colHeaderDes.Visible = true;
this.colHeaderDes.VisibleIndex = 4;
this.colHeaderDes.Width = 225;
//
// btnViewHeader
//
this.btnViewHeader.AutoHeight = false;
this.btnViewHeader.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.btnViewHeader.Name = "btnViewHeader";
this.btnViewHeader.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor;
this.btnViewHeader.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewHeader_ButtonClick);
this.btnViewHeader.ButtonPressed += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.btnViewHeader_ButtonPressed);
//
// colQuizTemplateId
//
this.colQuizTemplateId.Caption = "Mã Template";
this.colQuizTemplateId.FieldName = "QuizTemplateId";
this.colQuizTemplateId.Name = "colQuizTemplateId";
//
// colTemplateQuizName
//
this.colTemplateQuizName.Caption = "Tên Template";
this.colTemplateQuizName.FieldName = "TemplateQuizName";
this.colTemplateQuizName.Name = "colTemplateQuizName";
this.colTemplateQuizName.Visible = true;
this.colTemplateQuizName.VisibleIndex = 1;
this.colTemplateQuizName.Width = 237;
//
// colTrainingTypeId
//
this.colTrainingTypeId.Caption = "Loại hình đào tạo";
this.colTrainingTypeId.ColumnEdit = this.repoTrainingType;
this.colTrainingTypeId.FieldName = "TrainingTypeId";
this.colTrainingTypeId.Name = "colTrainingTypeId";
this.colTrainingTypeId.Visible = true;
this.colTrainingTypeId.VisibleIndex = 0;
this.colTrainingTypeId.Width = 288;
//
// Renumbering
//
this.Renumbering.AppearanceHeader.Options.UseTextOptions = true;
this.Renumbering.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.Renumbering.Caption = "Đánh số lại theo lĩnh vực kiến thức";
this.Renumbering.FieldName = "Renumering";
this.Renumbering.Name = "Renumbering";
this.Renumbering.Visible = true;
this.Renumbering.VisibleIndex = 2;
this.Renumbering.Width = 215;
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar1});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.Save,
this.CloseForm,
this.barDelete});
this.barManager.MaxItemId = 3;
//
// bar1
//
this.bar1.BarName = "Tools";
this.bar1.DockCol = 0;
this.bar1.DockRow = 0;
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Save, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.CloseForm, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(this.barDelete)});
this.bar1.Text = "Tools";
//
// Save
//
this.Save.Caption = "Save";
this.Save.Glyph = ((System.Drawing.Image)(resources.GetObject("Save.Glyph")));
this.Save.Id = 0;
this.Save.Name = "Save";
this.Save.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Save_ItemClick);
//
// CloseForm
//
this.CloseForm.Caption = "Close";
this.CloseForm.Glyph = ((System.Drawing.Image)(resources.GetObject("CloseForm.Glyph")));
this.CloseForm.Id = 1;
this.CloseForm.Name = "CloseForm";
this.CloseForm.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Close_ItemClick);
//
// barDelete
//
this.barDelete.Caption = "Delete";
this.barDelete.Glyph = ((System.Drawing.Image)(resources.GetObject("barDelete.Glyph")));
this.barDelete.Id = 2;
this.barDelete.Name = "barDelete";
this.barDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barDelete_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(878, 47);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 419);
this.barDockControlBottom.Size = new System.Drawing.Size(878, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 47);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 372);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(878, 47);
this.barDockControlRight.Size = new System.Drawing.Size(0, 372);
//
// grdQuizTemplateDetail
//
this.grdQuizTemplateDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.grdQuizTemplateDetail.ContextMenuStrip = this.contextMenuStrip;
this.grdQuizTemplateDetail.DataSource = this.tblQuizTemplateDetailEntityBindingSource;
this.grdQuizTemplateDetail.ExternalRepository = this.QuizRepo;
this.grdQuizTemplateDetail.Location = new System.Drawing.Point(0, 301);
this.grdQuizTemplateDetail.MainView = this.QuizTemplateDetailView;
this.grdQuizTemplateDetail.Name = "grdQuizTemplateDetail";
this.grdQuizTemplateDetail.Size = new System.Drawing.Size(878, 115);
this.grdQuizTemplateDetail.TabIndex = 1;
this.grdQuizTemplateDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.QuizTemplateDetailView});
this.grdQuizTemplateDetail.Enter += new System.EventHandler(this.grdQuizTemplateDetail_Enter);
//
// tblQuizTemplateDetailEntityBindingSource
//
this.tblQuizTemplateDetailEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateDetailEntity);
//
// QuizTemplateDetailView
//
this.QuizTemplateDetailView.ColumnPanelRowHeight = 40;
this.QuizTemplateDetailView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
this.colDifficulty,
this.colFieldId,
this.colLevel,
this.colQuestionNum,
this.colQuizTemplateId1,
this.colSubjectId,
this.colUniqueId});
this.QuizTemplateDetailView.GridControl = this.grdQuizTemplateDetail;
this.QuizTemplateDetailView.Name = "QuizTemplateDetailView";
this.QuizTemplateDetailView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom;
this.QuizTemplateDetailView.OptionsView.ShowGroupPanel = false;
this.QuizTemplateDetailView.OptionsView.ShowViewCaption = true;
this.QuizTemplateDetailView.ViewCaption = "Phương thức chọn câu hỏi";
//
// colDifficulty
//
this.colDifficulty.Caption = "Mức độ khó";
this.colDifficulty.ColumnEdit = this.repoDificulty;
this.colDifficulty.FieldName = "Difficulty";
this.colDifficulty.Name = "colDifficulty";
this.colDifficulty.Visible = true;
this.colDifficulty.VisibleIndex = 4;
this.colDifficulty.Width = 68;
//
// colFieldId
//
this.colFieldId.AppearanceHeader.Options.UseTextOptions = true;
this.colFieldId.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.colFieldId.Caption = "Lĩnh vực kiến thức";
this.colFieldId.ColumnEdit = this.repoField;
this.colFieldId.FieldName = "FieldId";
this.colFieldId.Name = "colFieldId";
this.colFieldId.Visible = true;
this.colFieldId.VisibleIndex = 1;
this.colFieldId.Width = 63;
//
// colLevel
//
this.colLevel.AppearanceHeader.Options.UseTextOptions = true;
this.colLevel.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.colLevel.Caption = "Mức độ kiến thức";
this.colLevel.ColumnEdit = this.repoLevel;
this.colLevel.FieldName = "Level";
this.colLevel.Name = "colLevel";
this.colLevel.Visible = true;
this.colLevel.VisibleIndex = 3;
this.colLevel.Width = 59;
//
// colQuestionNum
//
this.colQuestionNum.AppearanceHeader.Options.UseTextOptions = true;
this.colQuestionNum.AppearanceHeader.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.colQuestionNum.Caption = "Số câu hỏi";
this.colQuestionNum.FieldName = "QuestionNum";
this.colQuestionNum.Name = "colQuestionNum";
this.colQuestionNum.Visible = true;
this.colQuestionNum.VisibleIndex = 2;
this.colQuestionNum.Width = 46;
//
// colQuizTemplateId1
//
this.colQuizTemplateId1.FieldName = "QuizTemplateId";
this.colQuizTemplateId1.Name = "colQuizTemplateId1";
//
// colSubjectId
//
this.colSubjectId.Caption = "Môn học";
this.colSubjectId.ColumnEdit = this.repSubjects;
this.colSubjectId.FieldName = "SubjectId";
this.colSubjectId.Name = "colSubjectId";
this.colSubjectId.Visible = true;
this.colSubjectId.VisibleIndex = 0;
this.colSubjectId.Width = 196;
//
// colUniqueId
//
this.colUniqueId.FieldName = "UniqueId";
this.colUniqueId.Name = "colUniqueId";
this.colUniqueId.Width = 646;
//
// frmQuizTemplate
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(878, 419);
this.Controls.Add(this.grdQuizTemplateDetail);
this.Controls.Add(this.grdQuizTemplate);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.HtmlText = "Quiz Template";
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmQuizTemplate";
this.Text = "Quiz Template";
this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplate)).EndInit();
this.contextMenuStrip.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoLevel)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoField)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoDificulty)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repoTrainingType)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repSubjects)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repHeader)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnViewFooter)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.btnViewHeader)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.grdQuizTemplateDetail)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplateDetailView)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraGrid.GridControl grdQuizTemplate;
private DevExpress.XtraGrid.Views.Grid.GridView QuizTemplateView;
private DevExpress.XtraGrid.GridControl grdQuizTemplateDetail;
private DevExpress.XtraGrid.Views.Grid.GridView QuizTemplateDetailView;
private System.Windows.Forms.BindingSource tblQuizTemplateEntityBindingSource;
private DevExpress.XtraGrid.Columns.GridColumn colHeaderDes;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId;
private DevExpress.XtraGrid.Columns.GridColumn colTemplateQuizName;
private DevExpress.XtraGrid.Columns.GridColumn colTrainingTypeId;
private System.Windows.Forms.BindingSource tblQuizTemplateDetailEntityBindingSource;
private DevExpress.XtraGrid.Columns.GridColumn colDifficulty;
private DevExpress.XtraGrid.Columns.GridColumn colFieldId;
private DevExpress.XtraGrid.Columns.GridColumn colLevel;
private DevExpress.XtraGrid.Columns.GridColumn colQuestionNum;
private DevExpress.XtraGrid.Columns.GridColumn colQuizTemplateId1;
private DevExpress.XtraGrid.Columns.GridColumn colSubjectId;
private DevExpress.XtraGrid.Columns.GridColumn colUniqueId;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar1;
private DevExpress.XtraBars.BarButtonItem Save;
private DevExpress.XtraBars.BarButtonItem CloseForm;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraEditors.Repository.PersistentRepository QuizRepo;
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoLevel;
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoField;
private DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox repoDificulty;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repoTrainingType;
private DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit repSubjects;
private DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit repHeader;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnViewHeader;
private System.Windows.Forms.ContextMenuStrip contextMenuStrip;
private System.Windows.Forms.ToolStripMenuItem Delete;
private System.Windows.Forms.ToolStripMenuItem View;
private DevExpress.XtraBars.BarButtonItem barDelete;
private DevExpress.XtraGrid.Columns.GridColumn colFooterDes;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit btnViewFooter;
private DevExpress.XtraGrid.Columns.GridColumn Renumbering;
}
}

View File

@@ -0,0 +1,186 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Datalib.DatabaseSpecific;
using Datalib.EntityClasses;
using Datalib.HelperClasses;
using Datalib.RelationClasses;
using Datalib.FactoryClasses;
using SD.LLBLGen.Pro.ORMSupportClasses;
using Datalib.Linq;
using System.Linq;
namespace Omega.Forms
{
public partial class frmQuizTemplate : Omega.BasicForms.frmCommon
{ public int Context {get;set;}
public EntityCollection<TblQuizTemplateEntity> QuizTempates { get; set; }
public TblQuizTemplateEntity CurQuizTempate { get; set; }
public CurrencyManager QuizTemplateMan;
public CurrencyManager QuizTemplateManDetailMan;
public EntityCollection<TblQuizTemplateDetailEntity> QuizTemplateDetail { get; set; }
public frmQuizTemplate()
{
InitializeComponent();
}
public override void LoadData()
{
QuizTempates = new EntityCollection<TblQuizTemplateEntity>();
adapter.FetchEntityCollection(QuizTempates, null);
QuizTemplateMan = (CurrencyManager)this.BindingContext[QuizTempates];
QuizTemplateMan.PositionChanged+=QuizTemplateMan_PositionChanged;
grdQuizTemplate.DataSource = QuizTempates;
base.LoadData();
//Gen Subject Lists
LinqMetaData meta = new LinqMetaData(adapter);
repSubjects.DataSource = meta.TblSubject;
repoTrainingType.DataSource = meta.TblTrainingType;
if (QuizTemplateMan.Count > 0)
{
CurQuizTempate = QuizTempates[0];
QuizTemplateDetail = CurQuizTempate.TblQuizTemplateDetails;
adapter.FetchEntityCollection(QuizTemplateDetail, QuizTempates[0].GetRelationInfoTblQuizTemplateDetails());
this.grdQuizTemplateDetail.DataSource = QuizTempates[QuizTemplateMan.Position].TblQuizTemplateDetails;
}
}
private void QuizTemplateMan_PositionChanged(object sender, EventArgs e)
{
if (QuizTempates[QuizTemplateMan.Position].IsNew)
{
QuizTempates[QuizTemplateMan.Position].QuizTemplateId = Guid.NewGuid().ToString("N");
}
CurQuizTempate = QuizTempates[QuizTemplateMan.Position];
QuizTemplateDetail = CurQuizTempate.TblQuizTemplateDetails;
if (!QuizTemplateDetail.ContainsDirtyContents)
{
adapter.FetchEntityCollection(QuizTemplateDetail, QuizTempates[QuizTemplateMan.Position].GetRelationInfoTblQuizTemplateDetails());
}
this.grdQuizTemplateDetail.DataSource = QuizTempates[QuizTemplateMan.Position].TblQuizTemplateDetails;
QuizTemplateManDetailMan = (CurrencyManager)this.BindingContext[QuizTemplateDetail];
QuizTemplateManDetailMan.PositionChanged+=QuizTemplateManDetailMan_PositionChanged;
grdQuizTemplateDetail.DataSource = QuizTemplateDetail;
}
private void QuizTemplateManDetailMan_PositionChanged(object sender, EventArgs e)
{
if (QuizTemplateDetail[QuizTemplateManDetailMan.Position].IsNew)
{
QuizTemplateDetail[QuizTemplateManDetailMan.Position].UniqueId = Guid.NewGuid().ToString("N");
}
}
public override void SaveRecord()
{
adapter.SaveEntityCollection(QuizTempates, true, true);
base.SaveRecord();
}
private void Save_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
SaveRecord();
}
private void Close_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.Close();
}
private void btnViewHeader_ButtonPressed(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
frmViewOpenXMLContent frm = new frmViewOpenXMLContent();
frm.View = QuizTemplateView;
frm.Column = colHeaderDes;
frm.LoadData();
frm.Show();
}
private void Delete_Click(object sender, EventArgs e)
{
if (MessageBox.Show("Bạn muốn xóa bản ghi này?", "Xóa bản ghi", MessageBoxButtons.OKCancel) == DialogResult.Cancel) return;
switch(Context)
{
case 1:
TblQuizTemplateEntity deletedTempate = QuizTempates[this.BindingContext[QuizTempates].Position];
QuizTempates.Remove(deletedTempate);
adapter.DeleteEntity(deletedTempate);
break;
case 2:
TblQuizTemplateDetailEntity deletedDetail = QuizTemplateDetail[this.BindingContext[QuizTemplateDetail].Position];
QuizTemplateDetail.Remove(deletedDetail);
adapter.DeleteEntity(deletedDetail);
break;
}
}
private void grdQuizTemplate_Enter(object sender, EventArgs e)
{
Context =1;
}
private void grdQuizTemplateDetail_Enter(object sender, EventArgs e)
{
Context =2;
}
private void barDelete_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
if (MessageBox.Show("Bạn muốn xóa bản ghi này?", "Xóa bản ghi", MessageBoxButtons.OKCancel) == DialogResult.Cancel) return;
switch (Context)
{
case 1:
TblQuizTemplateEntity deletedTempate = QuizTempates[this.BindingContext[QuizTempates].Position];
QuizTempates.Remove(deletedTempate);
adapter.DeleteEntity(deletedTempate);
break;
case 2:
TblQuizTemplateDetailEntity deletedDetail = QuizTemplateDetail[this.BindingContext[QuizTemplateDetail].Position];
QuizTemplateDetail.Remove(deletedDetail);
adapter.DeleteEntity(deletedDetail);
break;
}
}
private void btnViewHeader_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
frmViewOpenXMLContent frm = new frmViewOpenXMLContent();
frm.View = QuizTemplateView;
frm.Column = colHeaderDes;
frm.LoadData();
frm.Show();
}
private void btnViewFooter_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
frmViewOpenXMLContent frm = new frmViewOpenXMLContent();
frm.View = QuizTemplateView;
frm.Column = colFooterDes;
frm.LoadData();
frm.Show();
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,185 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
using System.Xml;
using System.Linq;
using Datalib.DatabaseSpecific;
using Datalib.EntityClasses;
using Datalib.FactoryClasses;
using Datalib.HelperClasses;
using Datalib.Linq;
using Datalib.RelationClasses;
using System.Threading;
using System.Globalization;
using System.Configuration;
using System.IO;
using SD.LLBLGen.Pro.ORMSupportClasses.Miscellaneous;
namespace Omega.Forms
{
public partial class frmSettings : Omega.BasicForms.frmCommon
{
public frmSettings()
{
InitializeComponent();
}
private void barChangePass_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
(new frmChangePass()).Show();
}
private void BackupFolder_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
if (this.folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
this.BackupFolder.Text = this.folderBrowserDialog.SelectedPath;
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
KeyValueConfigurationCollection confCollection = config.AppSettings.Settings;
if (confCollection["BackupFolder"] != null)
{
confCollection["BackupFolder"].Value = this.BackupFolder.Text;
}else
{
confCollection.Add("BackupFolder", this.BackupFolder.Text);
}
config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
SettingInfo.BackupFolder = this.BackupFolder.Text;
}
}
private void Databasefile_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
if (this.openFileDialog.ShowDialog() == DialogResult.OK)
{
string tmp = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source={file};User Id=admin;Password=;Jet OLEDB:System Database=;Jet OLEDB:Database password=";
this.Databasefile.Text = this.openFileDialog.FileName;
string newvalue = tmp.Replace("{file}", this.Databasefile.Text);
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
config.AppSettings.Settings["ConnectionString.MS Access (OleDb)"].Value = newvalue;
config.Save();
ConfigurationManager.RefreshSection("appSettings");
SettingInfo.DatabaseFile = this.Databasefile.Text;
}
}
private void OutputFolder_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
if (this.folderBrowserDialog.ShowDialog() == DialogResult.OK)
{
this.OutputFolder.Text = this.folderBrowserDialog.SelectedPath;
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
KeyValueConfigurationCollection confCollection = config.AppSettings.Settings;
if (confCollection["OutputFolder"] != null)
{
confCollection["OutputFolder"].Value = this.OutputFolder.Text;
}else
{
confCollection.Add("OutputFolder", this.OutputFolder.Text);
}
config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
SettingInfo.OutputFolder = this.OutputFolder.Text;
}
}
private void frmSettings_Load(object sender, EventArgs e)
{
List<string> Admins = new List<string>() { "Admin", "SuperUser" };
try
{
this.BackupFolder.Text = SettingInfo.BackupFolder;
this.OutputFolder.Text = SettingInfo.OutputFolder;
this.Databasefile.Text = SettingInfo.DatabaseFile;
this.Exclucive.EditValue = SettingInfo.Exclusive;
this.InstallId.Text = SettingInfo.InstallId;
this.RegisterNo.Text = SettingInfo.RegisterNo;
this.RegisterNo.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
this.OutputFolder.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
this.BackupFolder.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
this.Exclucive.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
this.Databasefile.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
this.barSave.Enabled = Admins.Exists(Name => Name.Equals(SettingInfo.UserName));
} catch
{
}
}
private void barClose_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
this.Close();
}
private void barBackup_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
try {
string DesFile = SettingInfo.BackupFolder + @"\" + "Data" + DateTime.Today.ToString("ddMMyyyy") + ".mdb";
File.Copy(SettingInfo.DatabaseFile, DesFile);
MessageBox.Show("Dữ liệu đã được sao lưu ra tệp " + DesFile);
}
catch
{
}
}
private void barSave_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
}
private void Exclucive_EditValueChanged(object sender, EventArgs e)
{
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
KeyValueConfigurationCollection confCollection = config.AppSettings.Settings;
if (confCollection["Exclusive"] != null)
{
confCollection["Exclusive"].Value = this.Exclucive.EditValue.ToString().Trim();
}
else
{
confCollection.Add("Exclusive", this.Exclucive.EditValue.ToString().Trim());
}
config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
SettingInfo.Exclusive = this.Exclucive.EditValue.ToString().Trim();
}
private void RegisterNo_EditValueChanged(object sender, EventArgs e)
{
var config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
KeyValueConfigurationCollection confCollection = config.AppSettings.Settings;
if (confCollection["RegisterNo"] != null)
{
confCollection["RegisterNo"].Value = this.RegisterNo.EditValue.ToString().Trim();
}
else
{
confCollection.Add("RegisterNo", this.RegisterNo.Text.ToString().Trim());
}
config.Save(ConfigurationSaveMode.Modified);
ConfigurationManager.RefreshSection("appSettings");
SettingInfo.RegisterNo = this.RegisterNo.Text.ToString().Trim();
}
}
}

View File

@@ -0,0 +1,366 @@
namespace Omega.Forms
{
partial class frmSettings
{
/// <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()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSettings));
this.SettingDlg = new System.Windows.Forms.OpenFileDialog();
this.Settings = new System.Windows.Forms.GroupBox();
this.License = new System.Windows.Forms.GroupBox();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.RegisterNo = new DevExpress.XtraEditors.TextEdit();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.InstallId = new DevExpress.XtraEditors.TextEdit();
this.Exclucive = new DevExpress.XtraEditors.RadioGroup();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.OutputFolder = new DevExpress.XtraEditors.ButtonEdit();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.BackupFolder = new DevExpress.XtraEditors.ButtonEdit();
this.Databasefile = new DevExpress.XtraEditors.ButtonEdit();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.barManager = new DevExpress.XtraBars.BarManager();
this.bar2 = new DevExpress.XtraBars.Bar();
this.barSave = new DevExpress.XtraBars.BarButtonItem();
this.barBackup = new DevExpress.XtraBars.BarButtonItem();
this.barChangePass = new DevExpress.XtraBars.BarButtonItem();
this.barClose = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.cbFilter = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.tblDistrictEntityBindingSource = new System.Windows.Forms.BindingSource();
this.tblCommuneEntityBindingSource = new System.Windows.Forms.BindingSource();
this.tblProvinceEntityBindingSource = new System.Windows.Forms.BindingSource();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.folderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
this.Settings.SuspendLayout();
this.License.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.RegisterNo.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.InstallId.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Exclucive.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.OutputFolder.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.BackupFolder.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Databasefile.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbFilter)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblDistrictEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblCommuneEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblProvinceEntityBindingSource)).BeginInit();
this.SuspendLayout();
//
// SettingDlg
//
this.SettingDlg.DefaultExt = "fhi";
this.SettingDlg.FileName = "*.fhi";
resources.ApplyResources(this.SettingDlg, "SettingDlg");
//
// Settings
//
this.Settings.Controls.Add(this.License);
this.Settings.Controls.Add(this.Exclucive);
this.Settings.Controls.Add(this.labelControl2);
this.Settings.Controls.Add(this.labelControl1);
this.Settings.Controls.Add(this.OutputFolder);
this.Settings.Controls.Add(this.labelControl7);
this.Settings.Controls.Add(this.BackupFolder);
this.Settings.Controls.Add(this.Databasefile);
this.Settings.Controls.Add(this.labelControl6);
resources.ApplyResources(this.Settings, "Settings");
this.Settings.Name = "Settings";
this.Settings.TabStop = false;
//
// License
//
this.License.Controls.Add(this.labelControl4);
this.License.Controls.Add(this.RegisterNo);
this.License.Controls.Add(this.labelControl3);
this.License.Controls.Add(this.InstallId);
resources.ApplyResources(this.License, "License");
this.License.Name = "License";
this.License.TabStop = false;
//
// labelControl4
//
this.labelControl4.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl4.Appearance.Font")));
resources.ApplyResources(this.labelControl4, "labelControl4");
this.labelControl4.Name = "labelControl4";
//
// RegisterNo
//
resources.ApplyResources(this.RegisterNo, "RegisterNo");
this.RegisterNo.Name = "RegisterNo";
this.RegisterNo.EditValueChanged += new System.EventHandler(this.RegisterNo_EditValueChanged);
//
// labelControl3
//
this.labelControl3.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl3.Appearance.Font")));
resources.ApplyResources(this.labelControl3, "labelControl3");
this.labelControl3.Name = "labelControl3";
//
// InstallId
//
resources.ApplyResources(this.InstallId, "InstallId");
this.InstallId.Name = "InstallId";
//
// Exclucive
//
resources.ApplyResources(this.Exclucive, "Exclucive");
this.Exclucive.Name = "Exclucive";
this.Exclucive.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
new DevExpress.XtraEditors.Controls.RadioGroupItem(resources.GetString("Exclucive.Properties.Items"), resources.GetString("Exclucive.Properties.Items1")),
new DevExpress.XtraEditors.Controls.RadioGroupItem(resources.GetString("Exclucive.Properties.Items2"), resources.GetString("Exclucive.Properties.Items3")),
new DevExpress.XtraEditors.Controls.RadioGroupItem(resources.GetString("Exclucive.Properties.Items4"), resources.GetString("Exclucive.Properties.Items5")),
new DevExpress.XtraEditors.Controls.RadioGroupItem(resources.GetString("Exclucive.Properties.Items6"), resources.GetString("Exclucive.Properties.Items7"))});
this.Exclucive.EditValueChanged += new System.EventHandler(this.Exclucive_EditValueChanged);
//
// labelControl2
//
this.labelControl2.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl2.Appearance.Font")));
resources.ApplyResources(this.labelControl2, "labelControl2");
this.labelControl2.Name = "labelControl2";
//
// labelControl1
//
this.labelControl1.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl1.Appearance.Font")));
resources.ApplyResources(this.labelControl1, "labelControl1");
this.labelControl1.Name = "labelControl1";
//
// OutputFolder
//
resources.ApplyResources(this.OutputFolder, "OutputFolder");
this.OutputFolder.Name = "OutputFolder";
this.OutputFolder.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.OutputFolder.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.OutputFolder_ButtonClick);
//
// labelControl7
//
this.labelControl7.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl7.Appearance.Font")));
resources.ApplyResources(this.labelControl7, "labelControl7");
this.labelControl7.Name = "labelControl7";
//
// BackupFolder
//
resources.ApplyResources(this.BackupFolder, "BackupFolder");
this.BackupFolder.Name = "BackupFolder";
this.BackupFolder.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.BackupFolder.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.BackupFolder_ButtonClick);
//
// Databasefile
//
resources.ApplyResources(this.Databasefile, "Databasefile");
this.Databasefile.Name = "Databasefile";
this.Databasefile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton()});
this.Databasefile.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.Databasefile_ButtonClick);
//
// labelControl6
//
this.labelControl6.Appearance.Font = ((System.Drawing.Font)(resources.GetObject("labelControl6.Appearance.Font")));
resources.ApplyResources(this.labelControl6, "labelControl6");
this.labelControl6.Name = "labelControl6";
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar2});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.barSave,
this.barClose,
this.barChangePass,
this.barBackup});
this.barManager.MainMenu = this.bar2;
this.barManager.MaxItemId = 9;
this.barManager.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.cbFilter});
//
// bar2
//
this.bar2.BarName = "Main menu";
this.bar2.DockCol = 0;
this.bar2.DockRow = 0;
this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barSave, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barBackup, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barChangePass, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barClose, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
this.bar2.OptionsBar.MultiLine = true;
this.bar2.OptionsBar.UseWholeRow = true;
resources.ApplyResources(this.bar2, "bar2");
//
// barSave
//
resources.ApplyResources(this.barSave, "barSave");
this.barSave.Glyph = ((System.Drawing.Image)(resources.GetObject("barSave.Glyph")));
this.barSave.Id = 2;
this.barSave.ImageIndex = 0;
this.barSave.Name = "barSave";
this.barSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barSave_ItemClick);
//
// barBackup
//
resources.ApplyResources(this.barBackup, "barBackup");
this.barBackup.Glyph = ((System.Drawing.Image)(resources.GetObject("barBackup.Glyph")));
this.barBackup.Id = 8;
this.barBackup.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barBackup.LargeGlyph")));
this.barBackup.Name = "barBackup";
this.barBackup.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barBackup_ItemClick);
//
// barChangePass
//
resources.ApplyResources(this.barChangePass, "barChangePass");
this.barChangePass.Glyph = ((System.Drawing.Image)(resources.GetObject("barChangePass.Glyph")));
this.barChangePass.Id = 7;
this.barChangePass.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barChangePass.LargeGlyph")));
this.barChangePass.Name = "barChangePass";
this.barChangePass.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barChangePass_ItemClick);
//
// barClose
//
resources.ApplyResources(this.barClose, "barClose");
this.barClose.Glyph = ((System.Drawing.Image)(resources.GetObject("barClose.Glyph")));
this.barClose.Id = 6;
this.barClose.Name = "barClose";
this.barClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barClose_ItemClick);
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
resources.ApplyResources(this.barDockControlTop, "barDockControlTop");
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
resources.ApplyResources(this.barDockControlBottom, "barDockControlBottom");
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
resources.ApplyResources(this.barDockControlLeft, "barDockControlLeft");
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
resources.ApplyResources(this.barDockControlRight, "barDockControlRight");
//
// cbFilter
//
resources.ApplyResources(this.cbFilter, "cbFilter");
this.cbFilter.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(((DevExpress.XtraEditors.Controls.ButtonPredefines)(resources.GetObject("cbFilter.Buttons"))))});
this.cbFilter.Items.AddRange(new object[] {
resources.GetString("cbFilter.Items"),
resources.GetString("cbFilter.Items1"),
resources.GetString("cbFilter.Items2"),
resources.GetString("cbFilter.Items3"),
resources.GetString("cbFilter.Items4"),
resources.GetString("cbFilter.Items5")});
this.cbFilter.Name = "cbFilter";
//
// openFileDialog
//
this.openFileDialog.FileName = "openFileDialog";
//
// frmSettings
//
this.Appearance.BackColor = ((System.Drawing.Color)(resources.GetObject("frmSettings.Appearance.BackColor")));
this.Appearance.Options.UseBackColor = true;
resources.ApplyResources(this, "$this");
this.Controls.Add(this.Settings);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "frmSettings";
this.Load += new System.EventHandler(this.frmSettings_Load);
this.Settings.ResumeLayout(false);
this.Settings.PerformLayout();
this.License.ResumeLayout(false);
this.License.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.RegisterNo.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.InstallId.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Exclucive.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.OutputFolder.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.BackupFolder.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Databasefile.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.cbFilter)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblDistrictEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblCommuneEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblProvinceEntityBindingSource)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.GroupBox Settings;
private System.Windows.Forms.OpenFileDialog SettingDlg;
private System.Windows.Forms.BindingSource tblProvinceEntityBindingSource;
private System.Windows.Forms.BindingSource tblDistrictEntityBindingSource;
private System.Windows.Forms.BindingSource tblCommuneEntityBindingSource;
private DevExpress.XtraEditors.ButtonEdit Databasefile;
private DevExpress.XtraEditors.LabelControl labelControl6;
private System.Windows.Forms.OpenFileDialog openFileDialog;
private DevExpress.XtraEditors.LabelControl labelControl7;
private DevExpress.XtraEditors.ButtonEdit BackupFolder;
private System.Windows.Forms.FolderBrowserDialog folderBrowserDialog;
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar2;
private DevExpress.XtraBars.BarButtonItem barSave;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox cbFilter;
private DevExpress.XtraBars.BarButtonItem barClose;
private DevExpress.XtraBars.BarButtonItem barChangePass;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.ButtonEdit OutputFolder;
private DevExpress.XtraBars.BarButtonItem barBackup;
private DevExpress.XtraEditors.RadioGroup Exclucive;
private DevExpress.XtraEditors.LabelControl labelControl2;
private System.Windows.Forms.GroupBox License;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.TextEdit RegisterNo;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.TextEdit InstallId;
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
namespace Omega.Forms
{
public partial class frmShowSaveInfo : DevExpress.XtraEditors.XtraForm
{
private int i = 0;
public frmShowSaveInfo()
{
InitializeComponent();
}
private void timer_Tick(object sender, EventArgs e)
{
if (i > 10)
{
Close();
}
i = i + 1;
}
}
}

View File

@@ -0,0 +1,66 @@
namespace Omega.Forms
{
partial class frmShowSaveInfo
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmShowSaveInfo));
this.timer = new System.Windows.Forms.Timer(this.components);
this.label1 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// timer
//
this.timer.Enabled = true;
this.timer.Interval = 50;
this.timer.Tick += new System.EventHandler(this.timer_Tick);
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
this.label1.Name = "label1";
//
// frmShowSaveInfo
//
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ControlBox = false;
this.Controls.Add(this.label1);
this.Name = "frmShowSaveInfo";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Timer timer;
private System.Windows.Forms.Label label1;
}
}

View File

@@ -0,0 +1,183 @@
<?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>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;timer.Type" xml:space="preserve">
<value>System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>452, 56</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>The record was saved!</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>111, 17</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="label1.Font" type="System.Drawing.Font, System.Drawing">
<value>Tahoma, 15.75pt</value>
</data>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>224, 25</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="&gt;&gt;timer.Name" xml:space="preserve">
<value>timer</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>frmShowSaveInfo</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>vi-VN</value>
</metadata>
<metadata name="timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,183 @@
<?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>
<assembly alias="mscorlib" name="mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="label1.TabIndex" type="System.Int32, mscorlib">
<value>0</value>
</data>
<data name="&gt;&gt;timer.Type" xml:space="preserve">
<value>System.Windows.Forms.Timer, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;$this.Type" xml:space="preserve">
<value>DevExpress.XtraEditors.XtraForm, DevExpress.Utils.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</value>
</data>
<data name="label1.AutoSize" type="System.Boolean, mscorlib">
<value>True</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.ClientSize" type="System.Drawing.Size, System.Drawing">
<value>452, 56</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>The record was saved!</value>
</data>
<data name="&gt;&gt;label1.ZOrder" xml:space="preserve">
<value>0</value>
</data>
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>111, 17</value>
</data>
<data name="&gt;&gt;label1.Parent" xml:space="preserve">
<value>$this</value>
</data>
<data name="&gt;&gt;label1.Type" xml:space="preserve">
<value>System.Windows.Forms.Label, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="&gt;&gt;label1.Name" xml:space="preserve">
<value>label1</value>
</data>
<data name="label1.Font" type="System.Drawing.Font, System.Drawing">
<value>Tahoma, 15.75pt</value>
</data>
<data name="$this.AutoScaleDimensions" type="System.Drawing.SizeF, System.Drawing">
<value>6, 13</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>224, 25</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="$this.StartPosition" type="System.Windows.Forms.FormStartPosition, System.Windows.Forms">
<value>CenterScreen</value>
</data>
<data name="&gt;&gt;timer.Name" xml:space="preserve">
<value>timer</value>
</data>
<data name="&gt;&gt;$this.Name" xml:space="preserve">
<value>frmShowSaveInfo</value>
</data>
<metadata name="$this.Localizable" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="$this.Language" type="System.Globalization.CultureInfo, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>vi-VN</value>
</metadata>
<metadata name="timer.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -0,0 +1,130 @@
<?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>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="label1.Location" type="System.Drawing.Point, System.Drawing">
<value>66, 18</value>
</data>
<data name="label1.Size" type="System.Drawing.Size, System.Drawing">
<value>319, 25</value>
</data>
<data name="label1.Text" xml:space="preserve">
<value>Dự liệu đã được ghi thành công!</value>
</data>
</root>

View File

@@ -0,0 +1,652 @@
namespace Omega.Forms
{
partial class frmViewOpenXMLContent
{
/// <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()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmViewOpenXMLContent));
this.barManager = new DevExpress.XtraBars.BarManager(this.components);
this.bar1 = new DevExpress.XtraBars.Bar();
this.Opem = new DevExpress.XtraBars.BarButtonItem();
this.SaveandClose = new DevExpress.XtraBars.BarButtonItem();
this.paragraphBar1 = new DevExpress.XtraRichEdit.UI.ParagraphBar();
this.richEditControl = new DevExpress.XtraRichEdit.RichEditControl();
this.toggleBulletedListItem1 = new DevExpress.XtraRichEdit.UI.ToggleBulletedListItem();
this.toggleNumberingListItem1 = new DevExpress.XtraRichEdit.UI.ToggleNumberingListItem();
this.toggleMultiLevelListItem1 = new DevExpress.XtraRichEdit.UI.ToggleMultiLevelListItem();
this.decreaseIndentItem1 = new DevExpress.XtraRichEdit.UI.DecreaseIndentItem();
this.increaseIndentItem1 = new DevExpress.XtraRichEdit.UI.IncreaseIndentItem();
this.toggleParagraphAlignmentLeftItem1 = new DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentLeftItem();
this.toggleParagraphAlignmentCenterItem1 = new DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentCenterItem();
this.toggleParagraphAlignmentRightItem1 = new DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentRightItem();
this.toggleParagraphAlignmentJustifyItem1 = new DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentJustifyItem();
this.changeParagraphLineSpacingItem1 = new DevExpress.XtraRichEdit.UI.ChangeParagraphLineSpacingItem();
this.setSingleParagraphSpacingItem1 = new DevExpress.XtraRichEdit.UI.SetSingleParagraphSpacingItem();
this.setSesquialteralParagraphSpacingItem1 = new DevExpress.XtraRichEdit.UI.SetSesquialteralParagraphSpacingItem();
this.setDoubleParagraphSpacingItem1 = new DevExpress.XtraRichEdit.UI.SetDoubleParagraphSpacingItem();
this.showLineSpacingFormItem1 = new DevExpress.XtraRichEdit.UI.ShowLineSpacingFormItem();
this.addSpacingBeforeParagraphItem1 = new DevExpress.XtraRichEdit.UI.AddSpacingBeforeParagraphItem();
this.removeSpacingBeforeParagraphItem1 = new DevExpress.XtraRichEdit.UI.RemoveSpacingBeforeParagraphItem();
this.addSpacingAfterParagraphItem1 = new DevExpress.XtraRichEdit.UI.AddSpacingAfterParagraphItem();
this.removeSpacingAfterParagraphItem1 = new DevExpress.XtraRichEdit.UI.RemoveSpacingAfterParagraphItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.pasteItem1 = new DevExpress.XtraRichEdit.UI.PasteItem();
this.cutItem1 = new DevExpress.XtraRichEdit.UI.CutItem();
this.copyItem1 = new DevExpress.XtraRichEdit.UI.CopyItem();
this.pasteSpecialItem1 = new DevExpress.XtraRichEdit.UI.PasteSpecialItem();
this.changeFontNameItem1 = new DevExpress.XtraRichEdit.UI.ChangeFontNameItem();
this.repositoryItemFontEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemFontEdit();
this.changeFontSizeItem1 = new DevExpress.XtraRichEdit.UI.ChangeFontSizeItem();
this.repositoryItemRichEditFontSizeEdit1 = new DevExpress.XtraRichEdit.Design.RepositoryItemRichEditFontSizeEdit();
this.fontSizeIncreaseItem1 = new DevExpress.XtraRichEdit.UI.FontSizeIncreaseItem();
this.fontSizeDecreaseItem1 = new DevExpress.XtraRichEdit.UI.FontSizeDecreaseItem();
this.toggleFontBoldItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontBoldItem();
this.toggleFontItalicItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontItalicItem();
this.toggleFontUnderlineItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontUnderlineItem();
this.toggleFontDoubleUnderlineItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontDoubleUnderlineItem();
this.toggleFontStrikeoutItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontStrikeoutItem();
this.toggleFontDoubleStrikeoutItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontDoubleStrikeoutItem();
this.toggleFontSuperscriptItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontSuperscriptItem();
this.toggleFontSubscriptItem1 = new DevExpress.XtraRichEdit.UI.ToggleFontSubscriptItem();
this.changeFontColorItem1 = new DevExpress.XtraRichEdit.UI.ChangeFontColorItem();
this.changeFontBackColorItem1 = new DevExpress.XtraRichEdit.UI.ChangeFontBackColorItem();
this.changeTextCaseItem1 = new DevExpress.XtraRichEdit.UI.ChangeTextCaseItem();
this.makeTextUpperCaseItem1 = new DevExpress.XtraRichEdit.UI.MakeTextUpperCaseItem();
this.makeTextLowerCaseItem1 = new DevExpress.XtraRichEdit.UI.MakeTextLowerCaseItem();
this.toggleTextCaseItem1 = new DevExpress.XtraRichEdit.UI.ToggleTextCaseItem();
this.clearFormattingItem1 = new DevExpress.XtraRichEdit.UI.ClearFormattingItem();
this.showFontFormItem1 = new DevExpress.XtraRichEdit.UI.ShowFontFormItem();
this.changeStyleItem1 = new DevExpress.XtraRichEdit.UI.ChangeStyleItem();
this.repositoryItemRichEditStyleEdit1 = new DevExpress.XtraRichEdit.Design.RepositoryItemRichEditStyleEdit();
this.showEditStyleFormItem1 = new DevExpress.XtraRichEdit.UI.ShowEditStyleFormItem();
this.openFileDialog = new System.Windows.Forms.OpenFileDialog();
this.richEditBarController1 = new DevExpress.XtraRichEdit.UI.RichEditBarController();
this.editingBar1 = new DevExpress.XtraRichEdit.UI.EditingBar();
((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemRichEditFontSizeEdit1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemRichEditStyleEdit1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.richEditBarController1)).BeginInit();
this.SuspendLayout();
//
// barManager
//
this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
this.bar1,
this.paragraphBar1});
this.barManager.DockControls.Add(this.barDockControlTop);
this.barManager.DockControls.Add(this.barDockControlBottom);
this.barManager.DockControls.Add(this.barDockControlLeft);
this.barManager.DockControls.Add(this.barDockControlRight);
this.barManager.Form = this;
this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.Opem,
this.SaveandClose,
this.pasteItem1,
this.cutItem1,
this.copyItem1,
this.pasteSpecialItem1,
this.changeFontNameItem1,
this.changeFontSizeItem1,
this.fontSizeIncreaseItem1,
this.fontSizeDecreaseItem1,
this.toggleFontBoldItem1,
this.toggleFontItalicItem1,
this.toggleFontUnderlineItem1,
this.toggleFontDoubleUnderlineItem1,
this.toggleFontStrikeoutItem1,
this.toggleFontDoubleStrikeoutItem1,
this.toggleFontSuperscriptItem1,
this.toggleFontSubscriptItem1,
this.changeFontColorItem1,
this.changeFontBackColorItem1,
this.changeTextCaseItem1,
this.makeTextUpperCaseItem1,
this.makeTextLowerCaseItem1,
this.toggleTextCaseItem1,
this.clearFormattingItem1,
this.showFontFormItem1,
this.toggleBulletedListItem1,
this.toggleNumberingListItem1,
this.toggleMultiLevelListItem1,
this.decreaseIndentItem1,
this.increaseIndentItem1,
this.toggleParagraphAlignmentLeftItem1,
this.toggleParagraphAlignmentCenterItem1,
this.toggleParagraphAlignmentRightItem1,
this.toggleParagraphAlignmentJustifyItem1,
this.changeParagraphLineSpacingItem1,
this.setSingleParagraphSpacingItem1,
this.setSesquialteralParagraphSpacingItem1,
this.setDoubleParagraphSpacingItem1,
this.showLineSpacingFormItem1,
this.addSpacingBeforeParagraphItem1,
this.removeSpacingBeforeParagraphItem1,
this.addSpacingAfterParagraphItem1,
this.removeSpacingAfterParagraphItem1,
this.changeStyleItem1,
this.showEditStyleFormItem1});
this.barManager.MaxItemId = 52;
this.barManager.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemFontEdit1,
this.repositoryItemRichEditFontSizeEdit1,
this.repositoryItemRichEditStyleEdit1});
//
// bar1
//
this.bar1.BarName = "Tools";
this.bar1.DockCol = 0;
this.bar1.DockRow = 0;
this.bar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.Opem, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph),
new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.SaveandClose, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)});
this.bar1.Text = "Tools";
//
// Opem
//
this.Opem.Caption = "Open";
this.Opem.Glyph = ((System.Drawing.Image)(resources.GetObject("Opem.Glyph")));
this.Opem.Id = 0;
this.Opem.Name = "Opem";
this.Opem.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.Opem_ItemClick);
//
// SaveandClose
//
this.SaveandClose.Caption = "Save and Close";
this.SaveandClose.Glyph = ((System.Drawing.Image)(resources.GetObject("SaveandClose.Glyph")));
this.SaveandClose.Id = 1;
this.SaveandClose.Name = "SaveandClose";
this.SaveandClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.SaveandClose_ItemClick);
//
// paragraphBar1
//
this.paragraphBar1.Control = this.richEditControl;
this.paragraphBar1.DockCol = 1;
this.paragraphBar1.DockRow = 0;
this.paragraphBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.paragraphBar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.toggleBulletedListItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleNumberingListItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleMultiLevelListItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.decreaseIndentItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.increaseIndentItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleParagraphAlignmentLeftItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleParagraphAlignmentCenterItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleParagraphAlignmentRightItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleParagraphAlignmentJustifyItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.changeParagraphLineSpacingItem1)});
//
// richEditControl
//
this.richEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
this.richEditControl.Location = new System.Drawing.Point(0, 47);
this.richEditControl.MenuManager = this.barManager;
this.richEditControl.Name = "richEditControl";
this.richEditControl.Options.Fields.UseCurrentCultureDateTimeFormat = false;
this.richEditControl.Options.MailMerge.KeepLastParagraph = false;
this.richEditControl.Size = new System.Drawing.Size(717, 291);
this.richEditControl.TabIndex = 0;
//
// toggleBulletedListItem1
//
this.toggleBulletedListItem1.Id = 27;
this.toggleBulletedListItem1.Name = "toggleBulletedListItem1";
//
// toggleNumberingListItem1
//
this.toggleNumberingListItem1.Id = 28;
this.toggleNumberingListItem1.Name = "toggleNumberingListItem1";
//
// toggleMultiLevelListItem1
//
this.toggleMultiLevelListItem1.Id = 29;
this.toggleMultiLevelListItem1.Name = "toggleMultiLevelListItem1";
//
// decreaseIndentItem1
//
this.decreaseIndentItem1.Id = 30;
this.decreaseIndentItem1.Name = "decreaseIndentItem1";
//
// increaseIndentItem1
//
this.increaseIndentItem1.Id = 31;
this.increaseIndentItem1.Name = "increaseIndentItem1";
//
// toggleParagraphAlignmentLeftItem1
//
this.toggleParagraphAlignmentLeftItem1.Id = 32;
this.toggleParagraphAlignmentLeftItem1.Name = "toggleParagraphAlignmentLeftItem1";
//
// toggleParagraphAlignmentCenterItem1
//
this.toggleParagraphAlignmentCenterItem1.Id = 33;
this.toggleParagraphAlignmentCenterItem1.Name = "toggleParagraphAlignmentCenterItem1";
//
// toggleParagraphAlignmentRightItem1
//
this.toggleParagraphAlignmentRightItem1.Id = 34;
this.toggleParagraphAlignmentRightItem1.Name = "toggleParagraphAlignmentRightItem1";
//
// toggleParagraphAlignmentJustifyItem1
//
this.toggleParagraphAlignmentJustifyItem1.Id = 35;
this.toggleParagraphAlignmentJustifyItem1.Name = "toggleParagraphAlignmentJustifyItem1";
//
// changeParagraphLineSpacingItem1
//
this.changeParagraphLineSpacingItem1.Id = 37;
this.changeParagraphLineSpacingItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.setSingleParagraphSpacingItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.setSesquialteralParagraphSpacingItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.setDoubleParagraphSpacingItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.showLineSpacingFormItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.addSpacingBeforeParagraphItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.removeSpacingBeforeParagraphItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.addSpacingAfterParagraphItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.removeSpacingAfterParagraphItem1)});
this.changeParagraphLineSpacingItem1.Name = "changeParagraphLineSpacingItem1";
//
// setSingleParagraphSpacingItem1
//
this.setSingleParagraphSpacingItem1.Id = 38;
this.setSingleParagraphSpacingItem1.Name = "setSingleParagraphSpacingItem1";
//
// setSesquialteralParagraphSpacingItem1
//
this.setSesquialteralParagraphSpacingItem1.Id = 39;
this.setSesquialteralParagraphSpacingItem1.Name = "setSesquialteralParagraphSpacingItem1";
//
// setDoubleParagraphSpacingItem1
//
this.setDoubleParagraphSpacingItem1.Id = 40;
this.setDoubleParagraphSpacingItem1.Name = "setDoubleParagraphSpacingItem1";
//
// showLineSpacingFormItem1
//
this.showLineSpacingFormItem1.Id = 41;
this.showLineSpacingFormItem1.Name = "showLineSpacingFormItem1";
//
// addSpacingBeforeParagraphItem1
//
this.addSpacingBeforeParagraphItem1.Id = 42;
this.addSpacingBeforeParagraphItem1.Name = "addSpacingBeforeParagraphItem1";
//
// removeSpacingBeforeParagraphItem1
//
this.removeSpacingBeforeParagraphItem1.Id = 43;
this.removeSpacingBeforeParagraphItem1.Name = "removeSpacingBeforeParagraphItem1";
//
// addSpacingAfterParagraphItem1
//
this.addSpacingAfterParagraphItem1.Id = 44;
this.addSpacingAfterParagraphItem1.Name = "addSpacingAfterParagraphItem1";
//
// removeSpacingAfterParagraphItem1
//
this.removeSpacingAfterParagraphItem1.Id = 45;
this.removeSpacingAfterParagraphItem1.Name = "removeSpacingAfterParagraphItem1";
//
// barDockControlTop
//
this.barDockControlTop.CausesValidation = false;
this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top;
this.barDockControlTop.Location = new System.Drawing.Point(0, 0);
this.barDockControlTop.Size = new System.Drawing.Size(717, 47);
//
// barDockControlBottom
//
this.barDockControlBottom.CausesValidation = false;
this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.barDockControlBottom.Location = new System.Drawing.Point(0, 338);
this.barDockControlBottom.Size = new System.Drawing.Size(717, 0);
//
// barDockControlLeft
//
this.barDockControlLeft.CausesValidation = false;
this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left;
this.barDockControlLeft.Location = new System.Drawing.Point(0, 47);
this.barDockControlLeft.Size = new System.Drawing.Size(0, 291);
//
// barDockControlRight
//
this.barDockControlRight.CausesValidation = false;
this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right;
this.barDockControlRight.Location = new System.Drawing.Point(717, 47);
this.barDockControlRight.Size = new System.Drawing.Size(0, 291);
//
// pasteItem1
//
this.pasteItem1.Id = 3;
this.pasteItem1.Name = "pasteItem1";
//
// cutItem1
//
this.cutItem1.Id = 4;
this.cutItem1.Name = "cutItem1";
//
// copyItem1
//
this.copyItem1.Id = 5;
this.copyItem1.Name = "copyItem1";
//
// pasteSpecialItem1
//
this.pasteSpecialItem1.Id = 6;
this.pasteSpecialItem1.Name = "pasteSpecialItem1";
//
// changeFontNameItem1
//
this.changeFontNameItem1.Edit = this.repositoryItemFontEdit1;
this.changeFontNameItem1.Id = 7;
this.changeFontNameItem1.Name = "changeFontNameItem1";
//
// repositoryItemFontEdit1
//
this.repositoryItemFontEdit1.AutoHeight = false;
this.repositoryItemFontEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repositoryItemFontEdit1.Name = "repositoryItemFontEdit1";
//
// changeFontSizeItem1
//
this.changeFontSizeItem1.Edit = this.repositoryItemRichEditFontSizeEdit1;
this.changeFontSizeItem1.Id = 8;
this.changeFontSizeItem1.Name = "changeFontSizeItem1";
//
// repositoryItemRichEditFontSizeEdit1
//
this.repositoryItemRichEditFontSizeEdit1.AutoHeight = false;
this.repositoryItemRichEditFontSizeEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repositoryItemRichEditFontSizeEdit1.Control = this.richEditControl;
this.repositoryItemRichEditFontSizeEdit1.Name = "repositoryItemRichEditFontSizeEdit1";
//
// fontSizeIncreaseItem1
//
this.fontSizeIncreaseItem1.Id = 9;
this.fontSizeIncreaseItem1.Name = "fontSizeIncreaseItem1";
//
// fontSizeDecreaseItem1
//
this.fontSizeDecreaseItem1.Id = 10;
this.fontSizeDecreaseItem1.Name = "fontSizeDecreaseItem1";
//
// toggleFontBoldItem1
//
this.toggleFontBoldItem1.Id = 11;
this.toggleFontBoldItem1.Name = "toggleFontBoldItem1";
//
// toggleFontItalicItem1
//
this.toggleFontItalicItem1.Id = 12;
this.toggleFontItalicItem1.Name = "toggleFontItalicItem1";
//
// toggleFontUnderlineItem1
//
this.toggleFontUnderlineItem1.Id = 13;
this.toggleFontUnderlineItem1.Name = "toggleFontUnderlineItem1";
//
// toggleFontDoubleUnderlineItem1
//
this.toggleFontDoubleUnderlineItem1.Id = 14;
this.toggleFontDoubleUnderlineItem1.Name = "toggleFontDoubleUnderlineItem1";
//
// toggleFontStrikeoutItem1
//
this.toggleFontStrikeoutItem1.Id = 15;
this.toggleFontStrikeoutItem1.Name = "toggleFontStrikeoutItem1";
//
// toggleFontDoubleStrikeoutItem1
//
this.toggleFontDoubleStrikeoutItem1.Id = 16;
this.toggleFontDoubleStrikeoutItem1.Name = "toggleFontDoubleStrikeoutItem1";
//
// toggleFontSuperscriptItem1
//
this.toggleFontSuperscriptItem1.Id = 17;
this.toggleFontSuperscriptItem1.Name = "toggleFontSuperscriptItem1";
//
// toggleFontSubscriptItem1
//
this.toggleFontSubscriptItem1.Id = 18;
this.toggleFontSubscriptItem1.Name = "toggleFontSubscriptItem1";
//
// changeFontColorItem1
//
this.changeFontColorItem1.Id = 19;
this.changeFontColorItem1.Name = "changeFontColorItem1";
//
// changeFontBackColorItem1
//
this.changeFontBackColorItem1.Id = 20;
this.changeFontBackColorItem1.Name = "changeFontBackColorItem1";
//
// changeTextCaseItem1
//
this.changeTextCaseItem1.Id = 21;
this.changeTextCaseItem1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
new DevExpress.XtraBars.LinkPersistInfo(this.makeTextUpperCaseItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.makeTextLowerCaseItem1),
new DevExpress.XtraBars.LinkPersistInfo(this.toggleTextCaseItem1)});
this.changeTextCaseItem1.Name = "changeTextCaseItem1";
//
// makeTextUpperCaseItem1
//
this.makeTextUpperCaseItem1.Id = 22;
this.makeTextUpperCaseItem1.Name = "makeTextUpperCaseItem1";
//
// makeTextLowerCaseItem1
//
this.makeTextLowerCaseItem1.Id = 23;
this.makeTextLowerCaseItem1.Name = "makeTextLowerCaseItem1";
//
// toggleTextCaseItem1
//
this.toggleTextCaseItem1.Id = 24;
this.toggleTextCaseItem1.Name = "toggleTextCaseItem1";
//
// clearFormattingItem1
//
this.clearFormattingItem1.Id = 25;
this.clearFormattingItem1.Name = "clearFormattingItem1";
//
// showFontFormItem1
//
this.showFontFormItem1.Id = 26;
this.showFontFormItem1.Name = "showFontFormItem1";
//
// changeStyleItem1
//
this.changeStyleItem1.Edit = this.repositoryItemRichEditStyleEdit1;
this.changeStyleItem1.Id = 48;
this.changeStyleItem1.Name = "changeStyleItem1";
//
// repositoryItemRichEditStyleEdit1
//
this.repositoryItemRichEditStyleEdit1.AutoHeight = false;
this.repositoryItemRichEditStyleEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.repositoryItemRichEditStyleEdit1.Control = this.richEditControl;
this.repositoryItemRichEditStyleEdit1.Name = "repositoryItemRichEditStyleEdit1";
//
// showEditStyleFormItem1
//
this.showEditStyleFormItem1.Id = 49;
this.showEditStyleFormItem1.Name = "showEditStyleFormItem1";
//
// openFileDialog
//
this.openFileDialog.FileName = "openFileDialog";
this.openFileDialog.Filter = "Microsoft|*.docx";
//
// richEditBarController1
//
this.richEditBarController1.BarItems.Add(this.pasteItem1);
this.richEditBarController1.BarItems.Add(this.cutItem1);
this.richEditBarController1.BarItems.Add(this.copyItem1);
this.richEditBarController1.BarItems.Add(this.pasteSpecialItem1);
this.richEditBarController1.BarItems.Add(this.changeFontNameItem1);
this.richEditBarController1.BarItems.Add(this.changeFontSizeItem1);
this.richEditBarController1.BarItems.Add(this.fontSizeIncreaseItem1);
this.richEditBarController1.BarItems.Add(this.fontSizeDecreaseItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontBoldItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontItalicItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontUnderlineItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontDoubleUnderlineItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontStrikeoutItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontDoubleStrikeoutItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontSuperscriptItem1);
this.richEditBarController1.BarItems.Add(this.toggleFontSubscriptItem1);
this.richEditBarController1.BarItems.Add(this.changeFontColorItem1);
this.richEditBarController1.BarItems.Add(this.changeFontBackColorItem1);
this.richEditBarController1.BarItems.Add(this.changeTextCaseItem1);
this.richEditBarController1.BarItems.Add(this.makeTextUpperCaseItem1);
this.richEditBarController1.BarItems.Add(this.makeTextLowerCaseItem1);
this.richEditBarController1.BarItems.Add(this.toggleTextCaseItem1);
this.richEditBarController1.BarItems.Add(this.clearFormattingItem1);
this.richEditBarController1.BarItems.Add(this.showFontFormItem1);
this.richEditBarController1.BarItems.Add(this.toggleBulletedListItem1);
this.richEditBarController1.BarItems.Add(this.toggleNumberingListItem1);
this.richEditBarController1.BarItems.Add(this.toggleMultiLevelListItem1);
this.richEditBarController1.BarItems.Add(this.decreaseIndentItem1);
this.richEditBarController1.BarItems.Add(this.increaseIndentItem1);
this.richEditBarController1.BarItems.Add(this.toggleParagraphAlignmentLeftItem1);
this.richEditBarController1.BarItems.Add(this.toggleParagraphAlignmentCenterItem1);
this.richEditBarController1.BarItems.Add(this.toggleParagraphAlignmentRightItem1);
this.richEditBarController1.BarItems.Add(this.toggleParagraphAlignmentJustifyItem1);
this.richEditBarController1.BarItems.Add(this.changeParagraphLineSpacingItem1);
this.richEditBarController1.BarItems.Add(this.setSingleParagraphSpacingItem1);
this.richEditBarController1.BarItems.Add(this.setSesquialteralParagraphSpacingItem1);
this.richEditBarController1.BarItems.Add(this.setDoubleParagraphSpacingItem1);
this.richEditBarController1.BarItems.Add(this.showLineSpacingFormItem1);
this.richEditBarController1.BarItems.Add(this.addSpacingBeforeParagraphItem1);
this.richEditBarController1.BarItems.Add(this.removeSpacingBeforeParagraphItem1);
this.richEditBarController1.BarItems.Add(this.addSpacingAfterParagraphItem1);
this.richEditBarController1.BarItems.Add(this.removeSpacingAfterParagraphItem1);
this.richEditBarController1.BarItems.Add(this.changeStyleItem1);
this.richEditBarController1.BarItems.Add(this.showEditStyleFormItem1);
this.richEditBarController1.Control = this.richEditControl;
//
// editingBar1
//
this.editingBar1.BarName = "";
this.editingBar1.Control = this.richEditControl;
this.editingBar1.DockCol = 5;
this.editingBar1.DockRow = 0;
this.editingBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top;
this.editingBar1.Text = "";
//
// frmViewOpenXMLContent
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(717, 338);
this.Controls.Add(this.richEditControl);
this.Controls.Add(this.barDockControlLeft);
this.Controls.Add(this.barDockControlRight);
this.Controls.Add(this.barDockControlBottom);
this.Controls.Add(this.barDockControlTop);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "frmViewOpenXMLContent";
this.Text = "Xem dữ liệu ";
((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemFontEdit1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemRichEditFontSizeEdit1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemRichEditStyleEdit1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.richEditBarController1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private DevExpress.XtraBars.BarManager barManager;
private DevExpress.XtraBars.Bar bar1;
private DevExpress.XtraBars.BarButtonItem Opem;
private DevExpress.XtraBars.BarButtonItem SaveandClose;
private DevExpress.XtraBars.BarDockControl barDockControlTop;
private DevExpress.XtraBars.BarDockControl barDockControlBottom;
private DevExpress.XtraBars.BarDockControl barDockControlLeft;
private DevExpress.XtraBars.BarDockControl barDockControlRight;
private System.Windows.Forms.OpenFileDialog openFileDialog;
private DevExpress.XtraRichEdit.UI.PasteItem pasteItem1;
private DevExpress.XtraRichEdit.UI.CutItem cutItem1;
private DevExpress.XtraRichEdit.UI.CopyItem copyItem1;
private DevExpress.XtraRichEdit.UI.PasteSpecialItem pasteSpecialItem1;
private DevExpress.XtraRichEdit.UI.ChangeFontNameItem changeFontNameItem1;
private DevExpress.XtraEditors.Repository.RepositoryItemFontEdit repositoryItemFontEdit1;
private DevExpress.XtraRichEdit.UI.ChangeFontSizeItem changeFontSizeItem1;
private DevExpress.XtraRichEdit.Design.RepositoryItemRichEditFontSizeEdit repositoryItemRichEditFontSizeEdit1;
private DevExpress.XtraRichEdit.UI.FontSizeIncreaseItem fontSizeIncreaseItem1;
private DevExpress.XtraRichEdit.UI.FontSizeDecreaseItem fontSizeDecreaseItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontBoldItem toggleFontBoldItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontItalicItem toggleFontItalicItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontUnderlineItem toggleFontUnderlineItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontDoubleUnderlineItem toggleFontDoubleUnderlineItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontStrikeoutItem toggleFontStrikeoutItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontDoubleStrikeoutItem toggleFontDoubleStrikeoutItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontSuperscriptItem toggleFontSuperscriptItem1;
private DevExpress.XtraRichEdit.UI.ToggleFontSubscriptItem toggleFontSubscriptItem1;
private DevExpress.XtraRichEdit.UI.ChangeFontColorItem changeFontColorItem1;
private DevExpress.XtraRichEdit.UI.ChangeFontBackColorItem changeFontBackColorItem1;
private DevExpress.XtraRichEdit.UI.ChangeTextCaseItem changeTextCaseItem1;
private DevExpress.XtraRichEdit.UI.MakeTextUpperCaseItem makeTextUpperCaseItem1;
private DevExpress.XtraRichEdit.UI.MakeTextLowerCaseItem makeTextLowerCaseItem1;
private DevExpress.XtraRichEdit.UI.ToggleTextCaseItem toggleTextCaseItem1;
private DevExpress.XtraRichEdit.UI.ClearFormattingItem clearFormattingItem1;
private DevExpress.XtraRichEdit.UI.ShowFontFormItem showFontFormItem1;
private DevExpress.XtraRichEdit.UI.ParagraphBar paragraphBar1;
private DevExpress.XtraRichEdit.UI.ToggleBulletedListItem toggleBulletedListItem1;
private DevExpress.XtraRichEdit.UI.ToggleNumberingListItem toggleNumberingListItem1;
private DevExpress.XtraRichEdit.UI.ToggleMultiLevelListItem toggleMultiLevelListItem1;
private DevExpress.XtraRichEdit.UI.DecreaseIndentItem decreaseIndentItem1;
private DevExpress.XtraRichEdit.UI.IncreaseIndentItem increaseIndentItem1;
private DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentLeftItem toggleParagraphAlignmentLeftItem1;
private DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentCenterItem toggleParagraphAlignmentCenterItem1;
private DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentRightItem toggleParagraphAlignmentRightItem1;
private DevExpress.XtraRichEdit.UI.ToggleParagraphAlignmentJustifyItem toggleParagraphAlignmentJustifyItem1;
private DevExpress.XtraRichEdit.UI.ChangeParagraphLineSpacingItem changeParagraphLineSpacingItem1;
private DevExpress.XtraRichEdit.UI.SetSingleParagraphSpacingItem setSingleParagraphSpacingItem1;
private DevExpress.XtraRichEdit.UI.SetSesquialteralParagraphSpacingItem setSesquialteralParagraphSpacingItem1;
private DevExpress.XtraRichEdit.UI.SetDoubleParagraphSpacingItem setDoubleParagraphSpacingItem1;
private DevExpress.XtraRichEdit.UI.ShowLineSpacingFormItem showLineSpacingFormItem1;
private DevExpress.XtraRichEdit.UI.AddSpacingBeforeParagraphItem addSpacingBeforeParagraphItem1;
private DevExpress.XtraRichEdit.UI.RemoveSpacingBeforeParagraphItem removeSpacingBeforeParagraphItem1;
private DevExpress.XtraRichEdit.UI.AddSpacingAfterParagraphItem addSpacingAfterParagraphItem1;
private DevExpress.XtraRichEdit.UI.RemoveSpacingAfterParagraphItem removeSpacingAfterParagraphItem1;
private DevExpress.XtraRichEdit.UI.ChangeStyleItem changeStyleItem1;
private DevExpress.XtraRichEdit.Design.RepositoryItemRichEditStyleEdit repositoryItemRichEditStyleEdit1;
private DevExpress.XtraRichEdit.UI.ShowEditStyleFormItem showEditStyleFormItem1;
private DevExpress.XtraRichEdit.UI.RichEditBarController richEditBarController1;
private DevExpress.XtraRichEdit.RichEditControl richEditControl;
private DevExpress.XtraRichEdit.UI.EditingBar editingBar1;
}
}

View File

@@ -0,0 +1,51 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace Omega.Forms
{
public partial class frmViewOpenXMLContent : Omega.BasicForms.frmCommon
{
public DevExpress.XtraGrid.Views.Grid.GridView View { get; set; }
public DevExpress.XtraGrid.Columns.GridColumn Column { get; set; }
public frmViewOpenXMLContent()
{
InitializeComponent();
}
public override void LoadData()
{
try
{
string St = View.GetFocusedRowCellValue(Column).ToString();
richEditControl.OpenXmlBytes = Convert.FromBase64String(St);
}
catch
{
}
}
private void SaveandClose_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
String SaveValue = Convert.ToBase64String(richEditControl.OpenXmlBytes);
View.SetFocusedRowCellValue(Column, SaveValue);
this.Close();
}
private void Opem_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
{
if (openFileDialog.ShowDialog() == DialogResult.OK)
{
string filename = openFileDialog.FileName;
byte[] buff = File.ReadAllBytes(filename);
this.richEditControl.OpenXmlBytes = buff;
}
}
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,267 @@
namespace Omega.Forms
{
partial class frmWarning
{
/// <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()
{
this.Field = new DevExpress.XtraEditors.TextEdit();
this.tblQuizTemplateDetailEntityBindingSource = new System.Windows.Forms.BindingSource();
this.SubjectId = new DevExpress.XtraEditors.LookUpEdit();
this.tblSubjectEntityBindingSource = new System.Windows.Forms.BindingSource();
this.Level = new DevExpress.XtraEditors.TextEdit();
this.Difficulty = new DevExpress.XtraEditors.TextEdit();
this.QuestionNum = new DevExpress.XtraEditors.TextEdit();
this.QuizTemplate = new DevExpress.XtraEditors.LookUpEdit();
this.tblQuizTemplateEntityBindingSource = new System.Windows.Forms.BindingSource();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.RestQuestionNum = new DevExpress.XtraEditors.TextEdit();
((System.ComponentModel.ISupportInitialize)(this.Field.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.SubjectId.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Level.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.Difficulty.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuestionNum.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplate.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.RestQuestionNum.Properties)).BeginInit();
this.SuspendLayout();
//
// Field
//
this.Field.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tblQuizTemplateDetailEntityBindingSource, "FieldId", true));
this.Field.Enabled = false;
this.Field.Location = new System.Drawing.Point(180, 103);
this.Field.Name = "Field";
this.Field.Size = new System.Drawing.Size(94, 20);
this.Field.TabIndex = 0;
//
// tblQuizTemplateDetailEntityBindingSource
//
this.tblQuizTemplateDetailEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateDetailEntity);
//
// SubjectId
//
this.SubjectId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.tblQuizTemplateDetailEntityBindingSource, "SubjectId", true));
this.SubjectId.Enabled = false;
this.SubjectId.Location = new System.Drawing.Point(180, 70);
this.SubjectId.Name = "SubjectId";
this.SubjectId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.SubjectId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectId", "Subject Id", 59, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("SubjectName", "Subject Name", 150, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.SubjectId.Properties.DataSource = this.tblSubjectEntityBindingSource;
this.SubjectId.Properties.DisplayMember = "SubjectName";
this.SubjectId.Properties.ValueMember = "SubjectId";
this.SubjectId.Size = new System.Drawing.Size(240, 20);
this.SubjectId.TabIndex = 1;
//
// tblSubjectEntityBindingSource
//
this.tblSubjectEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblSubjectEntity);
//
// Level
//
this.Level.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tblQuizTemplateDetailEntityBindingSource, "Level", true));
this.Level.Enabled = false;
this.Level.Location = new System.Drawing.Point(180, 136);
this.Level.Name = "Level";
this.Level.Size = new System.Drawing.Size(94, 20);
this.Level.TabIndex = 2;
//
// Difficulty
//
this.Difficulty.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tblQuizTemplateDetailEntityBindingSource, "Difficulty", true));
this.Difficulty.Enabled = false;
this.Difficulty.Location = new System.Drawing.Point(180, 169);
this.Difficulty.Name = "Difficulty";
this.Difficulty.Size = new System.Drawing.Size(94, 20);
this.Difficulty.TabIndex = 3;
//
// QuestionNum
//
this.QuestionNum.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tblQuizTemplateDetailEntityBindingSource, "QuestionNum", true));
this.QuestionNum.Enabled = false;
this.QuestionNum.Location = new System.Drawing.Point(180, 202);
this.QuestionNum.Name = "QuestionNum";
this.QuestionNum.Size = new System.Drawing.Size(94, 20);
this.QuestionNum.TabIndex = 4;
//
// QuizTemplate
//
this.QuizTemplate.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.tblQuizTemplateDetailEntityBindingSource, "QuizTemplateId", true));
this.QuizTemplate.Enabled = false;
this.QuizTemplate.Location = new System.Drawing.Point(180, 37);
this.QuizTemplate.Name = "QuizTemplate";
this.QuizTemplate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.QuizTemplate.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] {
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QuizTemplateId", "Quiz Template Id", 91, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Near),
new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TemplateQuizName", "Quiz Template Name", 150, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)});
this.QuizTemplate.Properties.DataSource = this.tblQuizTemplateEntityBindingSource;
this.QuizTemplate.Properties.DisplayMember = "TemplateQuizName";
this.QuizTemplate.Properties.ValueMember = "QuizTemplateId";
this.QuizTemplate.Size = new System.Drawing.Size(240, 20);
this.QuizTemplate.TabIndex = 5;
//
// tblQuizTemplateEntityBindingSource
//
this.tblQuizTemplateEntityBindingSource.DataSource = typeof(Datalib.EntityClasses.TblQuizTemplateEntity);
//
// labelControl1
//
this.labelControl1.Location = new System.Drawing.Point(88, 40);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Size = new System.Drawing.Size(68, 13);
this.labelControl1.TabIndex = 6;
this.labelControl1.Text = "Quiz Template";
//
// labelControl2
//
this.labelControl2.Location = new System.Drawing.Point(116, 77);
this.labelControl2.Name = "labelControl2";
this.labelControl2.Size = new System.Drawing.Size(40, 13);
this.labelControl2.TabIndex = 7;
this.labelControl2.Text = "Môn học";
//
// labelControl3
//
this.labelControl3.Location = new System.Drawing.Point(116, 110);
this.labelControl3.Name = "labelControl3";
this.labelControl3.Size = new System.Drawing.Size(40, 13);
this.labelControl3.TabIndex = 8;
this.labelControl3.Text = "Lĩnh vực";
//
// labelControl4
//
this.labelControl4.Location = new System.Drawing.Point(74, 143);
this.labelControl4.Name = "labelControl4";
this.labelControl4.Size = new System.Drawing.Size(82, 13);
this.labelControl4.TabIndex = 9;
this.labelControl4.Text = "Mức độ kiến thức";
//
// labelControl5
//
this.labelControl5.Location = new System.Drawing.Point(122, 176);
this.labelControl5.Name = "labelControl5";
this.labelControl5.Size = new System.Drawing.Size(34, 13);
this.labelControl5.TabIndex = 10;
this.labelControl5.Text = "Độ khó";
//
// labelControl6
//
this.labelControl6.Location = new System.Drawing.Point(66, 209);
this.labelControl6.Name = "labelControl6";
this.labelControl6.Size = new System.Drawing.Size(90, 13);
this.labelControl6.TabIndex = 11;
this.labelControl6.Text = "Số câu hỏi yêu cầu";
//
// labelControl7
//
this.labelControl7.Location = new System.Drawing.Point(61, 243);
this.labelControl7.Name = "labelControl7";
this.labelControl7.Size = new System.Drawing.Size(95, 13);
this.labelControl7.TabIndex = 13;
this.labelControl7.Text = "Số câu hỏi trong QB";
//
// RestQuestionNum
//
this.RestQuestionNum.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.tblQuizTemplateDetailEntityBindingSource, "QuestionNum", true));
this.RestQuestionNum.Enabled = false;
this.RestQuestionNum.Location = new System.Drawing.Point(180, 236);
this.RestQuestionNum.Name = "RestQuestionNum";
this.RestQuestionNum.Size = new System.Drawing.Size(94, 20);
this.RestQuestionNum.TabIndex = 12;
//
// frmWarning
//
this.Appearance.BackColor = System.Drawing.Color.White;
this.Appearance.Options.UseBackColor = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.ClientSize = new System.Drawing.Size(462, 273);
this.Controls.Add(this.labelControl7);
this.Controls.Add(this.RestQuestionNum);
this.Controls.Add(this.labelControl6);
this.Controls.Add(this.labelControl5);
this.Controls.Add(this.labelControl4);
this.Controls.Add(this.labelControl3);
this.Controls.Add(this.labelControl2);
this.Controls.Add(this.labelControl1);
this.Controls.Add(this.QuizTemplate);
this.Controls.Add(this.QuestionNum);
this.Controls.Add(this.Difficulty);
this.Controls.Add(this.Level);
this.Controls.Add(this.SubjectId);
this.Controls.Add(this.Field);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Name = "frmWarning";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Cảnh báo";
this.Load += new System.EventHandler(this.frmWarning_Load);
((System.ComponentModel.ISupportInitialize)(this.Field.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateDetailEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.SubjectId.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblSubjectEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Level.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.Difficulty.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuestionNum.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.QuizTemplate.Properties)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.tblQuizTemplateEntityBindingSource)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.RestQuestionNum.Properties)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private DevExpress.XtraEditors.TextEdit Field;
private System.Windows.Forms.BindingSource tblQuizTemplateDetailEntityBindingSource;
private DevExpress.XtraEditors.LookUpEdit SubjectId;
private System.Windows.Forms.BindingSource tblSubjectEntityBindingSource;
private DevExpress.XtraEditors.TextEdit Level;
private DevExpress.XtraEditors.TextEdit Difficulty;
private DevExpress.XtraEditors.TextEdit QuestionNum;
private DevExpress.XtraEditors.LookUpEdit QuizTemplate;
private DevExpress.XtraEditors.LabelControl labelControl1;
private DevExpress.XtraEditors.LabelControl labelControl2;
private DevExpress.XtraEditors.LabelControl labelControl3;
private DevExpress.XtraEditors.LabelControl labelControl4;
private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.LabelControl labelControl6;
private DevExpress.XtraEditors.LabelControl labelControl7;
private System.Windows.Forms.BindingSource tblQuizTemplateEntityBindingSource;
public DevExpress.XtraEditors.TextEdit RestQuestionNum;
}
}

View File

@@ -0,0 +1,35 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Linq;
using Datalib.Linq;
using Datalib.EntityClasses;
namespace Omega.Forms
{
public partial class frmWarning : Omega.BasicForms.frmCommon
{
public TblQuizTemplateDetailEntity QuizTemplateDetai { get; set; }
public frmWarning()
{
InitializeComponent();
}
private void frmWarning_Load(object sender, EventArgs e)
{
LinqMetaData Meta = new LinqMetaData(adapter);
this.SubjectId.Properties.DataSource = (from q in Meta.TblSubject select q).ToList();
this.QuizTemplate.Properties.DataSource = (from q in Meta.TblQuizTemplate select q).ToList();
}
public override void LoadData()
{
this.tblQuizTemplateDetailEntityBindingSource.DataSource = QuizTemplateDetai;
base.LoadData();
}
}
}

View File

@@ -0,0 +1,129 @@
<?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>
<metadata name="tblQuizTemplateDetailEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 33</value>
</metadata>
<metadata name="tblSubjectEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>300, 33</value>
</metadata>
<metadata name="tblQuizTemplateEntityBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>516, 33</value>
</metadata>
</root>

359
omegapro/Omega/Omega.csproj Normal file
View File

@@ -0,0 +1,359 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9B18E50C-428E-4617-9858-C33BE0486C9F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Omega</RootNamespace>
<AssemblyName>Omega</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject>Omega.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Treetog-I-Documents.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Drawing.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Data.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Docs.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Office.v22.1.Core, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Pdf.v22.1.Core, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.RichEdit.v22.1.Export, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Printing.v22.1.Core, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.RichEdit.v22.1.Core, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Data.Desktop.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Utils.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraBars.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraGauges.v22.1.Win, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraGrid.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraLayout.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Pdf.v22.1.Drawing, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPdfViewer.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPrinting.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Images.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraRichEdit.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Open XML SDK\V2.5\lib\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="SD.LLBLGen.Pro.ORMSupportClasses, Version=5.7.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="BasicsControls\usrCommon.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="BasicsControls\usrCommon.designer.cs">
<DependentUpon>usrCommon.cs</DependentUpon>
</Compile>
<Compile Include="BasicsForms\frmCommon.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="BasicsForms\frmCommon.designer.cs">
<DependentUpon>frmCommon.cs</DependentUpon>
</Compile>
<Compile Include="Classes\clsCommon.cs" />
<Compile Include="Classes\clsSettingInfo.cs" />
<Compile Include="Classes\FingerPrint.cs" />
<Compile Include="Classes\Quiz.cs" />
<Compile Include="Classes\Utilities.cs" />
<Compile Include="Forms\frmChangePass.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmChangePass.designer.cs">
<DependentUpon>frmChangePass.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmCreateQuiz.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmCreateQuiz.Designer.cs">
<DependentUpon>frmCreateQuiz.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmEditQuestion.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmEditQuestion.designer.cs">
<DependentUpon>frmEditQuestion.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmLogin.designer.cs">
<DependentUpon>frmLogin.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmPDFViewer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmPDFViewer.Designer.cs">
<DependentUpon>frmPDFViewer.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuestionBank.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuestionBank.Designer.cs">
<DependentUpon>frmQuestionBank.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuestionImport.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuestionImport.Designer.cs">
<DependentUpon>frmQuestionImport.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuizMan.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuizMan.Designer.cs">
<DependentUpon>frmQuizMan.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuizTemplate.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuizTemplate.Designer.cs">
<DependentUpon>frmQuizTemplate.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmSettings.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmSettings.designer.cs">
<DependentUpon>frmSettings.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmShowSaveInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmShowSaveInfo.designer.cs">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmDirectories.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmDirectories.Designer.cs">
<DependentUpon>frmDirectories.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmViewOpenXMLContent.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmViewOpenXMLContent.Designer.cs">
<DependentUpon>frmViewOpenXMLContent.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmWarning.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmWarning.Designer.cs">
<DependentUpon>frmWarning.cs</DependentUpon>
</Compile>
<Compile Include="frmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMain.Designer.cs">
<DependentUpon>frmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="BasicsControls\usrCommon.resx">
<DependentUpon>usrCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BasicsForms\frmCommon.resx">
<DependentUpon>frmCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BasicsForms\frmCommon.vi-VN.resx">
<DependentUpon>frmCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmChangePass.resx">
<DependentUpon>frmChangePass.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmChangePass.vi-VN.resx">
<DependentUpon>frmChangePass.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmCreateQuiz.resx">
<DependentUpon>frmCreateQuiz.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmEditQuestion.resx">
<DependentUpon>frmEditQuestion.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmLogin.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmLogin.vi-VN.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmPDFViewer.resx">
<DependentUpon>frmPDFViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuestionBank.resx">
<DependentUpon>frmQuestionBank.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuestionImport.resx">
<DependentUpon>frmQuestionImport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuizMan.resx">
<DependentUpon>frmQuizMan.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuizTemplate.resx">
<DependentUpon>frmQuizTemplate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmSettings.resx">
<DependentUpon>frmSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmSettings.vi-VN.resx">
<DependentUpon>frmSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmShowSaveInfo.resx">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmShowSaveInfo.vi-VN.resx">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmDirectories.resx">
<DependentUpon>frmDirectories.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmViewOpenXMLContent.resx">
<DependentUpon>frmViewOpenXMLContent.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmWarning.resx">
<DependentUpon>frmWarning.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmMain.resx">
<DependentUpon>frmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\DataSources\Datalib.EntityClasses.TblFieldEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuestionEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizTemplateDetailEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizTemplateEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblSubjectEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblTrainingTypeEntity.datasource" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Datalib\DatabaseGeneric\Datalib.csproj">
<Project>{ebb932a0-0c25-40e3-8db3-1dc684c014ba}</Project>
<Name>Datalib</Name>
</ProjectReference>
<ProjectReference Include="..\Datalib\DatabaseSpecific\DatalibDBSpecific.csproj">
<Project>{45bdb333-1cb0-4b86-a94a-8ddb80037848}</Project>
<Name>DatalibDBSpecific</Name>
</ProjectReference>
<ProjectReference Include="..\PowerTools\OpenXml Power Tools.csproj">
<Project>{4470e36f-6b56-4740-8da3-685a13efde58}</Project>
<Name>OpenXml Power Tools</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<Content Include="Treetog-I-Documents.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,358 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{9B18E50C-428E-4617-9858-C33BE0486C9F}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Omega</RootNamespace>
<AssemblyName>Omega</AssemblyName>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<IsWebBootstrapper>false</IsWebBootstrapper>
<PublishUrl>publish\</PublishUrl>
<Install>true</Install>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup>
<StartupObject>Omega.Program</StartupObject>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>Treetog-I-Documents.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Docs.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Office.v20.1.Core, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Pdf.v20.1.Core, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.RichEdit.v20.1.Export, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Printing.v20.1.Core, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.RichEdit.v20.1.Core, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Data.Desktop.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Utils.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraBars.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraGauges.v20.1.Win, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraGrid.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraLayout.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Pdf.v20.1.Drawing, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPdfViewer.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPrinting.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
<Reference Include="DevExpress.Images.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraRichEdit.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DocumentFormat.OpenXml, Version=2.5.5631.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\Program Files (x86)\Open XML SDK\V2.5\lib\DocumentFormat.OpenXml.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
<EmbedInteropTypes>True</EmbedInteropTypes>
</Reference>
<Reference Include="SD.LLBLGen.Pro.ORMSupportClasses, Version=5.7.0.0, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Management" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="BasicsControls\usrCommon.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="BasicsControls\usrCommon.designer.cs">
<DependentUpon>usrCommon.cs</DependentUpon>
</Compile>
<Compile Include="BasicsForms\frmCommon.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="BasicsForms\frmCommon.designer.cs">
<DependentUpon>frmCommon.cs</DependentUpon>
</Compile>
<Compile Include="Classes\clsCommon.cs" />
<Compile Include="Classes\clsSettingInfo.cs" />
<Compile Include="Classes\FingerPrint.cs" />
<Compile Include="Classes\Quiz.cs" />
<Compile Include="Classes\Utilities.cs" />
<Compile Include="Forms\frmChangePass.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmChangePass.designer.cs">
<DependentUpon>frmChangePass.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmCreateQuiz.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmCreateQuiz.Designer.cs">
<DependentUpon>frmCreateQuiz.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmEditQuestion.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmEditQuestion.designer.cs">
<DependentUpon>frmEditQuestion.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmLogin.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmLogin.designer.cs">
<DependentUpon>frmLogin.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmPDFViewer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmPDFViewer.Designer.cs">
<DependentUpon>frmPDFViewer.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuestionBank.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuestionBank.Designer.cs">
<DependentUpon>frmQuestionBank.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuestionImport.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuestionImport.Designer.cs">
<DependentUpon>frmQuestionImport.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuizMan.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuizMan.Designer.cs">
<DependentUpon>frmQuizMan.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmQuizTemplate.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmQuizTemplate.Designer.cs">
<DependentUpon>frmQuizTemplate.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmSettings.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmSettings.designer.cs">
<DependentUpon>frmSettings.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmShowSaveInfo.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmShowSaveInfo.designer.cs">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmDirectories.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmDirectories.Designer.cs">
<DependentUpon>frmDirectories.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmViewOpenXMLContent.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmViewOpenXMLContent.Designer.cs">
<DependentUpon>frmViewOpenXMLContent.cs</DependentUpon>
</Compile>
<Compile Include="Forms\frmWarning.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\frmWarning.Designer.cs">
<DependentUpon>frmWarning.cs</DependentUpon>
</Compile>
<Compile Include="frmMain.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="frmMain.Designer.cs">
<DependentUpon>frmMain.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="BasicsControls\usrCommon.resx">
<DependentUpon>usrCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BasicsForms\frmCommon.resx">
<DependentUpon>frmCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BasicsForms\frmCommon.vi-VN.resx">
<DependentUpon>frmCommon.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmChangePass.resx">
<DependentUpon>frmChangePass.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmChangePass.vi-VN.resx">
<DependentUpon>frmChangePass.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmCreateQuiz.resx">
<DependentUpon>frmCreateQuiz.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmEditQuestion.resx">
<DependentUpon>frmEditQuestion.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmLogin.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmLogin.vi-VN.resx">
<DependentUpon>frmLogin.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmPDFViewer.resx">
<DependentUpon>frmPDFViewer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuestionBank.resx">
<DependentUpon>frmQuestionBank.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuestionImport.resx">
<DependentUpon>frmQuestionImport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuizMan.resx">
<DependentUpon>frmQuizMan.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmQuizTemplate.resx">
<DependentUpon>frmQuizTemplate.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmSettings.resx">
<DependentUpon>frmSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmSettings.vi-VN.resx">
<DependentUpon>frmSettings.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmShowSaveInfo.resx">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmShowSaveInfo.vi-VN.resx">
<DependentUpon>frmShowSaveInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmDirectories.resx">
<DependentUpon>frmDirectories.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmViewOpenXMLContent.resx">
<DependentUpon>frmViewOpenXMLContent.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\frmWarning.resx">
<DependentUpon>frmWarning.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="frmMain.resx">
<DependentUpon>frmMain.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="Properties\DataSources\Datalib.EntityClasses.TblFieldEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuestionEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizTemplateDetailEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblQuizTemplateEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblSubjectEntity.datasource" />
<None Include="Properties\DataSources\Datalib.EntityClasses.TblTrainingTypeEntity.datasource" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<None Include="App.config">
<SubType>Designer</SubType>
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="Controls\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Datalib\DatabaseGeneric\Datalib.csproj">
<Project>{ebb932a0-0c25-40e3-8db3-1dc684c014ba}</Project>
<Name>Datalib</Name>
</ProjectReference>
<ProjectReference Include="..\Datalib\DatabaseSpecific\DatalibDBSpecific.csproj">
<Project>{45bdb333-1cb0-4b86-a94a-8ddb80037848}</Project>
<Name>DatalibDBSpecific</Name>
</ProjectReference>
<ProjectReference Include="..\PowerTools\OpenXml Power Tools.csproj">
<Project>{4470e36f-6b56-4740-8da3-685a13efde58}</Project>
<Name>OpenXml Power Tools</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.5">
<Visible>False</Visible>
<ProductName>Microsoft .NET Framework 4.5 %28x86 and x64%29</ProductName>
<Install>true</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
<Install>false</Install>
</BootstrapperPackage>
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
<Visible>False</Visible>
<ProductName>.NET Framework 3.5 SP1</ProductName>
<Install>false</Install>
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<WCFMetadata Include="Service References\" />
</ItemGroup>
<ItemGroup>
<Content Include="Treetog-I-Documents.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishUrlHistory />
<InstallUrlHistory />
<SupportUrlHistory />
<UpdateUrlHistory />
<BootstrapperUrlHistory />
<ErrorReportUrlHistory />
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
</Project>

24
omegapro/Omega/Program.cs Normal file
View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Omega
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
SettingInfo.InitInfo();
Application.Run(new frmMain());
}
}
}

View File

@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Omega")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Omega")]
[assembly: AssemblyCopyright("Copyright © 2014")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("5f7e8303-e7f6-4ead-a31d-08d6bfaa9289")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblFieldEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblFieldEntity, Datalib, Version=1.0.5244.29296, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblQuestionEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblQuestionEntity, Datalib, Version=1.0.5231.35913, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblQuizEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblQuizEntity, Datalib, Version=1.0.5248.18339, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblQuizTemplateDetailEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblQuizTemplateDetailEntity, Datalib, Version=1.0.5244.29296, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblQuizTemplateEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblQuizTemplateEntity, Datalib, Version=1.0.5244.29296, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblSubjectEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblSubjectEntity, Datalib, Version=1.0.5243.37338, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
This file is automatically generated by Visual Studio .Net. It is
used to store generic object data source configuration information.
Renaming the file extension or editing the content of this file may
cause the file to be unrecognizable by the program.
-->
<GenericObjectDataSource DisplayName="TblTrainingTypeEntity" Version="1.0" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<TypeInfo>Datalib.EntityClasses.TblTrainingTypeEntity, Datalib, Version=1.0.5244.29296, Culture=neutral, PublicKeyToken=null</TypeInfo>
</GenericObjectDataSource>

View File

@@ -0,0 +1,63 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Omega.Properties {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Omega.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
}
}

View File

@@ -0,0 +1,117 @@
<?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.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: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" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</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" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@@ -0,0 +1,26 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Omega.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.2.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default {
get {
return defaultInstance;
}
}
}
}

View File

@@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

View File

@@ -0,0 +1,5 @@
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit, DevExpress.XtraEditors.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraRichEdit.RichEditControl, DevExpress.XtraRichEdit.v22.1, Version=22.1.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -0,0 +1,10 @@
DevExpress.XtraEditors.LookUpEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.ButtonEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraPdfViewer.PdfViewer, DevExpress.XtraPdfViewer.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraRichEdit.RichEditControl, DevExpress.XtraRichEdit.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.Repository.RepositoryItemComboBox, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraBars.BarManager, DevExpress.XtraBars.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraGrid.GridControl, DevExpress.XtraGrid.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.TextEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a
DevExpress.XtraEditors.ImageComboBoxEdit, DevExpress.XtraEditors.v20.1, Version=20.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

View File

@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<configuration>
<connectionStrings>
<!-- please adjust the connection string embedded in the element below to target the proper catalog / server using the proper user / password combination -->
<add name="ConnectionString.MS Access (OleDb)" connectionString="Provider=Microsoft.Jet.OLEDB.4.0;Data Source=I:\projects\OmegaPro\Database\Data.mdb;User Id=;Password=;Jet OLEDB:System Database=;Jet OLEDB:Database password="/>
</connectionStrings>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/></startup></configuration>

Binary file not shown.

View File

@@ -0,0 +1,137 @@
<?xml version="1.0" encoding="utf-8"?>
<doc xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<assembly>
<name>DevExpress.Charts.v22.1.Core</name>
</assembly>
<members>
<member name="N:DevExpress.Charts.Heatmap">
<summary>
<para>Contains classes that the Heatmap Control for WinForms and Heatmap Control for WPF require to function.</para>
</summary>
</member>
<member name="T:DevExpress.Charts.Heatmap.HeatmapCell">
<summary>
<para>Contains heatmap cell arguments and value.</para>
</summary>
</member>
<member name="P:DevExpress.Charts.Heatmap.HeatmapCell.ColorValue">
<summary>
<para>Returns a cell color or value that is used to determine a color.</para>
</summary>
<value>An object that is used to apply a color to the cell.</value>
</member>
<member name="M:DevExpress.Charts.Heatmap.HeatmapCell.Equals(DevExpress.Charts.Heatmap.HeatmapCell)">
<summary />
<param name="heatmapCell"></param>
<returns></returns>
</member>
<member name="M:DevExpress.Charts.Heatmap.HeatmapCell.Equals(System.Object)">
<summary />
<param name="obj"></param>
<returns></returns>
</member>
<member name="M:DevExpress.Charts.Heatmap.HeatmapCell.GetHashCode">
<summary />
<returns></returns>
</member>
<member name="P:DevExpress.Charts.Heatmap.HeatmapCell.Tag">
<summary>
<para>Returns additional information that is related to the heatmap cell.</para>
</summary>
<value>An object that contains data about the heatmap cell.</value>
</member>
<member name="P:DevExpress.Charts.Heatmap.HeatmapCell.XArgument">
<summary>
<para>Returns a heatmap cell argument for an x-axis.</para>
</summary>
<value>The heatmap cell x-argument.</value>
</member>
<member name="P:DevExpress.Charts.Heatmap.HeatmapCell.YArgument">
<summary>
<para>Returns a heatmap cell argument for a y-axis.</para>
</summary>
<value>The heatmap cell y-argument.</value>
</member>
<member name="N:DevExpress.Charts.Sankey">
<summary>
<para>Contains members used to plot Sankey diagrams.</para>
</summary>
</member>
<member name="T:DevExpress.Charts.Sankey.ISankeyLinkLayoutItem">
<summary>
<para>For internal use.</para>
</summary>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyLinkLayoutItem.Source">
<summary>
<para>Returns the links source node.</para>
</summary>
<value>The links source node.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyLinkLayoutItem.Target">
<summary>
<para>Returns the links target node.</para>
</summary>
<value>The links target node.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyLinkLayoutItem.Weight">
<summary>
<para>Returns the weight of the link.</para>
</summary>
<value>The weight of the link.</value>
</member>
<member name="T:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem">
<summary>
<para>Is used in the <see cref="M:DevExpress.XtraCharts.Sankey.SankeyLayoutAlgorithmBase.CalculateNodeBounds(System.Collections.Generic.IEnumerable{DevExpress.Charts.Sankey.ISankeyNodeLayoutItem},System.Drawing.Rectangle)"/> method.</para>
</summary>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.Bounds">
<summary>
<para>Specifies node bounds.</para>
</summary>
<value>Node bounds.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.InputLinks">
<summary>
<para>Returns a collection of Sankey node input links.</para>
</summary>
<value>A collection that contains links for which the node is the target node.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.LevelIndex">
<summary>
<para>Returns a value that specifies the node level.</para>
</summary>
<value>A zero-based value that specifies the node level.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.OutputLinks">
<summary>
<para>Returns a collection of Sankey node output links.</para>
</summary>
<value>A collection that contains links for which the node is the source node.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.SourceWeight">
<summary>
<para>Returns the summarized weight of all links for which the current node is the source.</para>
</summary>
<value>The summarized weight of all links for which the current node is the source.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.Tag">
<summary>
<para>Returns a data source object that is used to create the node.</para>
</summary>
<value>A data source object that is used to create the node.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.TargetWeight">
<summary>
<para>Returns the summarized weight of all links for which the current node is the target.</para>
</summary>
<value>The summarized weight of all links for which the current node is the target.</value>
</member>
<member name="P:DevExpress.Charts.Sankey.ISankeyNodeLayoutItem.TotalWeight">
<summary>
<para>Returns the maximum value between the source and target weights of the node.</para>
</summary>
<value>The maximum value between the source and target weights of the node.</value>
</member>
</members>
</doc>

View File

@@ -0,0 +1,831 @@
<?xml version="1.0" encoding="utf-8"?>
<doc xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<assembly>
<name>DevExpress.Data.Desktop.v20.1</name>
</assembly>
<members>
<member name="N:DevExpress.Data.Camera">
<summary>
<para>Provides types that describe video capture devices and video properties.</para>
</summary>
</member>
<member name="T:DevExpress.Data.Camera.CameraDeviceBase">
<summary>
<para>The base class for classes that describe video capture devices.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.#ctor(DevExpress.Data.Camera.CameraDeviceInfo)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.Camera.CameraDeviceBase"/> class with the specified settings.</para>
</summary>
<param name="deviceInfo">An object that comprises system information about the video capture device.</param>
</member>
<member name="P:DevExpress.Data.Camera.CameraDeviceBase.DeviceMoniker">
<summary>
<para>Gets the string representation of the moniker for the current device.</para>
</summary>
<value>A String value that specifies the string representation of the moniker for the current device.</value>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.Dispose">
<summary>
<para>Disposes of the current object and releases all the allocated resources.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.Equals(System.Object)">
<summary>
<para>Determines whether the specified object is equal to the current object.</para>
</summary>
<param name="obj">The object to compare with the current object.</param>
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.GetAvailableResolutions">
<summary>
<para>Returns the list of video resolutions available on the current device.</para>
</summary>
<returns>The list of video resolutions available on the current device.</returns>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.GetAvailiableResolutions">
<summary>
<para>Returns the list of video resolutions available on the current device.</para>
</summary>
<returns>The list of video resolutions available on the current device.</returns>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.GetHashCode">
<summary>
<para>Returns the hash code for the current <see cref="T:DevExpress.Data.Camera.CameraDeviceBase"/> object.</para>
</summary>
<returns>The hash code for the current <see cref="T:DevExpress.Data.Camera.CameraDeviceBase"/> object.</returns>
</member>
<member name="P:DevExpress.Data.Camera.CameraDeviceBase.IsBusy">
<summary>
<para>Gets whether the video capture device is already in use in another application.</para>
</summary>
<value>true, the video capture device is already in use in another application; otherwise, false.</value>
</member>
<member name="P:DevExpress.Data.Camera.CameraDeviceBase.IsRunning">
<summary>
<para>Gets whether the device is currently capturing video.</para>
</summary>
<value>true, if the device is currently capturing video; otherwise, false.</value>
</member>
<member name="P:DevExpress.Data.Camera.CameraDeviceBase.Name">
<summary>
<para>Gets the UI display name of the video capture device.</para>
</summary>
<value>A String value that specifies the UI display name of the video capture device.</value>
</member>
<member name="P:DevExpress.Data.Camera.CameraDeviceBase.Resolution">
<summary>
<para>Gets or sets the resolution of a video stream captured by the current device.</para>
</summary>
<value>A <see cref="T:System.Drawing.Size"/> structure that specifies the resolution of a video stream captured by the current device.</value>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.SetClient(DevExpress.Data.Camera.Interfaces.ICameraDeviceClient)">
<summary>
<para>Sets the ICameraDeviceClient object that processes the video from the current capture device.</para>
</summary>
<param name="client">An ICameraDeviceClient object that processes the video from the current capture device.</param>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.Start">
<summary>
<para>Starts capturing video from the current device.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.Stop">
<summary>
<para>Stops capturing video from the current device.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.TakeSnapshot">
<summary>
<para>Returns the video frame currently captured by the device.</para>
</summary>
<returns>A <see cref="T:System.Drawing.Bitmap"/> object that is the video frame currently captured by the device.</returns>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceBase.WndProc(System.Windows.Forms.Message@)">
<summary>
<para>Processes Windows messages.</para>
</summary>
<param name="m">The Windows Message to process.</param>
</member>
<member name="T:DevExpress.Data.Camera.CameraDeviceInfo">
<summary>
<para>Contains system information used to identify a video capture device.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceInfo.#ctor(System.String)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.Camera.CameraDeviceInfo"/> class with the specified settings.</para>
</summary>
<param name="monikerString">A String value that specifies the string representation of the moniker for the video capture device. This value is assigned to the <see cref="F:DevExpress.Data.Camera.CameraDeviceInfo.MonikerString"/> field.</param>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceInfo.#ctor(System.String,System.String)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.Camera.CameraDeviceInfo"/> class with the specified settings.</para>
</summary>
<param name="monikerString">A String value that specifies the string representation of the moniker for the video capture device. This value is assigned to the <see cref="F:DevExpress.Data.Camera.CameraDeviceInfo.MonikerString"/> field.</param>
<param name="name">A String value that specifies the UI display name of the video capture device. This value is assigned to the <see cref="F:DevExpress.Data.Camera.CameraDeviceInfo.Name"/> field.</param>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceInfo.CompareTo(System.Object)">
<summary>
<para>Compares the current instance with a specified object and indicates whether the current instance precedes, follows, or appears at the same position in the sort order as the specified object.</para>
</summary>
<param name="value">An object to compare with the current instance.</param>
<returns>An integer value that specifies whether the current instance precedes, follows, or appears at the same position in the sort order as the specified object.</returns>
</member>
<member name="F:DevExpress.Data.Camera.CameraDeviceInfo.MonikerString">
<summary>
<para>The string representation of the moniker for the video capture device.</para>
</summary>
<value></value>
</member>
<member name="F:DevExpress.Data.Camera.CameraDeviceInfo.Name">
<summary>
<para>The UI display name of the video capture device.</para>
</summary>
<value></value>
</member>
<member name="M:DevExpress.Data.Camera.CameraDeviceInfo.ToString">
<summary>
<para>Returns the UI display name of the video capture device.</para>
</summary>
<returns>A String value that is the UI display name of the video capture device.</returns>
</member>
<member name="T:DevExpress.Data.Camera.DeviceVideoProperty">
<summary>
<para>Describes a video property on a video capture device.</para>
</summary>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.Default">
<summary>
<para>Gets the default value of the video property.</para>
</summary>
<value>An <see cref="T:System.Int32"/> value that specifies the default value of the video property.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.Max">
<summary>
<para>Gets the maximum value of the video property.</para>
</summary>
<value>An <see cref="T:System.Int32"/> value that specifies the maximum value of the video property.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.Min">
<summary>
<para>Gets the minimum value of the video property.</para>
</summary>
<value>An <see cref="T:System.Int32"/> value that specifies the minimum value of the video property.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.Name">
<summary>
<para>Gets the name of the video property.</para>
</summary>
<value>A <see cref="T:System.String"/> value that specifies the name of the video property.</value>
</member>
<member name="E:DevExpress.Data.Camera.DeviceVideoProperty.PropertyChanged">
<summary>
<para>Occurs when a property value changes.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.DeviceVideoProperty.ResetToDefault">
<summary>
<para>Resets the video property value to its default.</para>
</summary>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.SteppingDelta">
<summary>
<para>Gets the step size for the video property. The step size is the smallest increment by which the property can change.</para>
</summary>
<value>An <see cref="T:System.Int32"/> value that specifies the step size for the video property.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoProperty.Value">
<summary>
<para>Gets or sets the current setting of the video property.</para>
</summary>
<value>An <see cref="T:System.Int32"/> value that specifies the current setting of the video property.</value>
</member>
<member name="T:DevExpress.Data.Camera.DeviceVideoSettings">
<summary>
<para>Provides access to the video properties on a video capture device.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.DeviceVideoSettings.#ctor(DevExpress.Data.Camera.Interfaces.ICameraDeviceClient)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.Camera.DeviceVideoSettings"/> class with the specified settings.</para>
</summary>
<param name="client">An ICameraDeviceClient object that processes the video stream received from a video capture device.</param>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.BacklightCompensation">
<summary>
<para>Provides access to the video property that specifies the backlight compensation setting.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the backlight compensation setting.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Brightness">
<summary>
<para>Provides access to the video property that specifies the brightness, also called the black level.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the brightness, also called the black level.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.ColorEnable">
<summary>
<para>Provides access to the video property that specifies the color enable setting.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the color enable setting.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Contrast">
<summary>
<para>Provides access to the video property that specifies the contrast.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the contrast.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Gain">
<summary>
<para>Provides access to the video property that specifies the gain adjustment.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the gain adjustment.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Gamma">
<summary>
<para>Provides access to the video property that specifies the gamma.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the gamma.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Hue">
<summary>
<para>Provides access to the video property that specifies the hue.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the hue.</value>
</member>
<member name="E:DevExpress.Data.Camera.DeviceVideoSettings.PropertyChanged">
<summary>
<para>Occurs when a property value changes.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Camera.DeviceVideoSettings.ResetToDefaults">
<summary>
<para>Resets the video properties to their defaults.</para>
</summary>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Saturation">
<summary>
<para>Provides access to the video property that specifies the saturation.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the saturation.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.Sharpness">
<summary>
<para>Provides access to the video property that specifies the sharpness.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the sharpness.</value>
</member>
<member name="P:DevExpress.Data.Camera.DeviceVideoSettings.WhiteBalance">
<summary>
<para>Provides access to the video property that specifies the white balance, as a color temperature in degrees Kelvin.</para>
</summary>
<value>A <see cref="T:DevExpress.Data.Camera.DeviceVideoProperty"/> object that is the video property specifying the white balance, as a color temperature in degrees Kelvin.</value>
</member>
<member name="N:DevExpress.Data.Controls">
<summary>
<para></para>
</summary>
</member>
<member name="T:DevExpress.Data.Controls.ControlRows">
<summary>
<para></para>
</summary>
</member>
<member name="F:DevExpress.Data.Controls.ControlRows.Selected">
<summary>
<para>The Chart Control visualizes data rows that are selected within a source control.</para>
</summary>
</member>
<member name="F:DevExpress.Data.Controls.ControlRows.Source">
<summary>
<para>The Chart Control visualizes a source control&#39;s all data rows.</para>
</summary>
</member>
<member name="F:DevExpress.Data.Controls.ControlRows.Visible">
<summary>
<para>The Chart Control visualizes data rows that the source control filters.</para>
</summary>
</member>
<member name="T:DevExpress.Data.Controls.ControlRowSource">
<summary>
<para></para>
</summary>
</member>
<member name="M:DevExpress.Data.Controls.ControlRowSource.#ctor">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.Controls.ControlRowSource"/> class with the default settings.</para>
</summary>
</member>
<member name="P:DevExpress.Data.Controls.ControlRowSource.Control">
<summary>
<para>Gets or sets the control that provides its data rows to another control.</para>
</summary>
<value>The control that provides its data rows to another control.</value>
</member>
<member name="P:DevExpress.Data.Controls.ControlRowSource.ControlRows">
<summary>
<para>Gets or sets the type of rows that the source control provides.</para>
</summary>
<value>The type of rows that the source control provides.</value>
</member>
<member name="E:DevExpress.Data.Controls.ControlRowSource.PropertyChanged">
<summary>
<para>Occurs every time any of the class&#39; properties has changed its value.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Controls.ControlRowSource.ReloadRows(System.Boolean)">
<summary>
<para>Reloads data rows from the source control.</para>
</summary>
<param name="raiseList">The value indicating whether the PropertyChanged event should be raised.</param>
</member>
<member name="T:DevExpress.Data.Controls.ControlRowSourceChangedEventArgs">
<summary>
<para></para>
</summary>
</member>
<member name="M:DevExpress.Data.Controls.ControlRowSourceChangedEventArgs.#ctor(DevExpress.Data.Controls.ControlRows)">
<summary>
<para>Initializes new instance of the <see cref="T:DevExpress.Data.Controls.ControlRowSourceChangedEventArgs"></see> class with the specified settings.</para>
</summary>
<param name="changedRows">The value indicating the currently provided data row type.</param>
</member>
<member name="P:DevExpress.Data.Controls.ControlRowSourceChangedEventArgs.ChangedRows">
<summary>
<para>Returns the type of changed rows.</para>
</summary>
<value>The type of changed rows.</value>
</member>
<member name="T:DevExpress.Data.Controls.ControlRowSourceChangedEventHandler">
<summary>
<para>Represents the method that will handle the <see cref="E:DevExpress.Data.Controls.IControlRowSource.Changed"/> event.</para>
</summary>
<param name="sender">An object of any type that triggers the <see cref="E:DevExpress.Data.Controls.IControlRowSource.Changed"/> event.</param>
<param name="e">Event arguments that provide data for the <see cref="E:DevExpress.XtraPrinting.PrintingSystemBase.PrintProgress"/> event.</param>
</member>
<member name="T:DevExpress.Data.Controls.IControlRowSource">
<summary>
<para></para>
</summary>
</member>
<member name="E:DevExpress.Data.Controls.IControlRowSource.Changed">
<summary>
<para>Occurs every time the data source is changed.</para>
</summary>
</member>
<member name="M:DevExpress.Data.Controls.IControlRowSource.GetRows(DevExpress.Data.Controls.ControlRows)">
<summary>
<para>Returns data rows of the specified row type.</para>
</summary>
<param name="rows">The requested row type.</param>
<returns>Data rows of the specified row type.</returns>
</member>
<member name="P:DevExpress.Data.Controls.IControlRowSource.RowSource">
<summary>
<para>Returns the data row source.</para>
</summary>
<value>The data row source.</value>
</member>
<member name="N:DevExpress.Data.TreeList">
<summary>
<para>Contains classes that provide the TreeList control functionality common to multiple platforms.</para>
</summary>
</member>
<member name="T:DevExpress.Data.TreeList.TreeListNodeBase">
<summary>
<para>Serves as a base for classes that represent TreeList nodes.</para>
</summary>
</member>
<member name="M:DevExpress.Data.TreeList.TreeListNodeBase.#ctor">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.TreeList.TreeListNodeBase"/> class.</para>
</summary>
</member>
<member name="M:DevExpress.Data.TreeList.TreeListNodeBase.#ctor(System.Object)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Data.TreeList.TreeListNodeBase"/> class with the specified content.</para>
</summary>
<param name="content">An object that specifies the node&#39;s content. This value is assigned to the <see cref="P:DevExpress.Data.TreeList.TreeListNodeBase.Content"/> property.</param>
</member>
<member name="M:DevExpress.Data.TreeList.TreeListNodeBase.CollapseAll">
<summary>
<para>Collapses all child nodes.</para>
</summary>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.Content">
<summary>
<para>Gets or sets the node&#39;s content.</para>
</summary>
<value>An object that specifies the node&#39;s content.</value>
</member>
<member name="M:DevExpress.Data.TreeList.TreeListNodeBase.ExpandAll">
<summary>
<para>Expands all child nodes.</para>
</summary>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.HasChildren">
<summary>
<para>Gets whether or not the node has a child node(s).</para>
</summary>
<value>true if the node has a child node(s); otherwise, false.</value>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.Id">
<summary>
<para>Uniquely identifies the current tree node.</para>
</summary>
<value>The current node&#39;s unique identifier.</value>
</member>
<member name="M:DevExpress.Data.TreeList.TreeListNodeBase.IsDescendantOf(DevExpress.Data.TreeList.TreeListNodeBase)">
<summary>
<para>Indicates whether the current node belongs to the specified branch node.</para>
</summary>
<param name="node">The <see cref="T:DevExpress.Data.TreeList.TreeListNodeBase"/> object.</param>
<returns>true if the specified branch node contains the current node; otherwise, false.</returns>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.IsExpanded">
<summary>
<para>Gets or sets whether or not the node is expanded.</para>
</summary>
<value>true to expand the node; otherwise, false.</value>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.IsFiltered">
<summary>
<para>Gets whether the node is filtered or not.</para>
</summary>
<value>true the node is filtered; otherwise, false.</value>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.IsVisible">
<summary>
<para>Gets whether the treelist node is visible.</para>
</summary>
<value>true, if the current node is visible; otherwise, false.</value>
</member>
<member name="E:DevExpress.Data.TreeList.TreeListNodeBase.PropertyChanged">
<summary>
<para>Occurs every time any of the <see cref="P:DevExpress.Data.TreeList.TreeListNodeBase.Content"/> and <see cref="P:DevExpress.Data.TreeList.TreeListNodeBase.IsExpanded"/> properties have changed their value.</para>
</summary>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.RowHandle">
<summary>
<para>Gets the row handle that identifies the node.</para>
</summary>
<value>An integer value that specifies the row handle.</value>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.Tag">
<summary>
<para>Gets or sets the data associated with the node.</para>
</summary>
<value>An object that contains information associated with the current node.</value>
</member>
<member name="P:DevExpress.Data.TreeList.TreeListNodeBase.VisibleIndex">
<summary>
<para>Gets the node&#39;s position within a View among visible nodes.</para>
</summary>
<value>An integer value that specifies the node&#39;s position among visible nodes. -1 if the node is hidden.</value>
</member>
<member name="N:DevExpress.Printing">
<summary>
<para>Contains classes that provide the basic printing functionality.</para>
</summary>
</member>
<member name="T:DevExpress.Printing.PrinterItem">
<summary>
<para>Provides settings for a printer.</para>
</summary>
</member>
<member name="M:DevExpress.Printing.PrinterItem.#ctor(System.Printing.PrintQueue,System.Boolean,System.Boolean,System.Boolean,System.Boolean)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Printing.PrinterItem"/> class with specified settings.</para>
</summary>
<param name="printQueue"></param>
<param name="isFax"></param>
<param name="isNetwork"></param>
<param name="isDefault"></param>
<param name="isOffline"></param>
</member>
<member name="M:DevExpress.Printing.PrinterItem.#ctor(System.String,System.String,System.String,System.String,System.String,DevExpress.Printing.Native.PrintEditor.PrinterStatus)">
<summary>
<para>Initializes a new instance of the <see cref="T:DevExpress.Printing.PrinterItem"/> class with specified settings.</para>
</summary>
<param name="fullName"></param>
<param name="displayName"></param>
<param name="location"></param>
<param name="comment"></param>
<param name="printerDocumentsInQueue"></param>
<param name="status"></param>
</member>
<member name="P:DevExpress.Printing.PrinterItem.Comment">
<summary>
<para>Gets a comment about a printer.</para>
</summary>
<value>A string that specifies the comment about the printer.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.DisplayName">
<summary>
<para>Gets the printer display name.</para>
</summary>
<value>A string that specifies the printer display name.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.FullName">
<summary>
<para>Gets the printer full name.</para>
</summary>
<value>A string that specifies the printer name.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.Location">
<summary>
<para>Gets the printer location.</para>
</summary>
<value>A string that specifies the printer location.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.PrinterDocumentsInQueue">
<summary>
<para>Gets information on documents in the print queue.</para>
</summary>
<value>A string that specifies the documents in the print queue.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.PrinterType">
<summary>
<para>Gets the printer type.</para>
</summary>
<value>The printer type.</value>
</member>
<member name="P:DevExpress.Printing.PrinterItem.Status">
<summary>
<para>Gets the printer status.</para>
</summary>
<value>A string that specifies the printer status.</value>
</member>
<member name="N:DevExpress.Xpf.Core">
<summary>
<para>Contains common utility classes used by WPF controls and components from DevExpress.</para>
</summary>
</member>
<member name="T:DevExpress.Xpf.Core.ApplicationThemeHelper">
<summary>
<para>An abstract class that provides access to an application&#39;s theme settings.</para>
</summary>
</member>
<member name="P:DevExpress.Xpf.Core.ApplicationThemeHelper.ApplicationThemeName">
<summary>
<para>Gets or sets the name of the theme applied to the entire application.</para>
</summary>
<value>A <see cref="T:System.String"/> value that specifies the theme name.</value>
</member>
<member name="P:DevExpress.Xpf.Core.ApplicationThemeHelper.ConfigurationUserLevel">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="M:DevExpress.Xpf.Core.ApplicationThemeHelper.SaveApplicationThemeName">
<summary>
<para>Saves the current theme name to the application configuration file.</para>
</summary>
</member>
<member name="M:DevExpress.Xpf.Core.ApplicationThemeHelper.UpdateApplicationThemeName">
<summary>
<para>Loads the theme name from the application configuration file.</para>
</summary>
</member>
<member name="P:DevExpress.Xpf.Core.ApplicationThemeHelper.UseDefaultSvgImages">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.ApplicationThemeHelper.UseLegacyDefaultTheme">
<summary>
<para>Specifies whether the application should use the legacy default theme (&quot;DeepBlue&quot;).</para>
</summary>
<value></value>
</member>
<member name="T:DevExpress.Xpf.Core.CompatibilityMode">
<summary>
<para>Lists the values that specify the compatibility settings version.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.Latest">
<summary>
<para>The DevExpress WPF controls function like in the latest version.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v17_2">
<summary>
<para>The DevExpress WPF controls function like in v17.2.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v18_1">
<summary>
<para>The DevExpress WPF controls function like in v18.1.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v18_2">
<summary>
<para>The DevExpress WPF controls function like in v18.2.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v19_1">
<summary>
<para>The DevExpress WPF controls function like in v19.1.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v19_2">
<summary>
<para>The DevExpress WPF controls function like in v19.2.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.CompatibilityMode.v20_1">
<summary>
<para>The DevExpress WPF controls function like in v20.1.</para>
</summary>
</member>
<member name="T:DevExpress.Xpf.Core.CompatibilitySettings">
<summary>
<para>Provides access to compatibility settings.</para>
</summary>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.AllowEditValueBindingInInplaceEditors">
<summary>
<para>Gets or sets whether the GridControl&#39;s logic of getting/setting the editor&#39;s value is enabled.</para>
</summary>
<value>true, if the GridControl&#39;s logic of getting/setting the editor&#39;s value is enabled; otherwise, false.The default value is true.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.AllowGlyphRunRenderingInInplaceEditors">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.AllowRecyclingRibbonItems">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.CompatibilityMode">
<summary>
<para>Gets or sets the controls&#39; compatibility mode.</para>
</summary>
<value>A compatibility mode.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.ConvertOccurrenceToNormalWhenDragBetweenResources">
<summary>
<para>Specifies whether a recurring appointment is converted to a normal appointment when an end-user drags and drops it to another resource.</para>
</summary>
<value>True, if a recurring appointment is converted to normal after a drag-and-drop operation to another resource; otherwise, false. Default is false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.DXBindingResolvingMode">
<summary>
<para>Gets or sets a value that specifies how the DXBinding (DXEvent, DXCommand) markup extensions resolve input expressions.</para>
</summary>
<value>Any of the <see cref="T:DevExpress.Xpf.Core.DXBindingResolvingMode"/> enumeration values.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.EnableDPICorrection">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.LegacyDefaultTheme">
<summary>
<para>Specifies a legacy default theme which the application should use.</para>
</summary>
<value>A legacy default theme.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.MakeGetWindowReturnActualFloatPanelWindow">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.MaskUpdateSelectionOnMouseUp">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.RenderPDFPageContentWithDirectX">
<summary>
<para>Gets or sets whether to render page content with DirectX.</para>
</summary>
<value>true, to enable DirectX page content rendering; false, to render page content with GDI/GDI+. The default is true.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.SchedulerAppearanceStyle">
<summary>
<para>Gets or sets the SchedulerControl UI style.</para>
</summary>
<value>By default, Outlook2019.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.TrackBarEditIsMoveToPointEnabled">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseDateNavigatorInDateEdit">
<summary>
<para>Specifies whether to use the <see cref="T:DevExpress.Xpf.Editors.DateNavigator.DateNavigator"/> control to render the <see cref="T:DevExpress.Xpf.Editors.DateEdit"/>&#39;s dropdown window.</para>
</summary>
<value>true to use the DateNavigator in the DateEdit&#39;s dropdown; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseFriendlyDateRangePresentation">
<summary>
<para>Gets or sets whether the Between Dates and On Dates date operators are used.</para>
</summary>
<value>true, to use the Between Dates and On Dates date operators; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacyCalendarInDateNavigator">
<summary>
<para>Gets or sets whether the legacy calendar is used in the <see cref="T:DevExpress.Xpf.Editors.DateNavigator.DateNavigator"/>.</para>
</summary>
<value>true, to use the legacy calendar; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacyColumnFilterPopup">
<summary>
<para>Gets or sets whether the legacy drop-down filter is used.</para>
</summary>
<value>true, to use the legacy drop-down filter; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacyDeleteButtonInButtonEdit">
<summary>
<para>Gets or sets whether to use the legacy Null Value button in the ButtonEdit editor and its descendants.</para>
</summary>
<value>true, to use the legacy Null Value button; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacyFilterEditor">
<summary>
<para>Gets or sets whether the legacy filter editor is used.</para>
</summary>
<value>true, to use the legacy filter editor; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacyFilterPanel">
<summary>
<para>Gets or sets whether the legacy filter panel is used.</para>
</summary>
<value>true, to use the legacy filter panel; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLegacySchedulerCellDecoration">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLightweightBarItems">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseLightweightTemplatesInStandardButtons">
<summary>
<para></para>
</summary>
<value></value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseThemedMessageBoxInServices">
<summary>
<para>Gets or sets whether to use the ThemedMessageBox instead of DXMessageBox in WindowService, DialogService, and WindowedDocumentUIService.</para>
</summary>
<value>true, to use the ThemedMessageBox; otherwise, false.</value>
</member>
<member name="P:DevExpress.Xpf.Core.CompatibilitySettings.UseThemedWindowInServices">
<summary>
<para>Gets or sets whether to use the <see cref="T:DevExpress.Xpf.Core.ThemedWindow"/> instead of <see cref="T:DevExpress.Xpf.Core.DXWindow"/> in WindowService, DialogService, and WindowedDocumentUIService.</para>
</summary>
<value>true, to use the <see cref="T:DevExpress.Xpf.Core.ThemedWindow"/>; otherwise, false.</value>
</member>
<member name="T:DevExpress.Xpf.Core.DXBindingResolvingMode">
<summary>
<para>Lists values that specify how the DXBinding (DXEvent, DXCommand) markup extensions resolve input expressions.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.DXBindingResolvingMode.DynamicTyping">
<summary>
<para>The DXBinding, DXCommand and DXEvent markup extensions interpret their expressions that allows them using dynamic typization, so you do no need to cast values.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.DXBindingResolvingMode.LegacyStaticTyping">
<summary>
<para>The DXBinding, DXCommand and DXEvent markup extensions compile their expressions thus using static typization, so you do need to cast values.</para>
</summary>
</member>
<member name="T:DevExpress.Xpf.Core.LegacyDefaultTheme">
<summary>
<para>Lists legacy default themes.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.LegacyDefaultTheme.DeepBlue">
<summary>
<para>The DeepBlue legacy default theme. The theme was default in the v16.1 WPF Controls and prior.</para>
</summary>
</member>
<member name="F:DevExpress.Xpf.Core.LegacyDefaultTheme.Office2016White">
<summary>
<para>The Office2016White legacy default theme. The theme was default in the v20.1 WPF Controls and prior.</para>
</summary>
</member>
</members>
</doc>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More