Commit 5d4633e3 authored by Meelad Vahdat's avatar Meelad Vahdat

Listware Desktop v1.1

-A warning will now be shown when your output file exists and will be overwritten
-A "Pause" button has been added to pause mid processing
-The config section will be disabled until input is selected
-The output section will be disabled until the input is selected
-"About" menu item has been added
Signed-off-by: Meelad Vahdat's avatarMeelad Vahdat <meelad@melissadata.com>
parent 93d9ce2f
......@@ -75,12 +75,24 @@
<Compile Include="Services\GlobalName.cs" />
<Compile Include="Services\GlobalPhone.cs" />
<Compile Include="Services\Personator.cs" />
<Compile Include="Windows\AboutForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Windows\AboutForm.Designer.cs">
<DependentUpon>AboutForm.cs</DependentUpon>
</Compile>
<Compile Include="Windows\InputPreviewForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Windows\InputPreviewForm.Designer.cs">
<DependentUpon>InputPreviewForm.cs</DependentUpon>
</Compile>
<Compile Include="Windows\OverwriteWarningForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Windows\OverwriteWarningForm.Designer.cs">
<DependentUpon>OverwriteWarningForm.cs</DependentUpon>
</Compile>
<Compile Include="Windows\SetConfigurationForm.cs">
<SubType>Form</SubType>
</Compile>
......@@ -112,9 +124,15 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<EmbeddedResource Include="Windows\AboutForm.resx">
<DependentUpon>AboutForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Windows\InputPreviewForm.resx">
<DependentUpon>InputPreviewForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Windows\OverwriteWarningForm.resx">
<DependentUpon>OverwriteWarningForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Windows\SetConfigurationForm.resx">
<DependentUpon>SetConfigurationForm.cs</DependentUpon>
</EmbeddedResource>
......@@ -141,6 +159,10 @@
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
<Content Include="Images\ListwareDesktop.PNG" />
<Content Include="Images\Melissa-favicon-32x32.png" />
<Content Include="Images\Melissa-new-logo-no-tag-200px.png" />
<Content Include="Images\Melissa.ico" />
<Content Include="Reporting\ReportTemplate.html" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
......
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -59,5 +59,15 @@ namespace ListwareDesktop.Properties {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap Melissa_new_logo_no_tag_200px {
get {
object obj = ResourceManager.GetObject("Melissa-new-logo-no-tag-200px", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
......@@ -46,7 +46,7 @@
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
......@@ -60,6 +60,7 @@
: 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">
......@@ -68,9 +69,10 @@
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<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">
......@@ -85,9 +87,10 @@
<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="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">
......@@ -109,9 +112,13 @@
<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>
<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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<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="Melissa-new-logo-no-tag-200px" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Images\Melissa-new-logo-no-tag-200px.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>
\ No newline at end of file
......@@ -368,7 +368,10 @@ namespace ListwareDesktop.Reporting
foreach (KeyValuePair<string, int> kvp in this.openWith)
{
strHtmlTemplate += "<tr><td>" + kvp.Key + "</td><td>" + this.validDescriptions[kvp.Key] + "</td><td>" + kvp.Value + "</td><td>" + Math.Round((kvp.Value * 100) / (decimal)Total, 2).ToString() + "</td></tr>\r\n";
if (this.validDescriptions.Keys.Contains(kvp.Key))
{
strHtmlTemplate += "<tr><td>" + kvp.Key + "</td><td>" + this.validDescriptions[kvp.Key] + "</td><td>" + kvp.Value + "</td><td>" + Math.Round((kvp.Value * 100) / (decimal)Total, 2).ToString() + "</td></tr>\r\n";
}
}
strHtmlTemplate += "</table>";
}
......
......@@ -154,7 +154,7 @@ namespace ListwareDesktop.Services
}
optionsString = optionsString.TrimEnd(',');
jsonObjectInput.Add("Options", optionsString);
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......
......@@ -141,7 +141,7 @@ namespace ListwareDesktop.Services
options = options.TrimEnd(',');
jsonObjectInput.Add("Options", options);
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......
......@@ -123,7 +123,7 @@ namespace ListwareDesktop.Services
{
jsonObjectInput.Add(tempKVP.Key, tempKVP.Value);
}
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
foreach (Record tempInputRecord in inputRecords)
......
......@@ -133,7 +133,7 @@ namespace ListwareDesktop.Services
{
jsonObjectInput.Add(tempKVP.Key, tempKVP.Value);
}
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......
......@@ -132,7 +132,7 @@ namespace ListwareDesktop.Services
{
jsonObjectInput.Add(tempKVP.Key, tempKVP.Value);
}
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......
......@@ -150,7 +150,7 @@ namespace ListwareDesktop.Services
}
optionsString = optionsString.TrimEnd(',');
jsonObjectInput.Add("Options", optionsString);
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......
......@@ -15,7 +15,7 @@ namespace ListwareDesktop.Services
{
#region settings
private string smEndpointUS = @"https://stage64personator2.melissadata.com/v3/WEB/ContactVerify/doContactVerify";
private string smEndpointUS = @"https://personator.melissadata.net/v3/WEB/ContactVerify/doContactVerify";
public string[] inputColumns { get; set; }
public string[] outputColumns { get; set; }
public int maxRecsPerRequest { get; set; }
......@@ -145,7 +145,7 @@ namespace ListwareDesktop.Services
options = options.TrimEnd(',');
jsonObjectInput.Add("Options", options);
jsonObjectInput.Add("TransmissionReference", MainForm.lwdtSrc);
jsonObjectInput.Add("TransmissionReference", MainForm._lwdtSrc);
JArray array = new JArray();
//Add records to the JObject
......@@ -218,6 +218,25 @@ namespace ListwareDesktop.Services
//Set output columns
this.outputColumns = new string[]
{
/*
"GrpAddressDetails",
"GrpCensus",
"GrpCensus2",
"GrpGeocode",
"GrpDemographicBasic",
"GrpIPAddress",
"GrpNameDetails",
"GrpParsedAddress",
"GrpParsedEmail",
"GrpParsedPhone",
"MoveDate",
"Occupation",
"OwnRent",
"PhoneCountryCode",
"PhoneCountryName",
"Plus4",
"PrivateMailBox",
"Suite"*/
"AddressDeliveryInstallation",
"AddressExtras",
"AddressHouseNumber",
......
namespace ListwareDesktop.Windows
{
partial class AboutForm
{
/// <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(AboutForm));
this.companyLabel = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.techSupportEmailLinkLabel = new System.Windows.Forms.LinkLabel();
this.wikiLabel = new System.Windows.Forms.Label();
this.wikiLinkLabel = new System.Windows.Forms.LinkLabel();
this.websiteLinkLabel = new System.Windows.Forms.LinkLabel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.versionLabel = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// companyLabel
//
this.companyLabel.AutoSize = true;
this.companyLabel.Location = new System.Drawing.Point(12, 116);
this.companyLabel.Name = "companyLabel";
this.companyLabel.Size = new System.Drawing.Size(176, 39);
this.companyLabel.TabIndex = 0;
this.companyLabel.Text = "Melissa Global Intelligence\r\n22382 Avenida Empresa\r\nRancho Santa Margarita, CA 92" +
"688";
//
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(12, 184);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(246, 39);
this.label5.TabIndex = 4;
this.label5.Text = "To obtain technical support on this plugin, contact \r\nMelissa Technical Support a" +
"t 1-800-635-4772 x4 \r\nor email";
//
// techSupportEmailLinkLabel
//
this.techSupportEmailLinkLabel.AutoSize = true;
this.techSupportEmailLinkLabel.Location = new System.Drawing.Point(53, 210);
this.techSupportEmailLinkLabel.Name = "techSupportEmailLinkLabel";
this.techSupportEmailLinkLabel.Size = new System.Drawing.Size(117, 13);
this.techSupportEmailLinkLabel.TabIndex = 5;
this.techSupportEmailLinkLabel.TabStop = true;
this.techSupportEmailLinkLabel.Text = "tech@melissadata.com";
this.techSupportEmailLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.techSupportEmailLinkLabel_LinkClicked);
//
// wikiLabel
//
this.wikiLabel.AutoSize = true;
this.wikiLabel.Location = new System.Drawing.Point(12, 162);
this.wikiLabel.Name = "wikiLabel";
this.wikiLabel.Size = new System.Drawing.Size(205, 13);
this.wikiLabel.TabIndex = 6;
this.wikiLabel.Text = "For Information or Tutorials please visit our";
//
// wikiLinkLabel
//
this.wikiLinkLabel.AutoSize = true;
this.wikiLinkLabel.Location = new System.Drawing.Point(214, 162);
this.wikiLinkLabel.Name = "wikiLinkLabel";
this.wikiLinkLabel.Size = new System.Drawing.Size(25, 13);
this.wikiLinkLabel.TabIndex = 7;
this.wikiLinkLabel.TabStop = true;
this.wikiLinkLabel.Text = "wiki";
this.wikiLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.wikiLinkLabel_LinkClicked);
//
// websiteLinkLabel
//
this.websiteLinkLabel.AutoSize = true;
this.websiteLinkLabel.Location = new System.Drawing.Point(12, 103);
this.websiteLinkLabel.Name = "websiteLinkLabel";
this.websiteLinkLabel.Size = new System.Drawing.Size(91, 13);
this.websiteLinkLabel.TabIndex = 8;
this.websiteLinkLabel.TabStop = true;
this.websiteLinkLabel.Text = "www.melissa.com";
this.websiteLinkLabel.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.websiteLinkLabel_LinkClicked);
//
// pictureBox1
//
this.pictureBox1.Image = global::ListwareDesktop.Properties.Resources.Melissa_new_logo_no_tag_200px;
this.pictureBox1.Location = new System.Drawing.Point(26, 2);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(213, 70);
this.pictureBox1.TabIndex = 9;
this.pictureBox1.TabStop = false;
//
// versionLabel
//
this.versionLabel.AutoSize = true;
this.versionLabel.Location = new System.Drawing.Point(12, 90);
this.versionLabel.Name = "versionLabel";
this.versionLabel.Size = new System.Drawing.Size(127, 13);
this.versionLabel.TabIndex = 10;
this.versionLabel.Text = "Listware Desktop Version";
//
// AboutForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(261, 228);
this.Controls.Add(this.versionLabel);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.websiteLinkLabel);
this.Controls.Add(this.wikiLinkLabel);
this.Controls.Add(this.wikiLabel);
this.Controls.Add(this.techSupportEmailLinkLabel);
this.Controls.Add(this.label5);
this.Controls.Add(this.companyLabel);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "AboutForm";
this.Text = "About Melissa";
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label companyLabel;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.LinkLabel techSupportEmailLinkLabel;
private System.Windows.Forms.Label wikiLabel;
private System.Windows.Forms.LinkLabel wikiLinkLabel;
private System.Windows.Forms.LinkLabel websiteLinkLabel;
private System.Windows.Forms.PictureBox pictureBox1;
private System.Windows.Forms.Label versionLabel;
}
}
\ No newline at end of file
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 ListwareDesktop.Windows
{
public partial class AboutForm : Form
{
public AboutForm(string version)
{
InitializeComponent();
versionLabel.Text += " " + version;
}
private void techSupportEmailLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("mailto:tech@melissadata.com");
}
private void wikiLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("http://wiki.melissadata.com");
}
private void websiteLinkLabel_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
System.Diagnostics.Process.Start("https://www.melissa.com");
}
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InputPreviewForm));
this.previewDataGridView = new System.Windows.Forms.DataGridView();
((System.ComponentModel.ISupportInitialize)(this.previewDataGridView)).BeginInit();
this.SuspendLayout();
......@@ -50,6 +51,7 @@
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(551, 261);
this.Controls.Add(this.previewDataGridView);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "InputPreviewForm";
this.Text = "Input Preview";
((System.ComponentModel.ISupportInitialize)(this.previewDataGridView)).EndInit();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
namespace ListwareDesktop.Windows
{
partial class OverwriteWarningForm
{
/// <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(OverwriteWarningForm));
this.overwriteWarningFormContinueButton = new System.Windows.Forms.Button();
this.overwriteWarningFormCheckBox = new System.Windows.Forms.CheckBox();
this.overwriteWarningFormLabel = new System.Windows.Forms.Label();
this.overwriteWarningFormCancelButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// overwriteWarningFormContinueButton
//
this.overwriteWarningFormContinueButton.Location = new System.Drawing.Point(12, 35);
this.overwriteWarningFormContinueButton.Name = "overwriteWarningFormContinueButton";
this.overwriteWarningFormContinueButton.Size = new System.Drawing.Size(75, 23);
this.overwriteWarningFormContinueButton.TabIndex = 0;
this.overwriteWarningFormContinueButton.Text = "Continue";
this.overwriteWarningFormContinueButton.UseVisualStyleBackColor = true;
this.overwriteWarningFormContinueButton.Click += new System.EventHandler(this.overwriteWarningFormContinueButton_Click);
//
// overwriteWarningFormCheckBox
//
this.overwriteWarningFormCheckBox.AutoSize = true;
this.overwriteWarningFormCheckBox.Location = new System.Drawing.Point(26, 64);
this.overwriteWarningFormCheckBox.Name = "overwriteWarningFormCheckBox";
this.overwriteWarningFormCheckBox.Size = new System.Drawing.Size(172, 17);
this.overwriteWarningFormCheckBox.TabIndex = 1;
this.overwriteWarningFormCheckBox.Text = "Do not show this prompt again.";
this.overwriteWarningFormCheckBox.UseVisualStyleBackColor = true;
//
// overwriteWarningFormLabel
//
this.overwriteWarningFormLabel.AutoSize = true;
this.overwriteWarningFormLabel.Location = new System.Drawing.Point(69, 9);
this.overwriteWarningFormLabel.Name = "overwriteWarningFormLabel";
this.overwriteWarningFormLabel.Size = new System.Drawing.Size(74, 13);
this.overwriteWarningFormLabel.TabIndex = 2;
this.overwriteWarningFormLabel.Text = "Overwrite file?";
//
// overwriteWarningFormCancelButton
//
this.overwriteWarningFormCancelButton.Location = new System.Drawing.Point(132, 35);
this.overwriteWarningFormCancelButton.Name = "overwriteWarningFormCancelButton";
this.overwriteWarningFormCancelButton.Size = new System.Drawing.Size(75, 23);
this.overwriteWarningFormCancelButton.TabIndex = 3;
this.overwriteWarningFormCancelButton.Text = "Cancel";
this.overwriteWarningFormCancelButton.UseVisualStyleBackColor = true;
this.overwriteWarningFormCancelButton.Click += new System.EventHandler(this.overwriteWarningFormCancelButton_Click);
//
// OverwriteWarningForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(219, 85);
this.Controls.Add(this.overwriteWarningFormCancelButton);
this.Controls.Add(this.overwriteWarningFormLabel);
this.Controls.Add(this.overwriteWarningFormCheckBox);
this.Controls.Add(this.overwriteWarningFormContinueButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "OverwriteWarningForm";
this.Text = "Warning";
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Button overwriteWarningFormContinueButton;
private System.Windows.Forms.CheckBox overwriteWarningFormCheckBox;
private System.Windows.Forms.Label overwriteWarningFormLabel;
private System.Windows.Forms.Button overwriteWarningFormCancelButton;
}
}
\ No newline at end of file
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 ListwareDesktop.Windows
{
internal partial class OverwriteWarningForm : Form
{
internal bool overwrite { get; set; }
internal bool doNotShowPrompt { get; set; }
internal OverwriteWarningForm()
{
InitializeComponent();
}
private void overwriteWarningFormContinueButton_Click(object sender, EventArgs e)
{
this.doNotShowPrompt = overwriteWarningFormCheckBox.Checked;
this.overwrite = true;
this.Close();
}
private void overwriteWarningFormCancelButton_Click(object sender, EventArgs e)
{
this.doNotShowPrompt = overwriteWarningFormCheckBox.Checked;
this.overwrite = false;
this.Close();
}
}
}
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetConfigurationForm));
this.setConfigurationFormDataGridView = new System.Windows.Forms.DataGridView();
this.setConfigurationFormDGVOptionName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.setConfigurationFormDGVOptionValues = new System.Windows.Forms.DataGridViewTextBoxColumn();
......@@ -115,6 +116,7 @@
this.Controls.Add(this.setConfigurationFormSaveButton);
this.Controls.Add(this.setConfigurationFormDataGridView);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "SetConfigurationForm";
this.Text = "Set Configuration";
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetInputsForm));
this.setInputsFormDataGridView = new System.Windows.Forms.DataGridView();
this.Inputs = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.setInputsFormSaveButton = new System.Windows.Forms.Button();
......@@ -86,6 +87,7 @@
this.Controls.Add(this.setInputsFormCancelButton);
this.Controls.Add(this.setInputsFormSaveButton);
this.Controls.Add(this.setInputsFormDataGridView);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "SetInputsForm";
this.Text = "Set Inputs";
((System.ComponentModel.ISupportInitialize)(this.setInputsFormDataGridView)).EndInit();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -28,6 +28,7 @@
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SetOutputsForm));
this.setOutputsFormDataGridView = new System.Windows.Forms.DataGridView();
this.FieldName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Select = new System.Windows.Forms.DataGridViewCheckBoxColumn();
......@@ -107,6 +108,7 @@
this.Controls.Add(this.saveOutputsFormCancelButton);
this.Controls.Add(this.setOutputsFormSaveButton);
this.Controls.Add(this.setOutputsFormDataGridView);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "SetOutputsForm";
this.Text = "Set Outputs";
((System.ComponentModel.ISupportInitialize)(this.setOutputsFormDataGridView)).EndInit();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment