Example #1
0
        protected override RadElement CreateEditorElement()
        {
            this.inkEdit1             = new InkEdit();
            this.inkEdit1.RecoTimeout = 1000;


            this.inkEdit1.UseMouseForInput = true;

            var host = new RadHostItem(inkEdit1);

            host.BackColor = System.Drawing.Color.White;
            return(host);
        }
 /// <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(AutoClaims));
     this.lblVehicleDamage = new System.Windows.Forms.Label();
     this.lblVehicleDescription = new System.Windows.Forms.Label();
     this.lblModel = new System.Windows.Forms.Label();
     this.lblYear = new System.Windows.Forms.Label();
     this.lblMake = new System.Windows.Forms.Label();
     this.lblPolicyNumber = new System.Windows.Forms.Label();
     this.lblInsuredName = new System.Windows.Forms.Label();
     this.chHideLayer = new System.Windows.Forms.CheckBox();
     this.pictHorzontalBar2 = new System.Windows.Forms.PictureBox();
     this.pictVehicleBox = new System.Windows.Forms.PictureBox();
     this.pictHorzontalBar3 = new System.Windows.Forms.PictureBox();
     this.pictPolicyBox = new System.Windows.Forms.PictureBox();
     this.pictHorzontalBar1 = new System.Windows.Forms.PictureBox();
     this.lblInstructions = new System.Windows.Forms.Label();
     this.lblTitle = new System.Windows.Forms.Label();
     this.pictCheckmarks = new System.Windows.Forms.PictureBox();
     this.inkPictVehicle = new Microsoft.Ink.InkPicture();
     this.lstAnnotationLayer = new System.Windows.Forms.ListBox();
     this.inkEdPolicyNumber = new Microsoft.Ink.InkEdit();
     this.inkEdName = new Microsoft.Ink.InkEdit();
     this.inkEdYear = new Microsoft.Ink.InkEdit();
     this.inkEdMake = new Microsoft.Ink.InkEdit();
     this.inkEdModel = new Microsoft.Ink.InkEdit();
     this.ShowEvent = new System.Windows.Forms.Button();
     this.panelForSignature = new System.Windows.Forms.Panel();
     this.inkEdSignature = new Microsoft.Ink.InkEdit();
     this.label1 = new System.Windows.Forms.Label();
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictVehicleBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictPolicyBox)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictCheckmarks)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.inkPictVehicle)).BeginInit();
     this.SuspendLayout();
     //
     // lblVehicleDamage
     //
     this.lblVehicleDamage.AutoSize = true;
     this.lblVehicleDamage.BackColor = System.Drawing.Color.White;
     this.lblVehicleDamage.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblVehicleDamage.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblVehicleDamage.Location = new System.Drawing.Point(8, 408);
     this.lblVehicleDamage.Name = "lblVehicleDamage";
     this.lblVehicleDamage.Size = new System.Drawing.Size(256, 25);
     this.lblVehicleDamage.TabIndex = 58;
     this.lblVehicleDamage.Text = "Description of vehicle damage";
     this.lblVehicleDamage.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblVehicleDamage.UseCompatibleTextRendering = true;
     //
     // lblVehicleDescription
     //
     this.lblVehicleDescription.AutoSize = true;
     this.lblVehicleDescription.BackColor = System.Drawing.Color.White;
     this.lblVehicleDescription.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblVehicleDescription.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblVehicleDescription.Location = new System.Drawing.Point(8, 240);
     this.lblVehicleDescription.Name = "lblVehicleDescription";
     this.lblVehicleDescription.Size = new System.Drawing.Size(386, 25);
     this.lblVehicleDescription.TabIndex = 56;
     this.lblVehicleDescription.Text = "Enter the involved vehicle listed on the policy ";
     this.lblVehicleDescription.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblVehicleDescription.UseCompatibleTextRendering = true;
     //
     // lblModel
     //
     this.lblModel.AutoSize = true;
     this.lblModel.BackColor = System.Drawing.Color.Gainsboro;
     this.lblModel.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblModel.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblModel.Location = new System.Drawing.Point(12, 352);
     this.lblModel.Name = "lblModel";
     this.lblModel.Size = new System.Drawing.Size(73, 29);
     this.lblModel.TabIndex = 52;
     this.lblModel.Text = "Model:";
     this.lblModel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblModel.UseCompatibleTextRendering = true;
     //
     // lblYear
     //
     this.lblYear.AutoSize = true;
     this.lblYear.BackColor = System.Drawing.Color.Gainsboro;
     this.lblYear.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblYear.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblYear.Location = new System.Drawing.Point(12, 275);
     this.lblYear.Name = "lblYear";
     this.lblYear.Size = new System.Drawing.Size(135, 29);
     this.lblYear.TabIndex = 51;
     this.lblYear.Text = "Year (YYYY):";
     this.lblYear.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblYear.UseCompatibleTextRendering = true;
     //
     // lblMake
     //
     this.lblMake.AutoSize = true;
     this.lblMake.BackColor = System.Drawing.Color.Gainsboro;
     this.lblMake.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMake.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblMake.Location = new System.Drawing.Point(12, 312);
     this.lblMake.Name = "lblMake";
     this.lblMake.Size = new System.Drawing.Size(67, 29);
     this.lblMake.TabIndex = 50;
     this.lblMake.Text = "Make:";
     this.lblMake.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblMake.UseCompatibleTextRendering = true;
     //
     // lblPolicyNumber
     //
     this.lblPolicyNumber.AutoSize = true;
     this.lblPolicyNumber.BackColor = System.Drawing.Color.Gainsboro;
     this.lblPolicyNumber.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblPolicyNumber.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblPolicyNumber.Location = new System.Drawing.Point(11, 136);
     this.lblPolicyNumber.Name = "lblPolicyNumber";
     this.lblPolicyNumber.Size = new System.Drawing.Size(157, 29);
     this.lblPolicyNumber.TabIndex = 47;
     this.lblPolicyNumber.Text = "Policy Number:";
     this.lblPolicyNumber.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblPolicyNumber.UseCompatibleTextRendering = true;
     //
     // lblInsuredName
     //
     this.lblInsuredName.AutoSize = true;
     this.lblInsuredName.BackColor = System.Drawing.Color.Gainsboro;
     this.lblInsuredName.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblInsuredName.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblInsuredName.Location = new System.Drawing.Point(11, 168);
     this.lblInsuredName.Name = "lblInsuredName";
     this.lblInsuredName.Size = new System.Drawing.Size(154, 29);
     this.lblInsuredName.TabIndex = 46;
     this.lblInsuredName.Text = "Insured Name:";
     this.lblInsuredName.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     this.lblInsuredName.UseCompatibleTextRendering = true;
     //
     // chHideLayer
     //
     this.chHideLayer.CheckAlign = System.Drawing.ContentAlignment.TopLeft;
     this.chHideLayer.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.chHideLayer.Location = new System.Drawing.Point(472, 432);
     this.chHideLayer.Name = "chHideLayer";
     this.chHideLayer.Size = new System.Drawing.Size(94, 65);
     this.chHideLayer.TabIndex = 61;
     this.chHideLayer.Text = "Hide Selected Layer";
     this.chHideLayer.UseCompatibleTextRendering = true;
     this.chHideLayer.CheckedChanged += new System.EventHandler(this.chHideLayer_CheckedChanged);
     //
     // pictHorzontalBar2
     //
     this.pictHorzontalBar2.BackColor = System.Drawing.SystemColors.AppWorkspace;
     this.pictHorzontalBar2.Location = new System.Drawing.Point(8, 224);
     this.pictHorzontalBar2.Name = "pictHorzontalBar2";
     this.pictHorzontalBar2.Size = new System.Drawing.Size(536, 2);
     this.pictHorzontalBar2.TabIndex = 57;
     this.pictHorzontalBar2.TabStop = false;
     //
     // pictVehicleBox
     //
     this.pictVehicleBox.BackColor = System.Drawing.Color.Gainsboro;
     this.pictVehicleBox.Location = new System.Drawing.Point(8, 272);
     this.pictVehicleBox.Name = "pictVehicleBox";
     this.pictVehicleBox.Size = new System.Drawing.Size(194, 120);
     this.pictVehicleBox.TabIndex = 49;
     this.pictVehicleBox.TabStop = false;
     //
     // pictHorzontalBar3
     //
     this.pictHorzontalBar3.BackColor = System.Drawing.SystemColors.AppWorkspace;
     this.pictHorzontalBar3.Location = new System.Drawing.Point(8, 400);
     this.pictHorzontalBar3.Name = "pictHorzontalBar3";
     this.pictHorzontalBar3.Size = new System.Drawing.Size(536, 2);
     this.pictHorzontalBar3.TabIndex = 48;
     this.pictHorzontalBar3.TabStop = false;
     //
     // pictPolicyBox
     //
     this.pictPolicyBox.BackColor = System.Drawing.Color.Gainsboro;
     this.pictPolicyBox.Location = new System.Drawing.Point(8, 128);
     this.pictPolicyBox.Name = "pictPolicyBox";
     this.pictPolicyBox.Size = new System.Drawing.Size(194, 80);
     this.pictPolicyBox.TabIndex = 44;
     this.pictPolicyBox.TabStop = false;
     //
     // pictHorzontalBar1
     //
     this.pictHorzontalBar1.BackColor = System.Drawing.SystemColors.AppWorkspace;
     this.pictHorzontalBar1.Location = new System.Drawing.Point(8, 113);
     this.pictHorzontalBar1.Name = "pictHorzontalBar1";
     this.pictHorzontalBar1.Size = new System.Drawing.Size(536, 2);
     this.pictHorzontalBar1.TabIndex = 43;
     this.pictHorzontalBar1.TabStop = false;
     //
     // lblInstructions
     //
     this.lblInstructions.Font = new System.Drawing.Font("Tahoma", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblInstructions.Location = new System.Drawing.Point(96, 44);
     this.lblInstructions.Name = "lblInstructions";
     this.lblInstructions.Size = new System.Drawing.Size(448, 65);
     this.lblInstructions.TabIndex = 42;
     this.lblInstructions.Text = "Enter the required information for the policy applicable to the auto claim you ar" +
         "e submitting. Enter the vehicle exactly as it appears on the policy or insurance" +
         " card.";
     this.lblInstructions.UseCompatibleTextRendering = true;
     //
     // lblTitle
     //
     this.lblTitle.AutoSize = true;
     this.lblTitle.Font = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblTitle.Location = new System.Drawing.Point(8, 8);
     this.lblTitle.Name = "lblTitle";
     this.lblTitle.Size = new System.Drawing.Size(174, 42);
     this.lblTitle.TabIndex = 41;
     this.lblTitle.Text = "Auto Claim";
     this.lblTitle.UseCompatibleTextRendering = true;
     //
     // pictCheckmarks
     //
     this.pictCheckmarks.BackColor = System.Drawing.Color.White;
     this.pictCheckmarks.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("pictCheckmarks.BackgroundImage")));
     this.pictCheckmarks.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
     this.pictCheckmarks.Location = new System.Drawing.Point(33, 44);
     this.pictCheckmarks.Name = "pictCheckmarks";
     this.pictCheckmarks.Size = new System.Drawing.Size(37, 62);
     this.pictCheckmarks.TabIndex = 66;
     this.pictCheckmarks.TabStop = false;
     //
     // inkPictVehicle
     //
     this.inkPictVehicle.AutoRedraw = false;
     this.inkPictVehicle.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.inkPictVehicle.Image = ((System.Drawing.Image)(resources.GetObject("inkPictVehicle.Image")));
     this.inkPictVehicle.Location = new System.Drawing.Point(8, 432);
     this.inkPictVehicle.MarginX = -1;
     this.inkPictVehicle.MarginY = -1;
     this.inkPictVehicle.Name = "inkPictVehicle";
     this.inkPictVehicle.Size = new System.Drawing.Size(352, 218);
     this.inkPictVehicle.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.inkPictVehicle.TabIndex = 67;
     this.inkPictVehicle.Paint += new System.Windows.Forms.PaintEventHandler(this.inkPictVehicle_Paint);
     //
     // lstAnnotationLayer
     //
     this.lstAnnotationLayer.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.lstAnnotationLayer.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lstAnnotationLayer.ItemHeight = 19;
     this.lstAnnotationLayer.Items.AddRange(new object[] {
     "Body",
     "Windows",
     "Tires",
     "Headlights"});
     this.lstAnnotationLayer.Location = new System.Drawing.Point(376, 432);
     this.lstAnnotationLayer.Name = "lstAnnotationLayer";
     this.lstAnnotationLayer.Size = new System.Drawing.Size(90, 97);
     this.lstAnnotationLayer.TabIndex = 68;
     this.lstAnnotationLayer.SelectedIndexChanged += new System.EventHandler(this.lstAnnotationLayer_SelectedIndexChanged);
     //
     // inkEdPolicyNumber
     //
     this.inkEdPolicyNumber.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdPolicyNumber.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdPolicyNumber.Location = new System.Drawing.Point(208, 136);
     this.inkEdPolicyNumber.Name = "inkEdPolicyNumber";
     this.inkEdPolicyNumber.Size = new System.Drawing.Size(312, 32);
     this.inkEdPolicyNumber.TabIndex = 69;
     this.inkEdPolicyNumber.Text = "";
     this.inkEdPolicyNumber.Enter += new System.EventHandler(this.inkEdPolicyNumber_Enter);
     //
     // inkEdName
     //
     this.inkEdName.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdName.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdName.Location = new System.Drawing.Point(208, 176);
     this.inkEdName.Name = "inkEdName";
     this.inkEdName.Size = new System.Drawing.Size(312, 32);
     this.inkEdName.TabIndex = 70;
     this.inkEdName.Text = "";
     //
     // inkEdYear
     //
     this.inkEdYear.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdYear.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdYear.Location = new System.Drawing.Point(208, 280);
     this.inkEdYear.Name = "inkEdYear";
     this.inkEdYear.Size = new System.Drawing.Size(312, 32);
     this.inkEdYear.TabIndex = 71;
     this.inkEdYear.Text = "";
     this.inkEdYear.Enter += new System.EventHandler(this.inkEdYear_Enter);
     //
     // inkEdMake
     //
     this.inkEdMake.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdMake.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdMake.Location = new System.Drawing.Point(208, 320);
     this.inkEdMake.Name = "inkEdMake";
     this.inkEdMake.Size = new System.Drawing.Size(312, 32);
     this.inkEdMake.TabIndex = 72;
     this.inkEdMake.Text = "";
     this.inkEdMake.Enter += new System.EventHandler(this.inkEdMake_Enter);
     //
     // inkEdModel
     //
     this.inkEdModel.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdModel.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdModel.Location = new System.Drawing.Point(208, 360);
     this.inkEdModel.Name = "inkEdModel";
     this.inkEdModel.Size = new System.Drawing.Size(312, 32);
     this.inkEdModel.TabIndex = 73;
     this.inkEdModel.Text = "";
     this.inkEdModel.Enter += new System.EventHandler(this.inkEdModel_Enter);
     //
     // ShowEvent
     //
     this.ShowEvent.Location = new System.Drawing.Point(397, 240);
     this.ShowEvent.Name = "ShowEvent";
     this.ShowEvent.Size = new System.Drawing.Size(123, 25);
     this.ShowEvent.TabIndex = 75;
     this.ShowEvent.Text = "Show TIP Events";
     this.ShowEvent.UseCompatibleTextRendering = true;
     this.ShowEvent.UseVisualStyleBackColor = true;
     this.ShowEvent.Click += new System.EventHandler(this.showEventButton_Click);
     //
     // panelForSignature
     //
     this.panelForSignature.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
     this.panelForSignature.Enabled = false;
     this.panelForSignature.Location = new System.Drawing.Point(376, 608);
     this.panelForSignature.Name = "panelForSignature";
     this.panelForSignature.Size = new System.Drawing.Size(168, 42);
     this.panelForSignature.TabIndex = 76;
     this.panelForSignature.Paint += new System.Windows.Forms.PaintEventHandler(this.panelForSignature_Paint);
     //
     // inkEdSignature
     //
     this.inkEdSignature.Cursor = System.Windows.Forms.Cursors.Default;
     this.inkEdSignature.InkMode = Microsoft.Ink.InkMode.Disabled;
     this.inkEdSignature.Location = new System.Drawing.Point(376, 578);
     this.inkEdSignature.Name = "inkEdSignature";
     this.inkEdSignature.Size = new System.Drawing.Size(168, 26);
     this.inkEdSignature.TabIndex = 77;
     this.inkEdSignature.Text = "";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.Location = new System.Drawing.Point(373, 553);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(77, 17);
     this.label1.TabIndex = 78;
     this.label1.Text = "Signature :";
     //
     // AutoClaims
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
     this.AutoScroll = true;
     this.AutoSize = true;
     this.BackColor = System.Drawing.Color.White;
     this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.ClientSize = new System.Drawing.Size(602, 676);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.inkEdSignature);
     this.Controls.Add(this.panelForSignature);
     this.Controls.Add(this.ShowEvent);
     this.Controls.Add(this.inkEdModel);
     this.Controls.Add(this.inkEdMake);
     this.Controls.Add(this.inkEdYear);
     this.Controls.Add(this.inkEdName);
     this.Controls.Add(this.inkEdPolicyNumber);
     this.Controls.Add(this.lstAnnotationLayer);
     this.Controls.Add(this.inkPictVehicle);
     this.Controls.Add(this.lblVehicleDamage);
     this.Controls.Add(this.lblVehicleDescription);
     this.Controls.Add(this.lblModel);
     this.Controls.Add(this.lblYear);
     this.Controls.Add(this.lblMake);
     this.Controls.Add(this.lblPolicyNumber);
     this.Controls.Add(this.lblInsuredName);
     this.Controls.Add(this.chHideLayer);
     this.Controls.Add(this.pictHorzontalBar2);
     this.Controls.Add(this.pictVehicleBox);
     this.Controls.Add(this.pictHorzontalBar3);
     this.Controls.Add(this.pictPolicyBox);
     this.Controls.Add(this.pictHorzontalBar1);
     this.Controls.Add(this.lblInstructions);
     this.Controls.Add(this.lblTitle);
     this.Controls.Add(this.pictCheckmarks);
     this.Name = "AutoClaims";
     this.StartPosition = System.Windows.Forms.FormStartPosition.Manual;
     this.Text = "TIPAutoClaims";
     this.TopMost = true;
     this.Load += new System.EventHandler(this.AutoClaims_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictVehicleBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictPolicyBox)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictHorzontalBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictCheckmarks)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.inkPictVehicle)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }