コード例 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butOK           = new OpenDental.UI.Button();
     this.butCancel       = new OpenDental.UI.Button();
     this.textNote        = new System.Windows.Forms.TextBox();
     this.label8          = new System.Windows.Forms.Label();
     this.butTopazSign    = new OpenDental.UI.Button();
     this.sigBoxTopaz     = new Topaz.SigPlusNET();
     this.sigBox          = new OpenDental.UI.SignatureBox();
     this.butClearSig     = new OpenDental.UI.Button();
     this.label15         = new System.Windows.Forms.Label();
     this.labelInvalidSig = new System.Windows.Forms.Label();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butOK.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize     = true;
     this.butOK.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location     = new System.Drawing.Point(869, 25);
     this.butOK.Name         = "butOK";
     this.butOK.Size         = new System.Drawing.Size(75, 25);
     this.butOK.TabIndex     = 3;
     this.butOK.Text         = "OK";
     this.butOK.Click       += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butCancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize     = true;
     this.butCancel.BtnShape     = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle     = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.butCancel.Location     = new System.Drawing.Point(869, 56);
     this.butCancel.Name         = "butCancel";
     this.butCancel.Size         = new System.Drawing.Size(75, 25);
     this.butCancel.TabIndex     = 4;
     this.butCancel.Text         = "Cancel";
     this.butCancel.Click       += new System.EventHandler(this.butCancel_Click);
     //
     // textNote
     //
     this.textNote.Location     = new System.Drawing.Point(39, 0);
     this.textNote.MaxLength    = 255;
     this.textNote.Multiline    = true;
     this.textNote.Name         = "textNote";
     this.textNote.Size         = new System.Drawing.Size(302, 91);
     this.textNote.TabIndex     = 17;
     this.textNote.TextChanged += new System.EventHandler(this.textNote_TextChanged);
     //
     // label8
     //
     this.label8.Location  = new System.Drawing.Point(0, 2);
     this.label8.Name      = "label8";
     this.label8.Size      = new System.Drawing.Size(33, 45);
     this.label8.TabIndex  = 16;
     this.label8.Text      = "Note";
     this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // butTopazSign
     //
     this.butTopazSign.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butTopazSign.Autosize            = true;
     this.butTopazSign.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butTopazSign.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butTopazSign.CornerRadius        = 4F;
     this.butTopazSign.Location            = new System.Drawing.Point(370, 61);
     this.butTopazSign.Name     = "butTopazSign";
     this.butTopazSign.Size     = new System.Drawing.Size(81, 25);
     this.butTopazSign.TabIndex = 89;
     this.butTopazSign.Text     = "Sign Topaz";
     this.butTopazSign.Click   += new System.EventHandler(this.butTopazSign_Click);
     //
     // sigBoxTopaz
     //
     this.sigBoxTopaz.Location = new System.Drawing.Point(471, -10);
     this.sigBoxTopaz.Name     = "sigBoxTopaz";
     this.sigBoxTopaz.Size     = new System.Drawing.Size(394, 91);
     this.sigBoxTopaz.TabIndex = 92;
     this.sigBoxTopaz.Text     = "sigPlusNET1";
     //
     // sigBox
     //
     this.sigBox.Location = new System.Drawing.Point(457, 0);
     this.sigBox.Name     = "sigBox";
     this.sigBox.Size     = new System.Drawing.Size(394, 91);
     this.sigBox.TabIndex = 91;
     this.sigBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.sigBox_MouseUp);
     //
     // butClearSig
     //
     this.butClearSig.AdjustImageLocation = new System.Drawing.Point(0, 0);
     this.butClearSig.Autosize            = true;
     this.butClearSig.BtnShape            = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butClearSig.BtnStyle            = OpenDental.UI.enumType.XPStyle.Silver;
     this.butClearSig.CornerRadius        = 4F;
     this.butClearSig.Location            = new System.Drawing.Point(370, 30);
     this.butClearSig.Name     = "butClearSig";
     this.butClearSig.Size     = new System.Drawing.Size(81, 25);
     this.butClearSig.TabIndex = 90;
     this.butClearSig.Text     = "Clear Sig";
     this.butClearSig.Click   += new System.EventHandler(this.butClearSig_Click);
     //
     // label15
     //
     this.label15.Location  = new System.Drawing.Point(396, 2);
     this.label15.Name      = "label15";
     this.label15.Size      = new System.Drawing.Size(59, 25);
     this.label15.TabIndex  = 88;
     this.label15.Text      = "Signature";
     this.label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // labelInvalidSig
     //
     this.labelInvalidSig.BackColor = System.Drawing.SystemColors.Window;
     this.labelInvalidSig.Font      = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.labelInvalidSig.Location  = new System.Drawing.Point(566, 13);
     this.labelInvalidSig.Name      = "labelInvalidSig";
     this.labelInvalidSig.Size      = new System.Drawing.Size(196, 59);
     this.labelInvalidSig.TabIndex  = 95;
     this.labelInvalidSig.Text      = "Invalid Signature -  Document or note has changed since it was signed.";
     this.labelInvalidSig.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
     //
     // FormDocSign
     //
     this.AcceptButton      = this.butOK;
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.BackColor         = System.Drawing.SystemColors.Control;
     this.CancelButton      = this.butCancel;
     this.ClientSize        = new System.Drawing.Size(952, 90);
     this.Controls.Add(this.labelInvalidSig);
     this.Controls.Add(this.butTopazSign);
     this.Controls.Add(this.sigBoxTopaz);
     this.Controls.Add(this.sigBox);
     this.Controls.Add(this.butClearSig);
     this.Controls.Add(this.label15);
     this.Controls.Add(this.textNote);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.butCancel);
     this.Controls.Add(this.butOK);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormDocSign";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.Manual;
     this.Text            = "Signature";
     this.Load           += new System.EventHandler(this.FormDocSign_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #2
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.textNote = new System.Windows.Forms.TextBox();
			this.label8 = new System.Windows.Forms.Label();
			this.label15 = new System.Windows.Forms.Label();
			this.labelInvalidSig = new System.Windows.Forms.Label();
			this.sigBox = new OpenDental.UI.SignatureBox();
			this.butClearSig = new OpenDental.UI.Button();
			this.butCancel = new OpenDental.UI.Button();
			this.butOK = new OpenDental.UI.Button();
			this.butTopazSign = new OpenDental.UI.Button();
			this.SuspendLayout();
			// 
			// textNote
			// 
			this.textNote.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left)));
			this.textNote.Location = new System.Drawing.Point(39,0);
			this.textNote.MaxLength = 255;
			this.textNote.Multiline = true;
			this.textNote.Name = "textNote";
			this.textNote.Size = new System.Drawing.Size(302,85);
			this.textNote.TabIndex = 17;
			this.textNote.TextChanged += new System.EventHandler(this.textNote_TextChanged);
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(0,2);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(33,45);
			this.label8.TabIndex = 16;
			this.label8.Text = "Note";
			this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// label15
			// 
			this.label15.Location = new System.Drawing.Point(370,2);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(85,25);
			this.label15.TabIndex = 88;
			this.label15.Text = "Signature";
			this.label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
			// 
			// labelInvalidSig
			// 
			this.labelInvalidSig.BackColor = System.Drawing.SystemColors.Window;
			this.labelInvalidSig.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
			this.labelInvalidSig.Location = new System.Drawing.Point(550,10);
			this.labelInvalidSig.Name = "labelInvalidSig";
			this.labelInvalidSig.Size = new System.Drawing.Size(196,59);
			this.labelInvalidSig.TabIndex = 95;
			this.labelInvalidSig.Text = "Invalid Signature -  Document or note has changed since it was signed.";
			this.labelInvalidSig.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// sigBox
			// 
			this.sigBox.Location = new System.Drawing.Point(457,0);
			this.sigBox.Name = "sigBox";
			this.sigBox.Size = new System.Drawing.Size(362,79);
			this.sigBox.TabIndex = 91;
			this.sigBox.MouseUp += new System.Windows.Forms.MouseEventHandler(this.sigBox_MouseUp);
			// 
			// butClearSig
			// 
			this.butClearSig.AdjustImageLocation = new System.Drawing.Point(0,0);
			this.butClearSig.Autosize = true;
			this.butClearSig.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
			this.butClearSig.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
			this.butClearSig.CornerRadius = 4F;
			this.butClearSig.Location = new System.Drawing.Point(370,25);
			this.butClearSig.Name = "butClearSig";
			this.butClearSig.Size = new System.Drawing.Size(81,25);
			this.butClearSig.TabIndex = 90;
			this.butClearSig.Text = "Clear Sig";
			this.butClearSig.Click += new System.EventHandler(this.butClearSig_Click);
			// 
			// butCancel
			// 
			this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
			this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.butCancel.Autosize = true;
			this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
			this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
			this.butCancel.CornerRadius = 4F;
			this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.butCancel.Location = new System.Drawing.Point(837,50);
			this.butCancel.Name = "butCancel";
			this.butCancel.Size = new System.Drawing.Size(75,25);
			this.butCancel.TabIndex = 4;
			this.butCancel.Text = "Cancel";
			this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
			// 
			// butOK
			// 
			this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
			this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
			this.butOK.Autosize = true;
			this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
			this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
			this.butOK.CornerRadius = 4F;
			this.butOK.Location = new System.Drawing.Point(837,19);
			this.butOK.Name = "butOK";
			this.butOK.Size = new System.Drawing.Size(75,25);
			this.butOK.TabIndex = 3;
			this.butOK.Text = "OK";
			this.butOK.Click += new System.EventHandler(this.butOK_Click);
			// 
			// butTopazSign
			// 
			this.butTopazSign.AdjustImageLocation = new System.Drawing.Point(0,0);
			this.butTopazSign.Autosize = true;
			this.butTopazSign.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
			this.butTopazSign.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
			this.butTopazSign.CornerRadius = 4F;
			this.butTopazSign.Location = new System.Drawing.Point(370,56);
			this.butTopazSign.Name = "butTopazSign";
			this.butTopazSign.Size = new System.Drawing.Size(81,25);
			this.butTopazSign.TabIndex = 96;
			this.butTopazSign.Text = "Topaz";
			this.butTopazSign.UseVisualStyleBackColor = true;
			this.butTopazSign.Click += new System.EventHandler(this.butTopazSign_Click);
			// 
			// FormDocSign
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(5,13);
			this.BackColor = System.Drawing.SystemColors.Control;
			this.ClientSize = new System.Drawing.Size(913,84);
			this.Controls.Add(this.butTopazSign);
			this.Controls.Add(this.butCancel);
			this.Controls.Add(this.butOK);
			this.Controls.Add(this.labelInvalidSig);
			this.Controls.Add(this.sigBox);
			this.Controls.Add(this.butClearSig);
			this.Controls.Add(this.label15);
			this.Controls.Add(this.textNote);
			this.Controls.Add(this.label8);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "FormDocSign";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
			this.Text = "Signature";
			this.Load += new System.EventHandler(this.FormDocSign_Load);
			this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.FormDocSign_FormClosing);
			this.ResumeLayout(false);
			this.PerformLayout();

		}