agree popup 추가
This commit is contained in:
101
AlertPopup.Designer.cs
generated
Normal file
101
AlertPopup.Designer.cs
generated
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
namespace friction
|
||||||
|
{
|
||||||
|
partial class AlertPopup
|
||||||
|
{
|
||||||
|
/// <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(AlertPopup));
|
||||||
|
this.tbAlert = new System.Windows.Forms.RichTextBox();
|
||||||
|
this.chAgree = new System.Windows.Forms.CheckBox();
|
||||||
|
this.btnOK = new System.Windows.Forms.Button();
|
||||||
|
this.btnCancel = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// tbAlert
|
||||||
|
//
|
||||||
|
this.tbAlert.Location = new System.Drawing.Point(12, 12);
|
||||||
|
this.tbAlert.Name = "tbAlert";
|
||||||
|
this.tbAlert.Size = new System.Drawing.Size(614, 464);
|
||||||
|
this.tbAlert.TabIndex = 0;
|
||||||
|
this.tbAlert.Text = resources.GetString("tbAlert.Text");
|
||||||
|
//
|
||||||
|
// chAgree
|
||||||
|
//
|
||||||
|
this.chAgree.AutoSize = true;
|
||||||
|
this.chAgree.Location = new System.Drawing.Point(12, 482);
|
||||||
|
this.chAgree.Name = "chAgree";
|
||||||
|
this.chAgree.Size = new System.Drawing.Size(543, 16);
|
||||||
|
this.chAgree.TabIndex = 1;
|
||||||
|
this.chAgree.Text = "상기 정보 보호 관련 경고 사항을 확인하며, 이를 위반 시 민∙형사상 책임을 감수함을 서약합니다 ";
|
||||||
|
this.chAgree.UseVisualStyleBackColor = true;
|
||||||
|
this.chAgree.CheckedChanged += new System.EventHandler(this.chAgree_CheckedChanged);
|
||||||
|
//
|
||||||
|
// btnOK
|
||||||
|
//
|
||||||
|
this.btnOK.Enabled = false;
|
||||||
|
this.btnOK.Location = new System.Drawing.Point(442, 515);
|
||||||
|
this.btnOK.Name = "btnOK";
|
||||||
|
this.btnOK.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btnOK.TabIndex = 2;
|
||||||
|
this.btnOK.Text = "확인";
|
||||||
|
this.btnOK.UseVisualStyleBackColor = true;
|
||||||
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||||
|
//
|
||||||
|
// btnCancel
|
||||||
|
//
|
||||||
|
this.btnCancel.Location = new System.Drawing.Point(523, 515);
|
||||||
|
this.btnCancel.Name = "btnCancel";
|
||||||
|
this.btnCancel.Size = new System.Drawing.Size(75, 23);
|
||||||
|
this.btnCancel.TabIndex = 3;
|
||||||
|
this.btnCancel.Text = "취소";
|
||||||
|
this.btnCancel.UseVisualStyleBackColor = true;
|
||||||
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
||||||
|
//
|
||||||
|
// AlertPopup
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.ClientSize = new System.Drawing.Size(638, 549);
|
||||||
|
this.Controls.Add(this.btnCancel);
|
||||||
|
this.Controls.Add(this.btnOK);
|
||||||
|
this.Controls.Add(this.chAgree);
|
||||||
|
this.Controls.Add(this.tbAlert);
|
||||||
|
this.Name = "AlertPopup";
|
||||||
|
this.Text = "보안 경고";
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
private System.Windows.Forms.RichTextBox tbAlert;
|
||||||
|
private System.Windows.Forms.CheckBox chAgree;
|
||||||
|
private System.Windows.Forms.Button btnOK;
|
||||||
|
private System.Windows.Forms.Button btnCancel;
|
||||||
|
}
|
||||||
|
}
|
||||||
44
AlertPopup.cs
Normal file
44
AlertPopup.cs
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.ComponentModel;
|
||||||
|
using System.Data;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace friction
|
||||||
|
{
|
||||||
|
public partial class AlertPopup : Form
|
||||||
|
{
|
||||||
|
public AlertPopup()
|
||||||
|
{
|
||||||
|
this.DialogResult = DialogResult.Abort;
|
||||||
|
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
Theme.Apply(this);
|
||||||
|
Theme.Apply(tbAlert);
|
||||||
|
Theme.Apply(chAgree);
|
||||||
|
Theme.Apply(btnOK);
|
||||||
|
Theme.Apply(btnCancel);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void chAgree_CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
btnOK.Enabled = (chAgree.Checked == true);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnOK_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if(chAgree.Checked == true)
|
||||||
|
this.DialogResult = DialogResult.OK;
|
||||||
|
}
|
||||||
|
|
||||||
|
private void btnCancel_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.DialogResult = DialogResult.Abort;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
162
AlertPopup.resx
Normal file
162
AlertPopup.resx
Normal file
@@ -0,0 +1,162 @@
|
|||||||
|
<?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>
|
||||||
|
<data name="tbAlert.Text" xml:space="preserve">
|
||||||
|
<value>회사 정보 보호 서약
|
||||||
|
|
||||||
|
제 1 조 【회사정보의 의의】
|
||||||
|
|
||||||
|
본인은 본 서약서에서 “회사정보”란 본인이 업무수행 중 또는 수행과 관계없이 지득한 회사의 영업비밀(공공연히 알려져 있지 아니하고 독립된 경제적 가치를 가지는 것으로서, 상당한 노력에 의하여 비밀로 유지된 생산방법, 판매방법, 그 밖에 영업활동에 유용한 회사의 기술상 또는 경영상의 정보)과 노하우 등을 포함하여 제2조에서 정한 사항과 관련된 일체의 정보를 뜻한다는 점을 이해하고 인지합니다.
|
||||||
|
|
||||||
|
제 2 조 【회사정보의 범위】
|
||||||
|
|
||||||
|
① 인사, 조직, 재무, 마케팅, 전산부문의 각종 현황 등 회사의 경영에 관한 사항
|
||||||
|
② 제품의 설계방법, 설계도면, 제조공정, 제조장치 기타 제품 제조나 생산•수리와 관련된 기술에 관한 비밀사항
|
||||||
|
③ 제품의 연구개발(R&D) 계획, 작업보고서 및 일지, 실험데이터, 연구성과 분석자료, 신차 관련 정보 등 연구개발에 관한 사항
|
||||||
|
④ 사업계획, 생산계획, 예산 등 회사의 계획에 관한 사항
|
||||||
|
⑤ 회사의 임직원, 고객, 회원, 타사 직원 등의 개인정보에 관한 사항
|
||||||
|
⑥ 기타 업무수행 중 또는 업무수행과 관계없이 지득하게 된 회사경영과 관련된 제반사항
|
||||||
|
|
||||||
|
제 3 조 [회사 보안관리규정의 준수]
|
||||||
|
|
||||||
|
본인은 회사의 회사정보 보호를 위한 지시 및 회사의 제반 보안관리규정을 준수하겠습니다.
|
||||||
|
|
||||||
|
제 4 조 [부정사용 / 누설 /공개 금지]
|
||||||
|
|
||||||
|
본인은 회사의 사전 서면 동의 없이 회사정보가 공지의 사실이 될 때까지 회사정보를 업무수행 목적 이외의 목적으로 사용하거나, 제3자에게 누설•공개하지 않겠습니다.
|
||||||
|
|
||||||
|
제 5 조 [무단복제금지 등]
|
||||||
|
|
||||||
|
① 본인은 업무수행 목적 이외의 목적으로 회사정보를 복사•녹음•촬영 등 기타 어떠한 방법으로 복제를 하지 않겠습니다.
|
||||||
|
|
||||||
|
|
||||||
|
② 본인은 회사의 시설물에서 승인되지 않은 장비(OA기기, 통신장비, USB 등 저장장치, 개인노트북 등) 사용, 출입금지구역 출입, 자료열람, 촬영행위를 하지 않겠으며 출입관련 회사의 제반 보안규정을 준수하겠습니다.
|
||||||
|
|
||||||
|
제 6 조 [회사정보의 반납 / 파기 / 보유 금지]
|
||||||
|
|
||||||
|
① 본인은 본인의 소속회사와 회사간 계약서 상에 명시된 정보의 보호기간(단, 계약서 상에 정보 보호기간이 명시되어 있지 않은 경우에는 계약기간)이 종료(또는 본인의 소속업체 퇴직)되는 즉시(또는 회사와의 합의에 따라 계약종료 후 정해진 일정한 시점) 용역과 관련된 도면, 도표, 설계도, 명세서, 메모, 보고서, 노트, 자기테이프, 디지털 및 아날로그 저장장치(자기테이프, 외장형 저장장치, USB 디스크, CD, DVD, 디지털 카메라, 컴퓨터 하드디스크, 스마트 패드, 영상기록장치 등)에 보관하고 있는 회사와 관련된 일체의 정보를 회사에 반납하거나 반납이 어려울 경우 회사와 협의하여 파기하고, 이에 관해 어떠한 형태의 사본도 보유하지 않겠습니다.
|
||||||
|
② 본인은 제6조 ①항에서 정한 사항의 이행여부를 확인하는 확인서를 회사에 제출하도록 하겠습니다.
|
||||||
|
|
||||||
|
제 7 조 [서약사항 위반시 민•형사상 책임]
|
||||||
|
|
||||||
|
본인은 본인의 소속회사 재직 중은 물론 퇴직 후에도 위 각 서약사항을 위반 시 ‘부정 경쟁방지 및 영업비밀보호에 관한 법률’, ‘산업기술의 유출 방지 및 보호에 관한 법률’ 등 관련 법률에 규정된 민•형사상 책임, 민사상의 채무 불이행책임 또는 불법행위로 인한 손해배상책임 등 제반 관련법규에 따른 민•형사상의 책임을 부담하며, 회사의 금전적 손해에 대해 손해액 일체를 즉시 배상하도록 하겠습니다.
|
||||||
|
|
||||||
|
현대/기아자동차주식회사 귀중</value>
|
||||||
|
</data>
|
||||||
|
</root>
|
||||||
15
Config.cs
15
Config.cs
@@ -222,6 +222,21 @@ namespace friction
|
|||||||
return m_UncheckedMaterial[m_strCurMaterial].m_Tables;
|
return m_UncheckedMaterial[m_strCurMaterial].m_Tables;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public bool DidAgreeAlert()
|
||||||
|
{
|
||||||
|
StringBuilder temp = new StringBuilder(10240);
|
||||||
|
int iRes = GetPrivateProfileString("Agree", "agree", "", temp, 10240, m_strPath);
|
||||||
|
bool bResult = false;
|
||||||
|
bool.TryParse(temp.ToString(), out bResult);
|
||||||
|
|
||||||
|
return bResult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void SetAgreeAlert()
|
||||||
|
{
|
||||||
|
WritePrivateProfileString("Agree", "agree", "true", m_strPath);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
public struct COLUMN_NAME
|
public struct COLUMN_NAME
|
||||||
{
|
{
|
||||||
|
|||||||
41
MainForm.Designer.cs
generated
41
MainForm.Designer.cs
generated
@@ -38,8 +38,8 @@
|
|||||||
this.toolStripButtonAnalysis = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButtonAnalysis = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripButtonMap = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButtonMap = new System.Windows.Forms.ToolStripButton();
|
||||||
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
|
||||||
this.toolStripButtonRadarGraph = new System.Windows.Forms.ToolStripButton();
|
|
||||||
this.toolStripButtonTrendGraph = new System.Windows.Forms.ToolStripButton();
|
this.toolStripButtonTrendGraph = new System.Windows.Forms.ToolStripButton();
|
||||||
|
this.toolStripButtonRadarGraph = new System.Windows.Forms.ToolStripButton();
|
||||||
this.statusStrip = new System.Windows.Forms.StatusStrip();
|
this.statusStrip = new System.Windows.Forms.StatusStrip();
|
||||||
this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
this.toolStripStatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||||
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
this.menuStrip = new System.Windows.Forms.MenuStrip();
|
||||||
@@ -52,8 +52,8 @@
|
|||||||
this.analysisTableToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.analysisTableToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.materialCompatibilityMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.materialCompatibilityMapToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.graphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.graphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.radarGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
|
||||||
this.trendGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.trendGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
|
this.radarGraphToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.reportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.reportToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.allToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
this.preferenceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
this.preferenceToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||||
@@ -162,17 +162,6 @@
|
|||||||
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
this.toolStripSeparator2.Name = "toolStripSeparator2";
|
||||||
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 32);
|
this.toolStripSeparator2.Size = new System.Drawing.Size(6, 32);
|
||||||
//
|
//
|
||||||
// toolStripButtonRadarGraph
|
|
||||||
//
|
|
||||||
this.toolStripButtonRadarGraph.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
|
||||||
this.toolStripButtonRadarGraph.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonRadarGraph.Image")));
|
|
||||||
this.toolStripButtonRadarGraph.ImageTransparentColor = System.Drawing.Color.Magenta;
|
|
||||||
this.toolStripButtonRadarGraph.Name = "toolStripButtonRadarGraph";
|
|
||||||
this.toolStripButtonRadarGraph.Size = new System.Drawing.Size(28, 29);
|
|
||||||
this.toolStripButtonRadarGraph.Text = "toolStripButton3";
|
|
||||||
this.toolStripButtonRadarGraph.ToolTipText = "Radar Graph (Ctrl+D)";
|
|
||||||
this.toolStripButtonRadarGraph.Click += new System.EventHandler(this.toolStripButtonRadarGraph_Click);
|
|
||||||
//
|
|
||||||
// toolStripButtonTrendGraph
|
// toolStripButtonTrendGraph
|
||||||
//
|
//
|
||||||
this.toolStripButtonTrendGraph.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
this.toolStripButtonTrendGraph.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
@@ -184,6 +173,17 @@
|
|||||||
this.toolStripButtonTrendGraph.ToolTipText = "Trend Graph (Ctrl+T)";
|
this.toolStripButtonTrendGraph.ToolTipText = "Trend Graph (Ctrl+T)";
|
||||||
this.toolStripButtonTrendGraph.Click += new System.EventHandler(this.toolStripButtonTrendGraph_Click);
|
this.toolStripButtonTrendGraph.Click += new System.EventHandler(this.toolStripButtonTrendGraph_Click);
|
||||||
//
|
//
|
||||||
|
// toolStripButtonRadarGraph
|
||||||
|
//
|
||||||
|
this.toolStripButtonRadarGraph.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
|
||||||
|
this.toolStripButtonRadarGraph.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButtonRadarGraph.Image")));
|
||||||
|
this.toolStripButtonRadarGraph.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||||
|
this.toolStripButtonRadarGraph.Name = "toolStripButtonRadarGraph";
|
||||||
|
this.toolStripButtonRadarGraph.Size = new System.Drawing.Size(28, 29);
|
||||||
|
this.toolStripButtonRadarGraph.Text = "toolStripButton3";
|
||||||
|
this.toolStripButtonRadarGraph.ToolTipText = "Radar Graph (Ctrl+D)";
|
||||||
|
this.toolStripButtonRadarGraph.Click += new System.EventHandler(this.toolStripButtonRadarGraph_Click);
|
||||||
|
//
|
||||||
// statusStrip
|
// statusStrip
|
||||||
//
|
//
|
||||||
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.statusStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -287,13 +287,6 @@
|
|||||||
this.graphToolStripMenuItem.Size = new System.Drawing.Size(63, 24);
|
this.graphToolStripMenuItem.Size = new System.Drawing.Size(63, 24);
|
||||||
this.graphToolStripMenuItem.Text = "Graph";
|
this.graphToolStripMenuItem.Text = "Graph";
|
||||||
//
|
//
|
||||||
// radarGraphToolStripMenuItem
|
|
||||||
//
|
|
||||||
this.radarGraphToolStripMenuItem.Name = "radarGraphToolStripMenuItem";
|
|
||||||
this.radarGraphToolStripMenuItem.Size = new System.Drawing.Size(164, 24);
|
|
||||||
this.radarGraphToolStripMenuItem.Text = "Radar Graph";
|
|
||||||
this.radarGraphToolStripMenuItem.Click += new System.EventHandler(this.radarGraphToolStripMenuItem_Click);
|
|
||||||
//
|
|
||||||
// trendGraphToolStripMenuItem
|
// trendGraphToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.trendGraphToolStripMenuItem.Name = "trendGraphToolStripMenuItem";
|
this.trendGraphToolStripMenuItem.Name = "trendGraphToolStripMenuItem";
|
||||||
@@ -301,6 +294,13 @@
|
|||||||
this.trendGraphToolStripMenuItem.Text = "Trend Graph";
|
this.trendGraphToolStripMenuItem.Text = "Trend Graph";
|
||||||
this.trendGraphToolStripMenuItem.Click += new System.EventHandler(this.trendGraphToolStripMenuItem_Click);
|
this.trendGraphToolStripMenuItem.Click += new System.EventHandler(this.trendGraphToolStripMenuItem_Click);
|
||||||
//
|
//
|
||||||
|
// radarGraphToolStripMenuItem
|
||||||
|
//
|
||||||
|
this.radarGraphToolStripMenuItem.Name = "radarGraphToolStripMenuItem";
|
||||||
|
this.radarGraphToolStripMenuItem.Size = new System.Drawing.Size(164, 24);
|
||||||
|
this.radarGraphToolStripMenuItem.Text = "Radar Graph";
|
||||||
|
this.radarGraphToolStripMenuItem.Click += new System.EventHandler(this.radarGraphToolStripMenuItem_Click);
|
||||||
|
//
|
||||||
// reportToolStripMenuItem
|
// reportToolStripMenuItem
|
||||||
//
|
//
|
||||||
this.reportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
this.reportToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||||
@@ -376,6 +376,7 @@
|
|||||||
this.Name = "MainForm";
|
this.Name = "MainForm";
|
||||||
this.Text = "Material Stick-Slip Analysis";
|
this.Text = "Material Stick-Slip Analysis";
|
||||||
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.MainForm_FormClosing);
|
||||||
|
this.Shown += new System.EventHandler(this.MainForm_Shown);
|
||||||
this.toolStripMain.ResumeLayout(false);
|
this.toolStripMain.ResumeLayout(false);
|
||||||
this.toolStripMain.PerformLayout();
|
this.toolStripMain.PerformLayout();
|
||||||
this.statusStrip.ResumeLayout(false);
|
this.statusStrip.ResumeLayout(false);
|
||||||
|
|||||||
13
MainForm.cs
13
MainForm.cs
@@ -54,6 +54,19 @@ namespace friction
|
|||||||
dockPanel.Font = new Font(dockPanel.Font.FontFamily, 12.0f);
|
dockPanel.Font = new Font(dockPanel.Font.FontFamily, 12.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void MainForm_Shown(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Config.GetInstance().DidAgreeAlert() == true)
|
||||||
|
return;
|
||||||
|
|
||||||
|
AlertPopup alert = new AlertPopup();
|
||||||
|
DialogResult alertResult = alert.ShowDialog();
|
||||||
|
if (alertResult == DialogResult.OK)
|
||||||
|
Config.GetInstance().SetAgreeAlert();
|
||||||
|
else
|
||||||
|
Application.Exit();
|
||||||
|
}
|
||||||
|
|
||||||
void UpdateRecentFile()
|
void UpdateRecentFile()
|
||||||
{
|
{
|
||||||
recentToolStripMenuItem.DropDownItems.Clear();
|
recentToolStripMenuItem.DropDownItems.Clear();
|
||||||
|
|||||||
@@ -167,34 +167,34 @@
|
|||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAELSURBVDhPYxhcwH/7dgXv3ZsdoFwMAJIDqYFyMYHvzs0N
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAELSURBVDhPYxhcwH/7dgXv3ZsdoFwMAJIDqYFyMYHvzs0N
|
||||||
vru2/IdyMQBIDqQGykUFKYuPvY9evP9r/Pyjv0FsbDhq8d5fybP3fgOxodoQwHfi7v+kYKg2BGjff+N/
|
vru2/IdyMQBIDqQGykUFKYuPvY9avP9r/Pyjv0FsbDhy8Z5fybP3fAOxodoQwHfi7v+kYKg2BGjff+N/
|
||||||
274b/1uBuBmIm/Ze/98IxPVAXLfn+v+aPdf+V+++9r8SiqHaEODw26//97z6+H/rs7f/QWwQDeJjEzvw
|
274b/1uBuBmIm/Ze/98IxPVAXLfn+v+aPdf+V+++9r8SiqHaEODw26//97z6+H/rs7f/QWwQDeJjEzvw
|
||||||
9gt2AxovXv4PCqgtLz+D6aKzF7GKgdRCtSEASHD5wxf/W67cAtry5X/n1dv/Z917hlUMpwEzb9//n3vq
|
9gt2AxovXv4PCqgtLz+D6aKzF7GKgdRCtSEASHD5wxf/W67cAtry5X/n1dv/Z917hlUMpwEzb9//n3vq
|
||||||
FFhxwenT//tv3MMqhtOA9qvX/4fs2w12bhiQLrtwFasYTgNIwVBtCHD49WcHUjBU24ADBgYA/MWMDLj5
|
FFhxwenT//tv3MMqhtOA9qvX/4fs2w12bhiQLrtwFasYTgNIwVBtCHD49WcHUjBU24ADBgYA8TGMCJUH
|
||||||
81AAAAAASUVORK5CYII=
|
0TwAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButtonTrendGraph.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="toolStripButtonTrendGraph.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEpSURBVDhPY6A7COk9xuk1Za88lIsdBE7bKeY7aac1lIsC
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAEpSURBVDhPY6A7COk9xuk1Za88lIsdBE7bKeY7aac1lIsC
|
||||||
/CbtXunbsu6fV/8uTagQJvCdtHuT78Td//2n7DSACoHB8RefxTsP3rruM2Hnbv/+/QJQYUww6eitw3Hz
|
/CbtXunbvPafV/8uTagQJvCdtHuT78Td//2n7DSACoHB8RefxTsP3rruM2Hnbv/+/QJQYUww6eitw3Hz
|
||||||
D23d8+LDgcNvPrvaz9/PceDtZ91Dr7+sKD17Vqrq/MlAqFJMcOjNl7pNj14EVJ47ZQ/iL732vNunbdOv
|
D23d8+LDgcNvPrvaz9/PceDtZ91Dr7+sKD17Vqrq/MlAqFJMcOjNl7pNj14EVJ47ZQ/iL732vNunddOv
|
||||||
vDUnL4H45edO6FedPz0BxMYAB998DT785msOsiK/ybukAibte+IzcVc1iI/VALfeHULBk/ccb9595QCI
|
vDUnL4H45edO6FedPz0BxMYAB998DT785msOsiK/ybukAibte+IzcVc1iI/VALfeHULBk/ccb9595QCI
|
||||||
j66o8vyZgKrzx6RBbKwGgELUYeLuv74Tdi0B8TEMuHC6H+hvcIBiNQAE0nccds3YeVQMxCbLAHyKRooB
|
j66o8vyZgKrzx6RBbKwGgELUfuLuv74Tdi0B8TEMuHC6H+hvcIBiNQAE0nccds3YeVQMxCbLAHyKRooB
|
||||||
oBRWeOwYJ4hdf38/ByzaQACfHIWAgQEAwdf9P7PN/jkAAAAASUVORK5CYII=
|
oBRWeOwYJ4hdf38/ByzaQACfHIWAgQEAtoT9O3T9CCEAAAAASUVORK5CYII=
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="toolStripButtonRadarGraph.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="toolStripButtonRadarGraph.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>
|
<value>
|
||||||
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
|
||||||
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFbSURBVDhPYxh8wGfmJi6fSbtLfSfuPu8wcffPyP27/hft
|
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAFbSURBVDhPYxh8wGfmJi6fSbtLfSfuPm8/cffPyP27/hft
|
||||||
3/81a/uRTZlbDgtClWEHXlP2yvv2774O1PwfhlOOHvhfdeE0GBcfO/EjZeN+C6hyVACyGV0zCOedOgo3
|
3/81a/uRTZlbDgtClWEHXlP2yvv2774O1PwfhlOOHvhfdeE0GBcfO/EjZeN+C6hyVACyGV0zCOedOgo3
|
||||||
AGZI6O4z/FBtCOA7YU8Zumbvvp1X848d/45sAAhn7Dy2AaoNAYC2X0AxYNLOBKgUQ/qOw7ORDQCFCVQK
|
AGZI6O4z/FBtCOA7YU8Zumbvvp1X848d/45sAAhn7Dy2AaoNAYC2X0AxYNLOBKgUQ/qOw7ORDQCFCVQK
|
||||||
AUABhmwzVBgOQE6HGVB57tR/qDACIBvgNXHXFagwBPz/z7jkwZsfu199/r/1xaf/q5++xzTAu3/HOZgB
|
AUABhmwzVBgOQE6HGVB57tR/qDACIBvgNXHXFagwBPz/z7j4wZsfu199/r/1xaf/q5++xzTAu3/HOZgB
|
||||||
IOwzYVciVIqhfNP5tsNvv/6H4bV3Xn2BSiGAz8TdRcgGQPE1MJ6w+3/55otwA6adfrAWqg0BQnqPcYKc
|
IOwzYVciVIqhfNP5tsNvv/6H4bV3Xn2BSiGAz8TdRcgGQPE1MJ6w+3/55otwA6adfrAWqg0BQnqPcYKc
|
||||||
jmYAHHtP2PU/ffnJ/+svvv5ef+IWH1QbKvCZsFsOnyFuvTtuJs3ZbwJVjh3Yz9/PAfHOrrO+/eu/g/HE
|
jmYAHHtP2PU/ffnJ/+svvP5ef+IWH1QbKvCZsFsOnyFuvTtuJs3ZbwJVjh3Yz9/PAfHOrrO+/eu/g/HE
|
||||||
3WeA/AKQHFTZoAEMDABbpj40S+1sRQAAAABJRU5ErkJggg==
|
3WeA/AKQHFTZoAEMDABRBD4v4Uy/mAAAAABJRU5ErkJggg==
|
||||||
</value>
|
</value>
|
||||||
</data>
|
</data>
|
||||||
<metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
<metadata name="statusStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||||
|
|||||||
@@ -77,6 +77,12 @@
|
|||||||
<Compile Include="AboutBox.Designer.cs">
|
<Compile Include="AboutBox.Designer.cs">
|
||||||
<DependentUpon>AboutBox.cs</DependentUpon>
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="AlertPopup.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="AlertPopup.Designer.cs">
|
||||||
|
<DependentUpon>AlertPopup.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="Config.cs" />
|
<Compile Include="Config.cs" />
|
||||||
<Compile Include="DataHandler.cs" />
|
<Compile Include="DataHandler.cs" />
|
||||||
<Compile Include="ExcelHelper.cs" />
|
<Compile Include="ExcelHelper.cs" />
|
||||||
@@ -136,6 +142,9 @@
|
|||||||
<EmbeddedResource Include="AboutBox.resx">
|
<EmbeddedResource Include="AboutBox.resx">
|
||||||
<DependentUpon>AboutBox.cs</DependentUpon>
|
<DependentUpon>AboutBox.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="AlertPopup.resx">
|
||||||
|
<DependentUpon>AlertPopup.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
<EmbeddedResource Include="MainForm.resx">
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
<DependentUpon>MainForm.cs</DependentUpon>
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
|
|||||||
Reference in New Issue
Block a user