/* * Copyright 2018 faddenSoft * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ namespace SourceGen.AppForms { partial class DiscardChanges { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.cancelButton = new System.Windows.Forms.Button(); this.dontSaveButton = new System.Windows.Forms.Button(); this.saveButton = new System.Windows.Forms.Button(); this.warningLabel = new System.Windows.Forms.Label(); this.SuspendLayout(); // // cancelButton // this.cancelButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelButton.Location = new System.Drawing.Point(243, 74); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(110, 23); this.cancelButton.TabIndex = 3; this.cancelButton.Text = "Cancel"; this.cancelButton.UseVisualStyleBackColor = true; // // dontSaveButton // this.dontSaveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.dontSaveButton.Location = new System.Drawing.Point(127, 74); this.dontSaveButton.Name = "dontSaveButton"; this.dontSaveButton.Size = new System.Drawing.Size(110, 23); this.dontSaveButton.TabIndex = 2; this.dontSaveButton.Text = "&Discard && Continue"; this.dontSaveButton.UseVisualStyleBackColor = true; this.dontSaveButton.Click += new System.EventHandler(this.dontSaveButton_Click); // // saveButton // this.saveButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.saveButton.Location = new System.Drawing.Point(11, 74); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(110, 23); this.saveButton.TabIndex = 1; this.saveButton.Text = "&Save && Continue"; this.saveButton.UseVisualStyleBackColor = true; this.saveButton.Click += new System.EventHandler(this.saveButton_Click); // // warningLabel // this.warningLabel.AutoSize = true; this.warningLabel.Location = new System.Drawing.Point(13, 13); this.warningLabel.Name = "warningLabel"; this.warningLabel.Size = new System.Drawing.Size(288, 39); this.warningLabel.TabIndex = 0; this.warningLabel.Text = "You have unsaved changes that will be lost if you continue.\r\n\r\nHow do you wish to" + " proceed?"; // // DiscardChanges // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.cancelButton; this.ClientSize = new System.Drawing.Size(365, 109); this.Controls.Add(this.warningLabel); this.Controls.Add(this.saveButton); this.Controls.Add(this.dontSaveButton); this.Controls.Add(this.cancelButton); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "DiscardChanges"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Discard Changes?"; this.Load += new System.EventHandler(this.DiscardChanges_Load); this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Button cancelButton; private System.Windows.Forms.Button dontSaveButton; private System.Windows.Forms.Button saveButton; private System.Windows.Forms.Label warningLabel; } }