//--------------------------------------------------------------------------------------------------------------------------------------------------- //Program Listing for: hod_entry.cs //Project: appeals.net //Namespace: cs //---------------------------------------------------------------------------------------------------------------------------------------------------- using System; using System.Drawing; using System.Collections; using System.ComponentModel; using System.Windows.Forms; using System.Data; namespace HODecisionEntry { /// <summary> /// entry and decision entry form, appeals program /// uses my own custom data controls, accessing data via /// XML Services /// </summary> public class entryForm : System.Windows.Forms.Form { private System.Windows.Forms.DataGrid dataGrid1; private MyTextBox txtTaxpayer; private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label label3; private MyTextBox txtnpetnc; private MyTextBox txtnresnc; private MyTextBox txtnboardnc; private System.Windows.Forms.Label label4; private System.Windows.Forms.Label label5; private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label7; private System.Windows.Forms.ToolTip toolTip1; private MyTextBox txtSboeFCV; private MyTextBox txtSboeLPV; private MyTextBox txtSboeLand; private MyTextBox txtSboeImprov; private MyTextBox txtParcel; private System.Windows.Forms.Label label11; private MyTextBox txtWorkYear; private System.Windows.Forms.Button btnNext; private System.Windows.Forms.Button btnPrior; private System.Windows.Forms.Button btnTop; private System.Windows.Forms.Button btnBottom; private System.Windows.Forms.Button btnSave; private System.Windows.Forms.GroupBox groupBox1; private System.Windows.Forms.GroupBox groupBox2; private System.Windows.Forms.Label label12; private MyTextBox txtRollNo; private System.ComponentModel.IContainer components; private System.Windows.Forms.Label label8; private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label13; private System.Windows.Forms.Label label14; private System.Windows.Forms.Label label15; private System.Windows.Forms.Label label16; private System.Windows.Forms.Label label17; private MyTextBox txtownland; private MyTextBox txtownimprov; private MyTextBox txtownfcv; private MyTextBox txtownlpv; private MyTextBox txtSboeClass; private MyTextBox txtSboeRatio; private MyTextBox txtownratio; private MyTextBox txtownclass; private MyTextBox txtassland; private MyTextBox txtassimprov; private MyTextBox txtassfcv; private MyTextBox txtasslpv; private MyTextBox txtassRatio; private MyTextBox txtassClass; private System.Windows.Forms.Label lblPosition; private System.Windows.Forms.Label label18; private System.Windows.Forms.Label lblStatus; private System.Windows.Forms.Button btnUndo; private System.Windows.Forms.Label label19; private System.Windows.Forms.Label label20; private MyTextBox txtLastChangeWhen; private MyTextBox txtLastChangeBy; private System.Windows.Forms.Label label21; private System.Windows.Forms.ComboBox cmbRuleChoice; private System.Windows.Forms.Label label22; private MyTextBox txtLastLPV; private System.Windows.Forms.Button cmdVerify; private System.Windows.Forms.Button cmdLookup; private System.Windows.Forms.Button cmdNoChangeAll; private System.Windows.Forms.Button cmdExit; private System.Windows.Forms.Button cmdClear; private System.Windows.Forms.Button cmdNCCode; private System.Windows.Forms.Label label23; private MyTextBox txtAddress1; private MyTextBox txtAddress2; private MyTextBox txtCity; private MyTextBox txtState; private MyTextBox txtZip; private System.Windows.Forms.Label label24; private System.Windows.Forms.Button cmdNA; private System.Windows.Forms.Label label25; private System.Windows.Forms.Label label26; private System.Windows.Forms.Label label27; private System.Windows.Forms.Label label28; private System.Windows.Forms.Label label29; private System.Windows.Forms.Label label30; private MyTextBox txtAgentID; private MyTextBox txtAgentAdd1; private MyTextBox txtAgentCity; private System.Windows.Forms.Label label31; private MyTextBox txtAgentState; private MyTextBox txtAgentZip; private MyTextBox txtAgentName; private MyTextBox txtAgentCompany; private MyTextBox txtAgentPhone; private MyTextBox txtAgentFax; private MyTextBox txtPhone; private System.Windows.Forms.Label label32; private MyTextBox txtEmail; private System.Windows.Forms.Label label33; private MyTextBox txtAgentEmail; private System.Windows.Forms.Label label34; private System.Windows.Forms.ComboBox cmbDocket; private System.Windows.Forms.Button cmdSetAll; private System.Windows.Forms.Label label35; private System.Windows.Forms.Label label36; private MyTextBox txtAppealYear; private MyTextBox txtReceived; private MyTextBox txtAppealType; private System.Windows.Forms.Label label37; private MyTextBox txtCountyNo; private System.Windows.Forms.Label label38; private MyTextBox txtCountyName; private MyTextBox txtStatus; private System.Windows.Forms.Label label39; private System.Windows.Forms.Label label41; private MyTextBox txtAssessorCode; private System.Windows.Forms.CheckBox chkTimely; private MyTextBox txtUseCode; private System.Windows.Forms.Label label42; private MyTextBox txtCountyUseCode; private System.Windows.Forms.Label label43; private HODecisionEntry.MyTextBox txtBook; private HODecisionEntry.MyTextBox txtMap; private HODecisionEntry.MyTextBox txtParcelExt; // the two main tables used by this form. note that they are set to null when // not being used DataTable appealsTable; DataTable petitionTable; // the last petitionID (this is a key id for petition table) used by the last lookup, used for the update // procedure private int lastPetitionID; // current position within appeals datatable, current record private int curRowPos; // count appeals table datarows private int lastRowCount; // useful for resizing int gridWidthDifferential; int gridHeightDifferential; private System.Windows.Forms.Button cmdParcelLookup; // type of form, if true, most fields will be readonly and only critical entry fields will be // editable and saved. bool decisionEntry; /// <summary> /// useful enum for keeping track of type or row type parameter for RefreshRow /// method /// </summary> private enum RefreshRowType { AppealsOnly, AllTables } /// <summary> /// form constructor /// </summary> public entryForm(bool decisionEntry) { // // Required for Windows Form Designer support // InitializeComponent(); // you have to setup a security context or, put simply, the program will not run from a default // Windows 2000 client. AppDomain.CurrentDomain.SetPrincipalPolicy(System.Security.Principal.PrincipalPolicy.UnauthenticatedPrincipal); System.Security.Permissions.PrincipalPermission myPerm = new System.Security.Permissions.PrincipalPermission(null, "BUILTIN\\Administrators"); // keep track of type of display, decision entry or normal this.decisionEntry = decisionEntry; if (decisionEntry) { this.Text = "Decision Entry"; cmdParcelLookup.Visible = false; } else { this.Text = "Petition Entry"; cmdParcelLookup.Visible = true; } // initialization curRowPos = 0; lastRowCount = 0; lastPetitionID = 0; cmbDocket.Focus(); appealsTable = null; petitionTable = null; // useful variables for resizing, basically this saves the grid's position against the default loaded screen // and when resizing, this differential keeps the grid sized to fill out the full bottom of the screen // causing it to "expand" or "contract" based on the form resizing. gridWidthDifferential = this.Size.Width - dataGrid1.Size.Width; gridHeightDifferential = this.Size.Height - dataGrid1.Size.Height; SetFields(this); // via HomeEmail you can send email strings, for example, to handle errors //HomeEmail( "test", "appeals.net version started"); } /// <summary> /// send an email to my home email, useful for bug tracking /// </summary> private void HomeEmail(string subject, string body) { MyEmail.SendEmail(@"webmaster@sboe.state.az.us;scottlaing@cox.net", subject, body, "H"); } /// <summary> /// Clean up any resources being used. /// </summary> protected override void Dispose(bool disposing) { if (disposing) { if (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() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(entryForm)); this.cmdLookup = new System.Windows.Forms.Button(); this.dataGrid1 = new System.Windows.Forms.DataGrid(); this.txtTaxpayer = new HODecisionEntry.MyTextBox(); this.label1 = new System.Windows.Forms.Label(); this.txtWorkYear = new HODecisionEntry.MyTextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.txtnpetnc = new HODecisionEntry.MyTextBox(); this.txtnresnc = new HODecisionEntry.MyTextBox(); this.txtnboardnc = new HODecisionEntry.MyTextBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.txtSboeFCV = new HODecisionEntry.MyTextBox(); this.txtSboeLPV = new HODecisionEntry.MyTextBox(); this.txtSboeLand = new HODecisionEntry.MyTextBox(); this.txtSboeImprov = new HODecisionEntry.MyTextBox(); this.label7 = new System.Windows.Forms.Label(); this.btnNext = new System.Windows.Forms.Button(); this.btnPrior = new System.Windows.Forms.Button(); this.btnTop = new System.Windows.Forms.Button(); this.btnBottom = new System.Windows.Forms.Button(); this.btnSave = new System.Windows.Forms.Button(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.cmdExit = new System.Windows.Forms.Button(); this.cmdClear = new System.Windows.Forms.Button(); this.btnUndo = new System.Windows.Forms.Button(); this.cmdNA = new System.Windows.Forms.Button(); this.cmdVerify = new System.Windows.Forms.Button(); this.cmdNoChangeAll = new System.Windows.Forms.Button(); this.cmdSetAll = new System.Windows.Forms.Button(); this.cmdParcelLookup = new System.Windows.Forms.Button(); this.txtParcel = new HODecisionEntry.MyTextBox(); this.label11 = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbDocket = new System.Windows.Forms.ComboBox(); this.lblStatus = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.txtParcelExt = new HODecisionEntry.MyTextBox(); this.txtMap = new HODecisionEntry.MyTextBox(); this.txtBook = new HODecisionEntry.MyTextBox(); this.txtCountyUseCode = new HODecisionEntry.MyTextBox(); this.label43 = new System.Windows.Forms.Label(); this.txtUseCode = new HODecisionEntry.MyTextBox(); this.label42 = new System.Windows.Forms.Label(); this.chkTimely = new System.Windows.Forms.CheckBox(); this.txtAssessorCode = new HODecisionEntry.MyTextBox(); this.label41 = new System.Windows.Forms.Label(); this.txtStatus = new HODecisionEntry.MyTextBox(); this.label39 = new System.Windows.Forms.Label(); this.txtCountyName = new HODecisionEntry.MyTextBox(); this.txtCountyNo = new HODecisionEntry.MyTextBox(); this.label38 = new System.Windows.Forms.Label(); this.txtAppealType = new HODecisionEntry.MyTextBox(); this.label37 = new System.Windows.Forms.Label(); this.txtReceived = new HODecisionEntry.MyTextBox(); this.txtAppealYear = new HODecisionEntry.MyTextBox(); this.label36 = new System.Windows.Forms.Label(); this.label35 = new System.Windows.Forms.Label(); this.txtAgentEmail = new HODecisionEntry.MyTextBox(); this.label34 = new System.Windows.Forms.Label(); this.txtEmail = new HODecisionEntry.MyTextBox(); this.label33 = new System.Windows.Forms.Label(); this.txtPhone = new HODecisionEntry.MyTextBox(); this.label32 = new System.Windows.Forms.Label(); this.txtAgentFax = new HODecisionEntry.MyTextBox(); this.txtAgentPhone = new HODecisionEntry.MyTextBox(); this.txtAgentZip = new HODecisionEntry.MyTextBox(); this.txtAgentState = new HODecisionEntry.MyTextBox(); this.label31 = new System.Windows.Forms.Label(); this.txtAgentCity = new HODecisionEntry.MyTextBox(); this.txtAgentAdd1 = new HODecisionEntry.MyTextBox(); this.txtAgentCompany = new HODecisionEntry.MyTextBox(); this.txtAgentName = new HODecisionEntry.MyTextBox(); this.txtAgentID = new HODecisionEntry.MyTextBox(); this.label30 = new System.Windows.Forms.Label(); this.label29 = new System.Windows.Forms.Label(); this.label28 = new System.Windows.Forms.Label(); this.label26 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label(); this.label24 = new System.Windows.Forms.Label(); this.txtZip = new HODecisionEntry.MyTextBox(); this.txtState = new HODecisionEntry.MyTextBox(); this.txtCity = new HODecisionEntry.MyTextBox(); this.txtAddress2 = new HODecisionEntry.MyTextBox(); this.label23 = new System.Windows.Forms.Label(); this.txtAddress1 = new HODecisionEntry.MyTextBox(); this.txtLastLPV = new HODecisionEntry.MyTextBox(); this.label22 = new System.Windows.Forms.Label(); this.cmbRuleChoice = new System.Windows.Forms.ComboBox(); this.label21 = new System.Windows.Forms.Label(); this.txtLastChangeWhen = new HODecisionEntry.MyTextBox(); this.txtLastChangeBy = new HODecisionEntry.MyTextBox(); this.cmdNCCode = new System.Windows.Forms.Button(); this.label18 = new System.Windows.Forms.Label(); this.txtownratio = new HODecisionEntry.MyTextBox(); this.txtownclass = new HODecisionEntry.MyTextBox(); this.txtassRatio = new HODecisionEntry.MyTextBox(); this.txtassClass = new HODecisionEntry.MyTextBox(); this.label17 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.txtSboeRatio = new HODecisionEntry.MyTextBox(); this.txtSboeClass = new HODecisionEntry.MyTextBox(); this.label15 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.txtownland = new HODecisionEntry.MyTextBox(); this.txtownimprov = new HODecisionEntry.MyTextBox(); this.txtownfcv = new HODecisionEntry.MyTextBox(); this.txtownlpv = new HODecisionEntry.MyTextBox(); this.txtassland = new HODecisionEntry.MyTextBox(); this.txtassimprov = new HODecisionEntry.MyTextBox(); this.txtassfcv = new HODecisionEntry.MyTextBox(); this.txtasslpv = new HODecisionEntry.MyTextBox(); this.txtRollNo = new HODecisionEntry.MyTextBox(); this.label12 = new System.Windows.Forms.Label(); this.label27 = new System.Windows.Forms.Label(); this.label20 = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.lblPosition = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).BeginInit(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // cmdLookup // this.cmdLookup.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdLookup.ForeColor = System.Drawing.Color.Blue; this.cmdLookup.Location = new System.Drawing.Point(228, 21); this.cmdLookup.Name = "cmdLookup"; this.cmdLookup.Size = new System.Drawing.Size(121, 29); this.cmdLookup.TabIndex = 2; this.cmdLookup.Text = "&Lookup Docket"; this.cmdLookup.Click += new System.EventHandler(this.cmdLookup_Click); // // dataGrid1 // this.dataGrid1.AlternatingBackColor = System.Drawing.Color.LightSalmon; this.dataGrid1.CaptionText = "Appeal Parcels"; this.dataGrid1.DataMember = ""; this.dataGrid1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGrid1.Location = new System.Drawing.Point(2, 544); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ReadOnly = true; this.dataGrid1.Size = new System.Drawing.Size(736, 132); this.dataGrid1.TabIndex = 1; this.dataGrid1.TabStop = false; this.dataGrid1.LocationChanged += new System.EventHandler(this.dataGrid1_LocationChanged); this.dataGrid1.CurrentCellChanged += new System.EventHandler(this.dataGrid1_CurrentCellChanged); // // txtTaxpayer // this.txtTaxpayer.BackColor = System.Drawing.Color.Beige; this.txtTaxpayer.DataField = "petition.ctaxpayer"; this.txtTaxpayer.DataSet = null; this.txtTaxpayer.DecisionReadonly = true; this.txtTaxpayer.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtTaxpayer.Location = new System.Drawing.Point(78, 80); this.txtTaxpayer.Name = "txtTaxpayer"; this.txtTaxpayer.Size = new System.Drawing.Size(286, 21); this.txtTaxpayer.TabIndex = 7; this.txtTaxpayer.TabStop = false; this.txtTaxpayer.Text = ""; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(90, 43); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(66, 14); this.label1.TabIndex = 6; this.label1.Text = "Work Year"; // // txtWorkYear // this.txtWorkYear.DataField = null; this.txtWorkYear.DataSet = null; this.txtWorkYear.Location = new System.Drawing.Point(136, 39); this.txtWorkYear.Name = "txtWorkYear"; this.txtWorkYear.Size = new System.Drawing.Size(50, 21); this.txtWorkYear.TabIndex = 1; this.txtWorkYear.Text = "2003"; this.txtWorkYear.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label2 // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(106, 18); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(46, 14); this.label2.TabIndex = 8; this.label2.Text = "Docket"; // // label3 // this.label3.AutoSize = true; this.label3.BackColor = System.Drawing.SystemColors.ControlLight; this.label3.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(14, 80); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(63, 14); this.label3.TabIndex = 9; this.label3.Text = "Tax Payer"; // // txtnpetnc // this.txtnpetnc.DataField = "appeals.npetnc"; this.txtnpetnc.DataSet = null; this.txtnpetnc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtnpetnc.Location = new System.Drawing.Point(30, 394); this.txtnpetnc.Name = "txtnpetnc"; this.txtnpetnc.Size = new System.Drawing.Size(56, 21); this.txtnpetnc.TabIndex = 49; this.txtnpetnc.Text = ""; this.txtnpetnc.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtnpetnc.Leave += new System.EventHandler(this.txtnpetnc_Leave); // // txtnresnc // this.txtnresnc.DataField = "appeals.nresnc"; this.txtnresnc.DataSet = null; this.txtnresnc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtnresnc.Location = new System.Drawing.Point(100, 394); this.txtnresnc.Name = "txtnresnc"; this.txtnresnc.Size = new System.Drawing.Size(56, 21); this.txtnresnc.TabIndex = 50; this.txtnresnc.Text = ""; this.txtnresnc.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtnresnc.Leave += new System.EventHandler(this.txtnresnc_Leave); // // txtnboardnc // this.txtnboardnc.DataField = "appeals.nboardnc"; this.txtnboardnc.DataSet = null; this.txtnboardnc.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtnboardnc.Location = new System.Drawing.Point(170, 394); this.txtnboardnc.Name = "txtnboardnc"; this.txtnboardnc.Size = new System.Drawing.Size(56, 21); this.txtnboardnc.TabIndex = 51; this.txtnboardnc.Text = ""; this.txtnboardnc.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtnboardnc.Leave += new System.EventHandler(this.txtnboardnc_Leave); // // label4 // this.label4.AutoSize = true; this.label4.BackColor = System.Drawing.SystemColors.ControlLight; this.label4.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label4.ForeColor = System.Drawing.Color.Black; this.label4.Location = new System.Drawing.Point(40, 374); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(45, 14); this.label4.TabIndex = 13; this.label4.Text = "Pet NC"; // // label5 // this.label5.AutoSize = true; this.label5.BackColor = System.Drawing.SystemColors.ControlLight; this.label5.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label5.ForeColor = System.Drawing.Color.Black; this.label5.Location = new System.Drawing.Point(112, 374); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(48, 14); this.label5.TabIndex = 14; this.label5.Text = "Res NC"; // // label6 // this.label6.AutoSize = true; this.label6.BackColor = System.Drawing.SystemColors.ControlLight; this.label6.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label6.ForeColor = System.Drawing.Color.Black; this.label6.Location = new System.Drawing.Point(175, 374); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(61, 14); this.label6.TabIndex = 15; this.label6.Text = "Board NC"; // // txtSboeFCV // this.txtSboeFCV.DataField = "appeals.nsboefcv"; this.txtSboeFCV.DataSet = null; this.txtSboeFCV.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeFCV.Location = new System.Drawing.Point(320, 339); this.txtSboeFCV.Name = "txtSboeFCV"; this.txtSboeFCV.TabIndex = 45; this.txtSboeFCV.Text = ""; this.txtSboeFCV.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtSboeFCV.Leave += new System.EventHandler(this.txtSboeFCV_Leave); this.txtSboeFCV.TextChanged += new System.EventHandler(this.txtSboeFCV_TextChanged); // // txtSboeLPV // this.txtSboeLPV.DataField = "appeals.nsboelpv"; this.txtSboeLPV.DataSet = null; this.txtSboeLPV.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeLPV.Location = new System.Drawing.Point(428, 339); this.txtSboeLPV.Name = "txtSboeLPV"; this.txtSboeLPV.TabIndex = 46; this.txtSboeLPV.Text = ""; this.txtSboeLPV.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtSboeLand // this.txtSboeLand.DataField = "appeals.nsboeland"; this.txtSboeLand.DataSet = null; this.txtSboeLand.DecisionReadonly = true; this.txtSboeLand.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeLand.Location = new System.Drawing.Point(99, 339); this.txtSboeLand.Name = "txtSboeLand"; this.txtSboeLand.TabIndex = 43; this.txtSboeLand.TabStop = false; this.txtSboeLand.Text = ""; this.txtSboeLand.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtSboeImprov // this.txtSboeImprov.DataField = "appeals.nsboeimprove"; this.txtSboeImprov.DataSet = null; this.txtSboeImprov.DecisionReadonly = true; this.txtSboeImprov.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeImprov.Location = new System.Drawing.Point(210, 339); this.txtSboeImprov.Name = "txtSboeImprov"; this.txtSboeImprov.TabIndex = 44; this.txtSboeImprov.TabStop = false; this.txtSboeImprov.Text = ""; this.txtSboeImprov.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label7 // this.label7.AutoSize = true; this.label7.BackColor = System.Drawing.SystemColors.ControlLight; this.label7.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label7.ForeColor = System.Drawing.Color.Black; this.label7.Location = new System.Drawing.Point(27, 344); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(40, 14); this.label7.TabIndex = 20; this.label7.Text = "SBOE"; // // btnNext // this.btnNext.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnNext.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnNext.Image"))); this.btnNext.Location = new System.Drawing.Point(692, 334); this.btnNext.Name = "btnNext"; this.btnNext.Size = new System.Drawing.Size(35, 30); this.btnNext.TabIndex = 10; this.btnNext.TabStop = false; this.toolTip1.SetToolTip(this.btnNext, "Next Parcel"); this.btnNext.Click += new System.EventHandler(this.btnNext_Click); // // btnPrior // this.btnPrior.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnPrior.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnPrior.Image"))); this.btnPrior.Location = new System.Drawing.Point(692, 304); this.btnPrior.Name = "btnPrior"; this.btnPrior.Size = new System.Drawing.Size(35, 30); this.btnPrior.TabIndex = 9; this.btnPrior.TabStop = false; this.toolTip1.SetToolTip(this.btnPrior, "Prior Parcel"); this.btnPrior.Click += new System.EventHandler(this.btnPrior_Click); // // btnTop // this.btnTop.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnTop.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnTop.Image"))); this.btnTop.Location = new System.Drawing.Point(692, 274); this.btnTop.Name = "btnTop"; this.btnTop.Size = new System.Drawing.Size(35, 30); this.btnTop.TabIndex = 8; this.btnTop.TabStop = false; this.toolTip1.SetToolTip(this.btnTop, "Top Parcel"); this.btnTop.Click += new System.EventHandler(this.btnTop_Click); // // btnBottom // this.btnBottom.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnBottom.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnBottom.Image"))); this.btnBottom.Location = new System.Drawing.Point(692, 364); this.btnBottom.Name = "btnBottom"; this.btnBottom.Size = new System.Drawing.Size(35, 30); this.btnBottom.TabIndex = 11; this.btnBottom.TabStop = false; this.toolTip1.SetToolTip(this.btnBottom, "Bottom Parcel"); this.btnBottom.Click += new System.EventHandler(this.btnBottom_Click); // // btnSave // this.btnSave.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnSave.Image"))); this.btnSave.Location = new System.Drawing.Point(559, 16); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(35, 30); this.btnSave.TabIndex = 0; this.toolTip1.SetToolTip(this.btnSave, "Save"); this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // cmdExit // this.cmdExit.Image = ((System.Drawing.Bitmap)(resources.GetObject("cmdExit.Image"))); this.cmdExit.Location = new System.Drawing.Point(684, 16); this.cmdExit.Name = "cmdExit"; this.cmdExit.Size = new System.Drawing.Size(35, 30); this.cmdExit.TabIndex = 3; this.toolTip1.SetToolTip(this.cmdExit, "Close"); this.cmdExit.Click += new System.EventHandler(this.cmdExit_Click); // // cmdClear // this.cmdClear.Image = ((System.Drawing.Bitmap)(resources.GetObject("cmdClear.Image"))); this.cmdClear.Location = new System.Drawing.Point(647, 16); this.cmdClear.Name = "cmdClear"; this.cmdClear.Size = new System.Drawing.Size(35, 30); this.cmdClear.TabIndex = 2; this.cmdClear.TabStop = false; this.toolTip1.SetToolTip(this.cmdClear, "Clear Form"); this.cmdClear.Click += new System.EventHandler(this.cmdClear_Click); // // btnUndo // this.btnUndo.Image = ((System.Drawing.Bitmap)(resources.GetObject("btnUndo.Image"))); this.btnUndo.Location = new System.Drawing.Point(596, 16); this.btnUndo.Name = "btnUndo"; this.btnUndo.Size = new System.Drawing.Size(35, 30); this.btnUndo.TabIndex = 1; this.btnUndo.TabStop = false; this.toolTip1.SetToolTip(this.btnUndo, "Revert/Lose Changes"); this.btnUndo.Click += new System.EventHandler(this.btnUndo_Click); // // cmdNA // this.cmdNA.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdNA.ForeColor = System.Drawing.Color.IndianRed; this.cmdNA.Location = new System.Drawing.Point(430, 370); this.cmdNA.Name = "cmdNA"; this.cmdNA.Size = new System.Drawing.Size(83, 23); this.cmdNA.TabIndex = 78; this.cmdNA.TabStop = false; this.cmdNA.Text = "Withdrawal"; this.toolTip1.SetToolTip(this.cmdNA, "Set all Values to N/A"); this.cmdNA.Click += new System.EventHandler(this.cmdNA_Click); // // cmdVerify // this.cmdVerify.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdVerify.ForeColor = System.Drawing.SystemColors.Highlight; this.cmdVerify.Location = new System.Drawing.Point(261, 370); this.cmdVerify.Name = "cmdVerify"; this.cmdVerify.Size = new System.Drawing.Size(59, 23); this.cmdVerify.TabIndex = 70; this.cmdVerify.TabStop = false; this.cmdVerify.Text = "Verify"; this.toolTip1.SetToolTip(this.cmdVerify, "Do Rule A Calc (if relevant) on Values"); this.cmdVerify.Click += new System.EventHandler(this.cmdVerify_Click); // // cmdNoChangeAll // this.cmdNoChangeAll.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdNoChangeAll.Location = new System.Drawing.Point(327, 370); this.cmdNoChangeAll.Name = "cmdNoChangeAll"; this.cmdNoChangeAll.Size = new System.Drawing.Size(98, 23); this.cmdNoChangeAll.TabIndex = 60; this.cmdNoChangeAll.TabStop = false; this.cmdNoChangeAll.Text = "No Change All"; this.toolTip1.SetToolTip(this.cmdNoChangeAll, "No Change All Parcels"); this.cmdNoChangeAll.Click += new System.EventHandler(this.cmdNoChangeAll_Click); // // cmdSetAll // this.cmdSetAll.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdSetAll.ForeColor = System.Drawing.Color.DarkSlateGray; this.cmdSetAll.Location = new System.Drawing.Point(519, 370); this.cmdSetAll.Name = "cmdSetAll"; this.cmdSetAll.Size = new System.Drawing.Size(102, 23); this.cmdSetAll.TabIndex = 101; this.cmdSetAll.TabStop = false; this.cmdSetAll.Text = "Set All Parcels"; this.toolTip1.SetToolTip(this.cmdSetAll, "Set All Parcel Values to the Same as Current Parcel Values"); this.cmdSetAll.Click += new System.EventHandler(this.cmdSetAll_Click); // // cmdParcelLookup // this.cmdParcelLookup.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdParcelLookup.ForeColor = System.Drawing.Color.SaddleBrown; this.cmdParcelLookup.Location = new System.Drawing.Point(11, 223); this.cmdParcelLookup.Name = "cmdParcelLookup"; this.cmdParcelLookup.Size = new System.Drawing.Size(104, 23); this.cmdParcelLookup.TabIndex = 123; this.cmdParcelLookup.TabStop = false; this.cmdParcelLookup.Text = "Parcel Lookup"; this.toolTip1.SetToolTip(this.cmdParcelLookup, "Lookup this Parcel values in database"); // // txtParcel // this.txtParcel.BackColor = System.Drawing.Color.AntiqueWhite; this.txtParcel.DataField = null; this.txtParcel.DataSet = null; this.txtParcel.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtParcel.ForeColor = System.Drawing.Color.Black; this.txtParcel.Location = new System.Drawing.Point(625, 14); this.txtParcel.Name = "txtParcel"; this.txtParcel.ReadOnly = true; this.txtParcel.TabIndex = 29; this.txtParcel.TabStop = false; this.txtParcel.Text = ""; this.txtParcel.Visible = false; // // label11 // this.label11.AutoSize = true; this.label11.BackColor = System.Drawing.Color.Transparent; this.label11.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label11.ForeColor = System.Drawing.Color.Black; this.label11.Location = new System.Drawing.Point(90, 250); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(42, 14); this.label11.TabIndex = 30; this.label11.Text = "Parcel"; // // groupBox1 // this.groupBox1.Controls.AddRange(new System.Windows.Forms.Control[] { this.cmdLookup, this.cmbDocket, this.txtWorkYear}); this.groupBox1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupBox1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(64)), ((System.Byte)(0))); this.groupBox1.Location = new System.Drawing.Point(26, 2); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(453, 69); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Lookup Docket"; // // cmbDocket // this.cmbDocket.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmbDocket.Location = new System.Drawing.Point(135, 12); this.cmbDocket.Name = "cmbDocket"; this.cmbDocket.Size = new System.Drawing.Size(79, 23); this.cmbDocket.TabIndex = 0; // // lblStatus // this.lblStatus.BackColor = System.Drawing.Color.Honeydew; this.lblStatus.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.lblStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblStatus.Location = new System.Drawing.Point(363, 62); this.lblStatus.Name = "lblStatus"; this.lblStatus.Size = new System.Drawing.Size(107, 17); this.lblStatus.TabIndex = 0; // // groupBox2 // this.groupBox2.Controls.AddRange(new System.Windows.Forms.Control[] { this.cmdParcelLookup, this.txtParcelExt, this.txtMap, this.txtBook, this.txtCountyUseCode, this.label43, this.txtUseCode, this.label42, this.chkTimely, this.txtAssessorCode, this.label41, this.txtStatus, this.label39, this.txtCountyName, this.txtCountyNo, this.label38, this.txtAppealType, this.label37, this.txtReceived, this.txtAppealYear, this.label36, this.label35, this.cmdSetAll, this.txtAgentEmail, this.label34, this.txtEmail, this.label33, this.txtPhone, this.label32, this.txtAgentFax, this.txtAgentPhone, this.txtAgentZip, this.txtAgentState, this.label31, this.txtAgentCity, this.txtAgentAdd1, this.txtAgentCompany, this.txtAgentName, this.txtAgentID, this.label30, this.label29, this.label28, this.label26, this.label25, this.cmdNA, this.label24, this.txtZip, this.txtState, this.txtCity, this.txtAddress2, this.label23, this.txtAddress1, this.cmdVerify, this.txtLastLPV, this.label22, this.cmbRuleChoice, this.label21, this.txtLastChangeWhen, this.txtLastChangeBy, this.cmdNCCode, this.cmdNoChangeAll, this.label18, this.txtownratio, this.txtownclass, this.txtassRatio, this.txtassClass, this.label17, this.label16, this.txtSboeRatio, this.txtSboeClass, this.label15, this.label14, this.label13, this.label10, this.label9, this.label8, this.txtownland, this.txtownimprov, this.txtownfcv, this.txtownlpv, this.txtassland, this.txtassimprov, this.txtassfcv, this.txtasslpv, this.txtRollNo, this.label12, this.btnBottom, this.btnPrior, this.btnTop, this.btnNext, this.txtSboeLand, this.label7, this.txtSboeImprov, this.txtSboeFCV, this.txtSboeLPV, this.txtnboardnc, this.label5, this.label4, this.label6, this.txtnpetnc, this.txtnresnc, this.label11, this.txtParcel, this.txtTaxpayer, this.label3, this.label27, this.label20, this.label19, this.lblPosition}); this.groupBox2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.groupBox2.ForeColor = System.Drawing.Color.Green; this.groupBox2.Location = new System.Drawing.Point(2, 80); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(737, 461); this.groupBox2.TabIndex = 33; this.groupBox2.TabStop = false; this.groupBox2.Text = "Docket Values"; this.groupBox2.Enter += new System.EventHandler(this.groupBox2_Enter); // // txtParcelExt // this.txtParcelExt.BackColor = System.Drawing.Color.AntiqueWhite; this.txtParcelExt.DataField = "appeals.cparcel"; this.txtParcelExt.DataSet = null; this.txtParcelExt.DecisionReadonly = true; this.txtParcelExt.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtParcelExt.ForeColor = System.Drawing.Color.Black; this.txtParcelExt.Location = new System.Drawing.Point(208, 248); this.txtParcelExt.Name = "txtParcelExt"; this.txtParcelExt.Size = new System.Drawing.Size(44, 21); this.txtParcelExt.TabIndex = 27; this.txtParcelExt.TabStop = false; this.txtParcelExt.Text = ""; // // txtMap // this.txtMap.BackColor = System.Drawing.Color.AntiqueWhite; this.txtMap.DataField = "appeals.nmap"; this.txtMap.DataSet = null; this.txtMap.DecisionReadonly = true; this.txtMap.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtMap.ForeColor = System.Drawing.Color.Black; this.txtMap.Location = new System.Drawing.Point(173, 248); this.txtMap.Name = "txtMap"; this.txtMap.Size = new System.Drawing.Size(29, 21); this.txtMap.TabIndex = 26; this.txtMap.TabStop = false; this.txtMap.Text = ""; // // txtBook // this.txtBook.BackColor = System.Drawing.Color.AntiqueWhite; this.txtBook.DataField = "appeals.nbook"; this.txtBook.DataSet = null; this.txtBook.DecisionReadonly = true; this.txtBook.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtBook.ForeColor = System.Drawing.Color.Black; this.txtBook.Location = new System.Drawing.Point(134, 248); this.txtBook.Name = "txtBook"; this.txtBook.Size = new System.Drawing.Size(34, 21); this.txtBook.TabIndex = 25; this.txtBook.TabStop = false; this.txtBook.Text = ""; // // txtCountyUseCode // this.txtCountyUseCode.BackColor = System.Drawing.Color.Thistle; this.txtCountyUseCode.DataField = "appeals.ncntyusecode"; this.txtCountyUseCode.DataSet = null; this.txtCountyUseCode.DecisionReadonly = true; this.txtCountyUseCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtCountyUseCode.ForeColor = System.Drawing.Color.Black; this.txtCountyUseCode.Location = new System.Drawing.Point(626, 248); this.txtCountyUseCode.Name = "txtCountyUseCode"; this.txtCountyUseCode.Size = new System.Drawing.Size(58, 21); this.txtCountyUseCode.TabIndex = 30; this.txtCountyUseCode.TabStop = false; this.txtCountyUseCode.Text = ""; this.txtCountyUseCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label43 // this.label43.AutoSize = true; this.label43.BackColor = System.Drawing.Color.Transparent; this.label43.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label43.ForeColor = System.Drawing.Color.Black; this.label43.Location = new System.Drawing.Point(571, 250); this.label43.Name = "label43"; this.label43.Size = new System.Drawing.Size(53, 14); this.label43.TabIndex = 122; this.label43.Text = "Cnty UC"; // // txtUseCode // this.txtUseCode.BackColor = System.Drawing.Color.Thistle; this.txtUseCode.DataField = "appeals.cusecode"; this.txtUseCode.DataSet = null; this.txtUseCode.DecisionReadonly = true; this.txtUseCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtUseCode.ForeColor = System.Drawing.Color.Black; this.txtUseCode.Location = new System.Drawing.Point(503, 248); this.txtUseCode.Name = "txtUseCode"; this.txtUseCode.Size = new System.Drawing.Size(58, 21); this.txtUseCode.TabIndex = 29; this.txtUseCode.TabStop = false; this.txtUseCode.Text = ""; this.txtUseCode.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label42 // this.label42.AutoSize = true; this.label42.BackColor = System.Drawing.Color.Transparent; this.label42.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label42.ForeColor = System.Drawing.Color.Black; this.label42.Location = new System.Drawing.Point(438, 250); this.label42.Name = "label42"; this.label42.Size = new System.Drawing.Size(62, 14); this.label42.TabIndex = 120; this.label42.Text = "Use Code"; // // chkTimely // this.chkTimely.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.chkTimely.ForeColor = System.Drawing.Color.Teal; this.chkTimely.Location = new System.Drawing.Point(542, 19); this.chkTimely.Name = "chkTimely"; this.chkTimely.Size = new System.Drawing.Size(104, 18); this.chkTimely.TabIndex = 6; this.chkTimely.Text = "Timely Filed"; // // txtAssessorCode // this.txtAssessorCode.BackColor = System.Drawing.Color.PowderBlue; this.txtAssessorCode.DataField = "petition.ccityarea"; this.txtAssessorCode.DataSet = null; this.txtAssessorCode.DecisionReadonly = true; this.txtAssessorCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAssessorCode.Location = new System.Drawing.Point(564, 44); this.txtAssessorCode.Name = "txtAssessorCode"; this.txtAssessorCode.Size = new System.Drawing.Size(46, 21); this.txtAssessorCode.TabIndex = 5; this.txtAssessorCode.TabStop = false; this.txtAssessorCode.Text = ""; // // label41 // this.label41.AutoSize = true; this.label41.BackColor = System.Drawing.Color.Transparent; this.label41.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label41.ForeColor = System.Drawing.Color.Black; this.label41.Location = new System.Drawing.Point(461, 46); this.label41.Name = "label41"; this.label41.Size = new System.Drawing.Size(94, 14); this.label41.TabIndex = 114; this.label41.Text = "Assessor Code"; // // txtStatus // this.txtStatus.BackColor = System.Drawing.Color.PowderBlue; this.txtStatus.DataField = "petition.cstatus"; this.txtStatus.DataSet = null; this.txtStatus.DecisionReadonly = true; this.txtStatus.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtStatus.Location = new System.Drawing.Point(357, 45); this.txtStatus.Name = "txtStatus"; this.txtStatus.Size = new System.Drawing.Size(46, 21); this.txtStatus.TabIndex = 4; this.txtStatus.TabStop = false; this.txtStatus.Text = ""; // // label39 // this.label39.AutoSize = true; this.label39.BackColor = System.Drawing.SystemColors.ControlLight; this.label39.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label39.ForeColor = System.Drawing.Color.Black; this.label39.Location = new System.Drawing.Point(309, 48); this.label39.Name = "label39"; this.label39.Size = new System.Drawing.Size(42, 14); this.label39.TabIndex = 111; this.label39.Text = "Status"; // // txtCountyName // this.txtCountyName.BackColor = System.Drawing.SystemColors.ActiveBorder; this.txtCountyName.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtCountyName.DataField = null; this.txtCountyName.DataSet = null; this.txtCountyName.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtCountyName.Location = new System.Drawing.Point(141, 51); this.txtCountyName.Name = "txtCountyName"; this.txtCountyName.ReadOnly = true; this.txtCountyName.Size = new System.Drawing.Size(128, 14); this.txtCountyName.TabIndex = 110; this.txtCountyName.TabStop = false; this.txtCountyName.Text = ""; // // txtCountyNo // this.txtCountyNo.BackColor = System.Drawing.Color.PowderBlue; this.txtCountyNo.DataField = "petition.ncountycode"; this.txtCountyNo.DataSet = null; this.txtCountyNo.DecisionReadonly = true; this.txtCountyNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtCountyNo.Location = new System.Drawing.Point(88, 45); this.txtCountyNo.Name = "txtCountyNo"; this.txtCountyNo.Size = new System.Drawing.Size(35, 21); this.txtCountyNo.TabIndex = 3; this.txtCountyNo.TabStop = false; this.txtCountyNo.Text = ""; // // label38 // this.label38.AutoSize = true; this.label38.BackColor = System.Drawing.SystemColors.ControlLight; this.label38.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label38.ForeColor = System.Drawing.Color.Black; this.label38.Location = new System.Drawing.Point(27, 47); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(47, 14); this.label38.TabIndex = 108; this.label38.Text = "County"; // // txtAppealType // this.txtAppealType.BackColor = System.Drawing.Color.PowderBlue; this.txtAppealType.DataField = "petition.cappealtype"; this.txtAppealType.DataSet = null; this.txtAppealType.DecisionReadonly = true; this.txtAppealType.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAppealType.Location = new System.Drawing.Point(435, 19); this.txtAppealType.Name = "txtAppealType"; this.txtAppealType.Size = new System.Drawing.Size(75, 21); this.txtAppealType.TabIndex = 2; this.txtAppealType.TabStop = false; this.txtAppealType.Text = ""; // // label37 // this.label37.AutoSize = true; this.label37.BackColor = System.Drawing.SystemColors.ControlLight; this.label37.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label37.ForeColor = System.Drawing.Color.Black; this.label37.Location = new System.Drawing.Point(350, 22); this.label37.Name = "label37"; this.label37.Size = new System.Drawing.Size(78, 14); this.label37.TabIndex = 106; this.label37.Text = "Appeal Type"; // // txtReceived // this.txtReceived.BackColor = System.Drawing.Color.PowderBlue; this.txtReceived.DataField = "petition.dreceived"; this.txtReceived.DataSet = null; this.txtReceived.DecisionReadonly = true; this.txtReceived.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtReceived.Location = new System.Drawing.Point(244, 19); this.txtReceived.Name = "txtReceived"; this.txtReceived.Size = new System.Drawing.Size(75, 21); this.txtReceived.TabIndex = 1; this.txtReceived.TabStop = false; this.txtReceived.Text = ""; // // txtAppealYear // this.txtAppealYear.BackColor = System.Drawing.Color.PowderBlue; this.txtAppealYear.DataField = "petition.nappealyear"; this.txtAppealYear.DataSet = null; this.txtAppealYear.DecisionReadonly = true; this.txtAppealYear.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAppealYear.Location = new System.Drawing.Point(90, 19); this.txtAppealYear.Name = "txtAppealYear"; this.txtAppealYear.Size = new System.Drawing.Size(58, 21); this.txtAppealYear.TabIndex = 0; this.txtAppealYear.TabStop = false; this.txtAppealYear.Text = ""; // // label36 // this.label36.AutoSize = true; this.label36.BackColor = System.Drawing.SystemColors.ControlLight; this.label36.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label36.ForeColor = System.Drawing.Color.Black; this.label36.Location = new System.Drawing.Point(181, 21); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(59, 14); this.label36.TabIndex = 103; this.label36.Text = "Received"; // // label35 // this.label35.AutoSize = true; this.label35.BackColor = System.Drawing.SystemColors.ControlLight; this.label35.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label35.ForeColor = System.Drawing.Color.Black; this.label35.Location = new System.Drawing.Point(13, 20); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(76, 14); this.label35.TabIndex = 102; this.label35.Text = "Appeal Year"; // // txtAgentEmail // this.txtAgentEmail.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentEmail.DataField = null; this.txtAgentEmail.DataSet = null; this.txtAgentEmail.DecisionReadonly = true; this.txtAgentEmail.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentEmail.Location = new System.Drawing.Point(414, 212); this.txtAgentEmail.Name = "txtAgentEmail"; this.txtAgentEmail.ReadOnly = true; this.txtAgentEmail.Size = new System.Drawing.Size(282, 21); this.txtAgentEmail.TabIndex = 24; this.txtAgentEmail.TabStop = false; this.txtAgentEmail.Text = ""; // // label34 // this.label34.AutoSize = true; this.label34.BackColor = System.Drawing.SystemColors.ControlLight; this.label34.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label34.ForeColor = System.Drawing.Color.Black; this.label34.Location = new System.Drawing.Point(364, 214); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(37, 14); this.label34.TabIndex = 99; this.label34.Text = "Email"; // // txtEmail // this.txtEmail.BackColor = System.Drawing.Color.Beige; this.txtEmail.DataField = "petition.cemail"; this.txtEmail.DataSet = null; this.txtEmail.DecisionReadonly = true; this.txtEmail.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtEmail.Location = new System.Drawing.Point(78, 198); this.txtEmail.Name = "txtEmail"; this.txtEmail.Size = new System.Drawing.Size(204, 21); this.txtEmail.TabIndex = 14; this.txtEmail.TabStop = false; this.txtEmail.Text = ""; // // label33 // this.label33.AutoSize = true; this.label33.BackColor = System.Drawing.SystemColors.ControlLight; this.label33.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label33.ForeColor = System.Drawing.Color.Black; this.label33.Location = new System.Drawing.Point(14, 200); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(37, 14); this.label33.TabIndex = 97; this.label33.Text = "Email"; // // txtPhone // this.txtPhone.BackColor = System.Drawing.Color.Beige; this.txtPhone.DataField = "petition.cphonenum"; this.txtPhone.DataSet = null; this.txtPhone.DecisionReadonly = true; this.txtPhone.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtPhone.Location = new System.Drawing.Point(78, 173); this.txtPhone.Name = "txtPhone"; this.txtPhone.Size = new System.Drawing.Size(126, 21); this.txtPhone.TabIndex = 13; this.txtPhone.TabStop = false; this.txtPhone.Text = ""; // // label32 // this.label32.AutoSize = true; this.label32.BackColor = System.Drawing.SystemColors.ControlLight; this.label32.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label32.ForeColor = System.Drawing.Color.Black; this.label32.Location = new System.Drawing.Point(14, 175); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(42, 14); this.label32.TabIndex = 95; this.label32.Text = "Phone"; // // txtAgentFax // this.txtAgentFax.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentFax.DataField = null; this.txtAgentFax.DataSet = null; this.txtAgentFax.DecisionReadonly = true; this.txtAgentFax.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentFax.Location = new System.Drawing.Point(577, 189); this.txtAgentFax.Name = "txtAgentFax"; this.txtAgentFax.ReadOnly = true; this.txtAgentFax.Size = new System.Drawing.Size(119, 21); this.txtAgentFax.TabIndex = 23; this.txtAgentFax.TabStop = false; this.txtAgentFax.Text = ""; // // txtAgentPhone // this.txtAgentPhone.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentPhone.DataField = null; this.txtAgentPhone.DataSet = null; this.txtAgentPhone.DecisionReadonly = true; this.txtAgentPhone.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentPhone.Location = new System.Drawing.Point(415, 189); this.txtAgentPhone.Name = "txtAgentPhone"; this.txtAgentPhone.ReadOnly = true; this.txtAgentPhone.Size = new System.Drawing.Size(126, 21); this.txtAgentPhone.TabIndex = 22; this.txtAgentPhone.TabStop = false; this.txtAgentPhone.Text = ""; // // txtAgentZip // this.txtAgentZip.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentZip.DataField = null; this.txtAgentZip.DataSet = null; this.txtAgentZip.DecisionReadonly = true; this.txtAgentZip.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentZip.Location = new System.Drawing.Point(622, 164); this.txtAgentZip.Name = "txtAgentZip"; this.txtAgentZip.ReadOnly = true; this.txtAgentZip.Size = new System.Drawing.Size(79, 21); this.txtAgentZip.TabIndex = 21; this.txtAgentZip.TabStop = false; this.txtAgentZip.Text = ""; // // txtAgentState // this.txtAgentState.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentState.DataField = null; this.txtAgentState.DataSet = null; this.txtAgentState.DecisionReadonly = true; this.txtAgentState.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentState.Location = new System.Drawing.Point(585, 164); this.txtAgentState.Name = "txtAgentState"; this.txtAgentState.ReadOnly = true; this.txtAgentState.Size = new System.Drawing.Size(32, 21); this.txtAgentState.TabIndex = 20; this.txtAgentState.TabStop = false; this.txtAgentState.Text = ""; // // label31 // this.label31.AutoSize = true; this.label31.BackColor = System.Drawing.SystemColors.ControlLight; this.label31.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label31.ForeColor = System.Drawing.Color.Black; this.label31.Location = new System.Drawing.Point(377, 166); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(28, 14); this.label31.TabIndex = 90; this.label31.Text = "City"; // // txtAgentCity // this.txtAgentCity.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentCity.DataField = null; this.txtAgentCity.DataSet = null; this.txtAgentCity.DecisionReadonly = true; this.txtAgentCity.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentCity.Location = new System.Drawing.Point(434, 164); this.txtAgentCity.Name = "txtAgentCity"; this.txtAgentCity.ReadOnly = true; this.txtAgentCity.Size = new System.Drawing.Size(148, 21); this.txtAgentCity.TabIndex = 19; this.txtAgentCity.TabStop = false; this.txtAgentCity.Text = ""; // // txtAgentAdd1 // this.txtAgentAdd1.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentAdd1.DataField = null; this.txtAgentAdd1.DataSet = null; this.txtAgentAdd1.DecisionReadonly = true; this.txtAgentAdd1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentAdd1.Location = new System.Drawing.Point(434, 140); this.txtAgentAdd1.Name = "txtAgentAdd1"; this.txtAgentAdd1.ReadOnly = true; this.txtAgentAdd1.Size = new System.Drawing.Size(266, 21); this.txtAgentAdd1.TabIndex = 18; this.txtAgentAdd1.TabStop = false; this.txtAgentAdd1.Text = ""; // // txtAgentCompany // this.txtAgentCompany.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentCompany.DataField = null; this.txtAgentCompany.DataSet = null; this.txtAgentCompany.DecisionReadonly = true; this.txtAgentCompany.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentCompany.Location = new System.Drawing.Point(434, 115); this.txtAgentCompany.Name = "txtAgentCompany"; this.txtAgentCompany.ReadOnly = true; this.txtAgentCompany.Size = new System.Drawing.Size(266, 21); this.txtAgentCompany.TabIndex = 17; this.txtAgentCompany.TabStop = false; this.txtAgentCompany.Text = ""; // // txtAgentName // this.txtAgentName.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentName.DataField = null; this.txtAgentName.DataSet = null; this.txtAgentName.DecisionReadonly = true; this.txtAgentName.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentName.Location = new System.Drawing.Point(434, 91); this.txtAgentName.Name = "txtAgentName"; this.txtAgentName.ReadOnly = true; this.txtAgentName.Size = new System.Drawing.Size(266, 21); this.txtAgentName.TabIndex = 16; this.txtAgentName.TabStop = false; this.txtAgentName.Text = ""; // // txtAgentID // this.txtAgentID.BackColor = System.Drawing.Color.LavenderBlush; this.txtAgentID.DataField = "petition.nagentid"; this.txtAgentID.DataSet = null; this.txtAgentID.DecisionReadonly = true; this.txtAgentID.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAgentID.Location = new System.Drawing.Point(434, 68); this.txtAgentID.Name = "txtAgentID"; this.txtAgentID.Size = new System.Drawing.Size(79, 21); this.txtAgentID.TabIndex = 15; this.txtAgentID.TabStop = false; this.txtAgentID.Text = ""; this.txtAgentID.Leave += new System.EventHandler(this.txtAgentID_Leave); // // label30 // this.label30.AutoSize = true; this.label30.BackColor = System.Drawing.SystemColors.ControlLight; this.label30.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label30.ForeColor = System.Drawing.Color.Black; this.label30.Location = new System.Drawing.Point(546, 192); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(26, 14); this.label30.TabIndex = 84; this.label30.Text = "Fax"; // // label29 // this.label29.AutoSize = true; this.label29.BackColor = System.Drawing.SystemColors.ControlLight; this.label29.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label29.ForeColor = System.Drawing.Color.Black; this.label29.Location = new System.Drawing.Point(370, 191); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(42, 14); this.label29.TabIndex = 83; this.label29.Text = "Phone"; // // label28 // this.label28.AutoSize = true; this.label28.BackColor = System.Drawing.SystemColors.ControlLight; this.label28.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label28.ForeColor = System.Drawing.Color.Black; this.label28.Location = new System.Drawing.Point(372, 141); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(54, 14); this.label28.TabIndex = 82; this.label28.Text = "Address"; // // label26 // this.label26.AutoSize = true; this.label26.BackColor = System.Drawing.SystemColors.ControlLight; this.label26.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label26.ForeColor = System.Drawing.Color.Black; this.label26.Location = new System.Drawing.Point(373, 97); this.label26.Name = "label26"; this.label26.Size = new System.Drawing.Size(38, 14); this.label26.TabIndex = 80; this.label26.Text = "Name"; // // label25 // this.label25.AutoSize = true; this.label25.BackColor = System.Drawing.SystemColors.ControlLight; this.label25.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label25.ForeColor = System.Drawing.Color.Black; this.label25.Location = new System.Drawing.Point(371, 71); this.label25.Name = "label25"; this.label25.Size = new System.Drawing.Size(55, 14); this.label25.TabIndex = 79; this.label25.Text = "Agent ID"; // // label24 // this.label24.AutoSize = true; this.label24.BackColor = System.Drawing.SystemColors.ControlLight; this.label24.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label24.ForeColor = System.Drawing.Color.Black; this.label24.Location = new System.Drawing.Point(14, 152); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(28, 14); this.label24.TabIndex = 77; this.label24.Text = "City"; // // txtZip // this.txtZip.BackColor = System.Drawing.Color.Beige; this.txtZip.DataField = "petition.cpostalcode"; this.txtZip.DataSet = null; this.txtZip.DecisionReadonly = true; this.txtZip.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtZip.Location = new System.Drawing.Point(285, 147); this.txtZip.Name = "txtZip"; this.txtZip.Size = new System.Drawing.Size(79, 21); this.txtZip.TabIndex = 12; this.txtZip.TabStop = false; this.txtZip.Text = ""; // // txtState // this.txtState.BackColor = System.Drawing.Color.Beige; this.txtState.DataField = "petition.cstate"; this.txtState.DataSet = null; this.txtState.DecisionReadonly = true; this.txtState.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtState.Location = new System.Drawing.Point(248, 147); this.txtState.Name = "txtState"; this.txtState.Size = new System.Drawing.Size(28, 21); this.txtState.TabIndex = 11; this.txtState.TabStop = false; this.txtState.Text = ""; // // txtCity // this.txtCity.BackColor = System.Drawing.Color.Beige; this.txtCity.DataField = "petition.ccity"; this.txtCity.DataSet = null; this.txtCity.DecisionReadonly = true; this.txtCity.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtCity.Location = new System.Drawing.Point(78, 147); this.txtCity.Name = "txtCity"; this.txtCity.Size = new System.Drawing.Size(158, 21); this.txtCity.TabIndex = 10; this.txtCity.TabStop = false; this.txtCity.Text = ""; // // txtAddress2 // this.txtAddress2.BackColor = System.Drawing.Color.Beige; this.txtAddress2.DataField = "petition.caddress2"; this.txtAddress2.DataSet = null; this.txtAddress2.DecisionReadonly = true; this.txtAddress2.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAddress2.Location = new System.Drawing.Point(78, 124); this.txtAddress2.Name = "txtAddress2"; this.txtAddress2.Size = new System.Drawing.Size(286, 21); this.txtAddress2.TabIndex = 9; this.txtAddress2.TabStop = false; this.txtAddress2.Text = ""; // // label23 // this.label23.AutoSize = true; this.label23.BackColor = System.Drawing.SystemColors.ControlLight; this.label23.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label23.ForeColor = System.Drawing.Color.Black; this.label23.Location = new System.Drawing.Point(14, 104); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(54, 14); this.label23.TabIndex = 72; this.label23.Text = "Address"; // // txtAddress1 // this.txtAddress1.BackColor = System.Drawing.Color.Beige; this.txtAddress1.DataField = "petition.caddress1"; this.txtAddress1.DataSet = null; this.txtAddress1.DecisionReadonly = true; this.txtAddress1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtAddress1.Location = new System.Drawing.Point(78, 102); this.txtAddress1.Name = "txtAddress1"; this.txtAddress1.Size = new System.Drawing.Size(286, 21); this.txtAddress1.TabIndex = 8; this.txtAddress1.TabStop = false; this.txtAddress1.Text = ""; // // txtLastLPV // this.txtLastLPV.BackColor = System.Drawing.Color.AntiqueWhite; this.txtLastLPV.DataField = "appeals.nlastlpv"; this.txtLastLPV.DataSet = null; this.txtLastLPV.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtLastLPV.Location = new System.Drawing.Point(588, 402); this.txtLastLPV.Name = "txtLastLPV"; this.txtLastLPV.ReadOnly = true; this.txtLastLPV.TabIndex = 53; this.txtLastLPV.TabStop = false; this.txtLastLPV.Text = ""; this.txtLastLPV.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label22 // this.label22.AutoSize = true; this.label22.BackColor = System.Drawing.SystemColors.ControlLight; this.label22.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label22.ForeColor = System.Drawing.Color.Black; this.label22.Location = new System.Drawing.Point(487, 406); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(97, 14); this.label22.TabIndex = 68; this.label22.Text = "Last Year\'s LPV"; // // cmbRuleChoice // this.cmbRuleChoice.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbRuleChoice.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmbRuleChoice.Items.AddRange(new object[] { "No Rule", "Rule A", "Rule B"}); this.cmbRuleChoice.Location = new System.Drawing.Point(341, 403); this.cmbRuleChoice.Name = "cmbRuleChoice"; this.cmbRuleChoice.Size = new System.Drawing.Size(97, 23); this.cmbRuleChoice.TabIndex = 52; // // label21 // this.label21.AutoSize = true; this.label21.BackColor = System.Drawing.Color.Transparent; this.label21.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label21.ForeColor = System.Drawing.Color.Black; this.label21.Location = new System.Drawing.Point(290, 405); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(35, 14); this.label21.TabIndex = 66; this.label21.Text = "Rule:"; // // txtLastChangeWhen // this.txtLastChangeWhen.BackColor = System.Drawing.Color.MistyRose; this.txtLastChangeWhen.DataField = "petition.tchanged"; this.txtLastChangeWhen.DataSet = null; this.txtLastChangeWhen.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtLastChangeWhen.Location = new System.Drawing.Point(508, 436); this.txtLastChangeWhen.Name = "txtLastChangeWhen"; this.txtLastChangeWhen.ReadOnly = true; this.txtLastChangeWhen.Size = new System.Drawing.Size(165, 21); this.txtLastChangeWhen.TabIndex = 64; this.txtLastChangeWhen.TabStop = false; this.txtLastChangeWhen.Text = ""; // // txtLastChangeBy // this.txtLastChangeBy.BackColor = System.Drawing.Color.MistyRose; this.txtLastChangeBy.DataField = "petition.cchangedby"; this.txtLastChangeBy.DataSet = null; this.txtLastChangeBy.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtLastChangeBy.Location = new System.Drawing.Point(296, 434); this.txtLastChangeBy.Name = "txtLastChangeBy"; this.txtLastChangeBy.ReadOnly = true; this.txtLastChangeBy.Size = new System.Drawing.Size(72, 21); this.txtLastChangeBy.TabIndex = 62; this.txtLastChangeBy.TabStop = false; this.txtLastChangeBy.Text = ""; // // cmdNCCode // this.cmdNCCode.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.cmdNCCode.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(128)), ((System.Byte)(64)), ((System.Byte)(0))); this.cmdNCCode.Location = new System.Drawing.Point(40, 425); this.cmdNCCode.Name = "cmdNCCode"; this.cmdNCCode.Size = new System.Drawing.Size(84, 23); this.cmdNCCode.TabIndex = 61; this.cmdNCCode.TabStop = false; this.cmdNCCode.Text = "NC Codes Set All Parcels"; this.cmdNCCode.Visible = false; this.cmdNCCode.Click += new System.EventHandler(this.cmdNCCode_Click); // // label18 // this.label18.AutoSize = true; this.label18.BackColor = System.Drawing.Color.Transparent; this.label18.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label18.ForeColor = System.Drawing.Color.Black; this.label18.Location = new System.Drawing.Point(13, 251); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(31, 14); this.label18.TabIndex = 59; this.label18.Text = "Pos:"; // // txtownratio // this.txtownratio.DataField = "appeals.noeratio"; this.txtownratio.DataSet = null; this.txtownratio.DecisionReadonly = true; this.txtownratio.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownratio.Location = new System.Drawing.Point(593, 288); this.txtownratio.Name = "txtownratio"; this.txtownratio.Size = new System.Drawing.Size(42, 21); this.txtownratio.TabIndex = 36; this.txtownratio.TabStop = false; this.txtownratio.Text = ""; this.txtownratio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtownclass // this.txtownclass.DataField = "appeals.coeclasscode"; this.txtownclass.DataSet = null; this.txtownclass.DecisionReadonly = true; this.txtownclass.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownclass.Location = new System.Drawing.Point(539, 288); this.txtownclass.Name = "txtownclass"; this.txtownclass.Size = new System.Drawing.Size(42, 21); this.txtownclass.TabIndex = 35; this.txtownclass.TabStop = false; this.txtownclass.Text = ""; this.txtownclass.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtassRatio // this.txtassRatio.DataField = "appeals.navratio"; this.txtassRatio.DataSet = null; this.txtassRatio.DecisionReadonly = true; this.txtassRatio.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtassRatio.Location = new System.Drawing.Point(593, 313); this.txtassRatio.Name = "txtassRatio"; this.txtassRatio.Size = new System.Drawing.Size(42, 21); this.txtassRatio.TabIndex = 42; this.txtassRatio.TabStop = false; this.txtassRatio.Text = ""; this.txtassRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtassClass // this.txtassClass.DataField = "appeals.cavclasscode"; this.txtassClass.DataSet = null; this.txtassClass.DecisionReadonly = true; this.txtassClass.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtassClass.Location = new System.Drawing.Point(539, 313); this.txtassClass.Name = "txtassClass"; this.txtassClass.Size = new System.Drawing.Size(42, 21); this.txtassClass.TabIndex = 41; this.txtassClass.TabStop = false; this.txtassClass.Text = ""; this.txtassClass.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label17 // this.label17.AutoSize = true; this.label17.BackColor = System.Drawing.SystemColors.ControlLight; this.label17.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label17.ForeColor = System.Drawing.Color.Black; this.label17.Location = new System.Drawing.Point(596, 272); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(35, 14); this.label17.TabIndex = 53; this.label17.Text = "Ratio"; // // label16 // this.label16.AutoSize = true; this.label16.BackColor = System.Drawing.SystemColors.ControlLight; this.label16.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label16.ForeColor = System.Drawing.Color.Black; this.label16.Location = new System.Drawing.Point(540, 272); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(37, 14); this.label16.TabIndex = 52; this.label16.Text = "Class"; // // txtSboeRatio // this.txtSboeRatio.DataField = "appeals.nsboeratio"; this.txtSboeRatio.DataSet = null; this.txtSboeRatio.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeRatio.Location = new System.Drawing.Point(593, 339); this.txtSboeRatio.Name = "txtSboeRatio"; this.txtSboeRatio.Size = new System.Drawing.Size(42, 21); this.txtSboeRatio.TabIndex = 48; this.txtSboeRatio.Text = ""; this.txtSboeRatio.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtSboeClass // this.txtSboeClass.DataField = "appeals.csboeclasscode"; this.txtSboeClass.DataSet = null; this.txtSboeClass.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtSboeClass.Location = new System.Drawing.Point(539, 339); this.txtSboeClass.Name = "txtSboeClass"; this.txtSboeClass.Size = new System.Drawing.Size(42, 21); this.txtSboeClass.TabIndex = 47; this.txtSboeClass.Text = ""; this.txtSboeClass.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.txtSboeClass.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.txtSboeClass_KeyPress); this.txtSboeClass.TextChanged += new System.EventHandler(this.txtSboeClass_TextChanged); // // label15 // this.label15.AutoSize = true; this.label15.BackColor = System.Drawing.SystemColors.ControlLight; this.label15.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label15.ForeColor = System.Drawing.Color.Black; this.label15.Location = new System.Drawing.Point(449, 272); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(29, 14); this.label15.TabIndex = 49; this.label15.Text = "LPV"; // // label14 // this.label14.AutoSize = true; this.label14.BackColor = System.Drawing.SystemColors.ControlLight; this.label14.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label14.ForeColor = System.Drawing.Color.Black; this.label14.Location = new System.Drawing.Point(353, 272); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(29, 14); this.label14.TabIndex = 48; this.label14.Text = "FCV"; // // label13 // this.label13.AutoSize = true; this.label13.BackColor = System.Drawing.SystemColors.ControlLight; this.label13.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label13.ForeColor = System.Drawing.Color.Black; this.label13.Location = new System.Drawing.Point(219, 272); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(89, 14); this.label13.TabIndex = 47; this.label13.Text = "Improvements"; // // label10 // this.label10.AutoSize = true; this.label10.BackColor = System.Drawing.SystemColors.ControlLight; this.label10.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label10.ForeColor = System.Drawing.Color.Black; this.label10.Location = new System.Drawing.Point(126, 272); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(34, 14); this.label10.TabIndex = 46; this.label10.Text = "Land"; // // label9 // this.label9.AutoSize = true; this.label9.BackColor = System.Drawing.SystemColors.ControlLight; this.label9.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label9.ForeColor = System.Drawing.Color.Black; this.label9.Location = new System.Drawing.Point(27, 316); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(60, 14); this.label9.TabIndex = 45; this.label9.Text = "Assessor"; // // label8 // this.label8.AutoSize = true; this.label8.BackColor = System.Drawing.SystemColors.ControlLight; this.label8.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label8.ForeColor = System.Drawing.Color.Black; this.label8.Location = new System.Drawing.Point(27, 292); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(43, 14); this.label8.TabIndex = 44; this.label8.Text = "Owner"; // // txtownland // this.txtownland.DataField = "appeals.noeland"; this.txtownland.DataSet = null; this.txtownland.DecisionReadonly = true; this.txtownland.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownland.Location = new System.Drawing.Point(99, 288); this.txtownland.Name = "txtownland"; this.txtownland.TabIndex = 31; this.txtownland.TabStop = false; this.txtownland.Text = ""; this.txtownland.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtownimprov // this.txtownimprov.DataField = "appeals.noeimprove"; this.txtownimprov.DataSet = null; this.txtownimprov.DecisionReadonly = true; this.txtownimprov.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownimprov.Location = new System.Drawing.Point(210, 288); this.txtownimprov.Name = "txtownimprov"; this.txtownimprov.TabIndex = 32; this.txtownimprov.TabStop = false; this.txtownimprov.Text = ""; this.txtownimprov.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtownfcv // this.txtownfcv.DataField = "appeals.noefcv"; this.txtownfcv.DataSet = null; this.txtownfcv.DecisionReadonly = true; this.txtownfcv.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownfcv.Location = new System.Drawing.Point(320, 288); this.txtownfcv.Name = "txtownfcv"; this.txtownfcv.TabIndex = 33; this.txtownfcv.TabStop = false; this.txtownfcv.Text = ""; this.txtownfcv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtownlpv // this.txtownlpv.DataField = "appeals.noelpv"; this.txtownlpv.DataSet = null; this.txtownlpv.DecisionReadonly = true; this.txtownlpv.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtownlpv.Location = new System.Drawing.Point(428, 288); this.txtownlpv.Name = "txtownlpv"; this.txtownlpv.TabIndex = 34; this.txtownlpv.TabStop = false; this.txtownlpv.Text = ""; this.txtownlpv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtassland // this.txtassland.DataField = "appeals.navland"; this.txtassland.DataSet = null; this.txtassland.DecisionReadonly = true; this.txtassland.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtassland.Location = new System.Drawing.Point(99, 313); this.txtassland.Name = "txtassland"; this.txtassland.TabIndex = 37; this.txtassland.TabStop = false; this.txtassland.Text = ""; this.txtassland.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtassimprov // this.txtassimprov.DataField = "appeals.navimprove"; this.txtassimprov.DataSet = null; this.txtassimprov.DecisionReadonly = true; this.txtassimprov.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtassimprov.Location = new System.Drawing.Point(210, 313); this.txtassimprov.Name = "txtassimprov"; this.txtassimprov.TabIndex = 38; this.txtassimprov.TabStop = false; this.txtassimprov.Text = ""; this.txtassimprov.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtassfcv // this.txtassfcv.DataField = "appeals.navfcv"; this.txtassfcv.DataSet = null; this.txtassfcv.DecisionReadonly = true; this.txtassfcv.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtassfcv.Location = new System.Drawing.Point(320, 313); this.txtassfcv.Name = "txtassfcv"; this.txtassfcv.TabIndex = 39; this.txtassfcv.TabStop = false; this.txtassfcv.Text = ""; this.txtassfcv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtasslpv // this.txtasslpv.DataField = "appeals.navlpv"; this.txtasslpv.DataSet = null; this.txtasslpv.DecisionReadonly = true; this.txtasslpv.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtasslpv.Location = new System.Drawing.Point(428, 313); this.txtasslpv.Name = "txtasslpv"; this.txtasslpv.TabIndex = 40; this.txtasslpv.TabStop = false; this.txtasslpv.Text = ""; this.txtasslpv.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // txtRollNo // this.txtRollNo.BackColor = System.Drawing.Color.AliceBlue; this.txtRollNo.DataField = "appeals.nrollnumber"; this.txtRollNo.DataSet = null; this.txtRollNo.DecisionReadonly = true; this.txtRollNo.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.txtRollNo.ForeColor = System.Drawing.Color.Black; this.txtRollNo.Location = new System.Drawing.Point(322, 248); this.txtRollNo.Name = "txtRollNo"; this.txtRollNo.Size = new System.Drawing.Size(108, 21); this.txtRollNo.TabIndex = 28; this.txtRollNo.TabStop = false; this.txtRollNo.Text = ""; this.txtRollNo.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; // // label12 // this.label12.AutoSize = true; this.label12.BackColor = System.Drawing.Color.Transparent; this.label12.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label12.ForeColor = System.Drawing.Color.Black; this.label12.Location = new System.Drawing.Point(265, 251); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(48, 14); this.label12.TabIndex = 35; this.label12.Text = "Roll No"; // // label27 // this.label27.AutoSize = true; this.label27.BackColor = System.Drawing.SystemColors.ControlLight; this.label27.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label27.ForeColor = System.Drawing.Color.Black; this.label27.Location = new System.Drawing.Point(371, 118); this.label27.Name = "label27"; this.label27.Size = new System.Drawing.Size(61, 14); this.label27.TabIndex = 81; this.label27.Text = "Company"; // // label20 // this.label20.AutoSize = true; this.label20.BackColor = System.Drawing.SystemColors.ControlLight; this.label20.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label20.ForeColor = System.Drawing.Color.Black; this.label20.Location = new System.Drawing.Point(382, 436); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(123, 14); this.label20.TabIndex = 65; this.label20.Text = "Last Changed Time:"; // // label19 // this.label19.AutoSize = true; this.label19.BackColor = System.Drawing.SystemColors.ControlLight; this.label19.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label19.ForeColor = System.Drawing.Color.Black; this.label19.Location = new System.Drawing.Point(194, 436); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(101, 14); this.label19.TabIndex = 63; this.label19.Text = "Last Change by:"; // // lblPosition // this.lblPosition.BackColor = System.Drawing.Color.LightSalmon; this.lblPosition.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblPosition.ForeColor = System.Drawing.Color.Purple; this.lblPosition.Location = new System.Drawing.Point(11, 268); this.lblPosition.Name = "lblPosition"; this.lblPosition.Size = new System.Drawing.Size(100, 18); this.lblPosition.TabIndex = 58; this.lblPosition.Text = "0/0"; // // entryForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(740, 680); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.lblStatus, this.btnUndo, this.cmdClear, this.cmdExit, this.btnSave, this.label2, this.label1, this.dataGrid1, this.groupBox2, this.groupBox1}); this.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "entryForm"; this.Text = "Decision Entry"; this.Resize += new System.EventHandler(this.entryForm_Resize); ((System.ComponentModel.ISupportInitialize)(this.dataGrid1)).EndInit(); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); } #endregion /// <summary> /// Clear the controls text property if they are a mytextbox, note /// this function is designed to be recursive since controls may contain other /// controls, e.g. for a GroupBox /// </summary> private void ClearControls(Control container) { int n; MyTextBox tbref; Control c1; for (n = 0; n < container.Controls.Count - 1; n++) { c1 = container.Controls[n]; tbref = c1 as MyTextBox; // if cannot cast to mytextbox, we ignore (check for it being a group though, if not just continue) if (tbref == null) { // if this control contains controls, e.g. is a groupbox or similar, make sure we process them // also if (c1.Controls.Count > 0) { ClearControls(c1); } continue; } else { tbref.Text = ""; } } } /// <summary> /// Clear the controls text property if they are a mytextbox, note /// this function is designed to be recursive since controls may contain other /// controls, e.g. for a GroupBox /// </summary> private void SetFields(Control container) { int n; MyTextBox tbref; Control c1; for (n = 0; n < container.Controls.Count - 1; n++) { c1 = container.Controls[n]; tbref = c1 as MyTextBox; // if cannot cast to mytextbox, we ignore (check for it being a group though, if not just continue) if (tbref == null) { // if this control contains controls, e.g. is a groupbox or similar, make sure we process them // also if (c1.Controls.Count > 0) { SetFields(c1); } continue; } else { if (decisionEntry && tbref.DecisionReadonly) { tbref.ReadOnly = true; } } } } private void SetEntryFieldsByFormType() { if (decisionEntry) { SetFields(this); } } /// <summary> /// clear the rows on the form, useful before updating fields and also for debugging to /// make sure during dev that everything refreshes correctly /// </summary> private void ClearRows() { appealsTable = null; petitionTable = null; dataGrid1.DataSource = null; ClearControls((Control)this); curRowPos = 0; lastRowCount = 0; cmbRuleChoice.SelectedIndex = -1; /* txtParcel.Text = ""; txtRollNo.Text = ""; txtnpetnc.Text = ""; txtnresnc.Text = ""; txtnboardnc.Text = ""; txtSboeFCV.Text = ""; txtSboeLPV.Text = ""; txtSboeLand.Text = ""; txtSboeImprov.Text = ""; txtSboeClass.Text = ""; txtSboeRatio.Text = ""; txtUseCode.Text = ""; txtCountyUseCode.Text = ""; txtownland.Text = ""; txtownimprov.Text = ""; txtownfcv.Text = ""; txtownlpv.Text = ""; txtownclass.Text = ""; txtownratio.Text = ""; txtassland.Text = ""; txtassimprov.Text = ""; txtassfcv.Text = ""; txtasslpv.Text = ""; txtassClass.Text = ""; txtassRatio.Text = ""; txtTaxpayer.Text = ""; txtAddress1.Text = ""; txtAddress2.Text = ""; txtCity.Text = ""; txtState.Text = ""; txtZip.Text = ""; txtLastChangeBy.Text = ""; txtLastChangeWhen.Text = ""; txtLastLPV.Text = ""; txtAgentID.Text = ""; txtPhone.Text = ""; txtEmail.Text = ""; txtAgentName.Text = ""; txtAgentCompany.Text = ""; txtAgentAdd1.Text = ""; txtAgentCity.Text = ""; txtAgentState.Text = ""; txtAgentZip.Text = ""; txtAgentPhone.Text = ""; txtAgentFax.Text = ""; txtAgentEmail.Text = ""; txtAppealYear.Text = ""; txtReceived.Text = ""; txtAppealType.Text = ""; txtCountyNo.Text = ""; txtCountyName.Text = ""; txtAssessorCode.Text = ""; */ chkTimely.Checked = false; RefreshButtons(); lastPetitionID = 0; } /// <summary> /// get current AppealTable row we are looking at /// </summary> private DataRow GetCurrentRow() { DataRow curRow; if (appealsTable != null && curRowPos >= 0) { curRow = appealsTable.Rows[curRowPos]; } else curRow = null; return curRow; } /// <summary> /// get current appealsTable row by field values, of "N/A" if null /// </summary> private string GetRowNA(DataRow curRow, string fieldName) { string retString; if (curRow[fieldName] == DBNull.Value) { retString = "N/A"; } else retString = curRow[fieldName].ToString(); return retString; } /// <summary> /// refresh textbox or control data from values in datatables, actual low level function /// </summary> private void RefreshData(Control container, RefreshRowType rt) { int n; MyTextBox tbref; Control c1; for (n = 0; n < container.Controls.Count - 1; n++) { c1 = container.Controls[n]; tbref = c1 as MyTextBox; if (tbref == null) { if (c1.Controls.Count > 0) { RefreshData(c1, rt); } continue; } else { string dataField = tbref.DataField; if (dataField != null && dataField.Trim() != "") { if (dataField.ToLower().IndexOf("appeals.") > -1) { int npos = dataField.ToLower().IndexOf("appeals."); string fieldName = dataField.Substring(8); DataRow curRow = appealsTable.Rows[curRowPos]; tbref.Text = GetRowNA(curRow, fieldName); } else if (rt != RefreshRowType.AppealsOnly) { if (dataField.ToLower().IndexOf("petition.") > -1) { int npos = dataField.ToLower().IndexOf("petition."); string fieldName = dataField.Substring(9); DataRow curRow = petitionTable.Rows[0]; tbref.Text = GetRowNA(curRow, fieldName); } } } } } } /// <summary> /// refresh row data based on values in datatables /// </summary> private void RefreshRow(RefreshRowType rt) { DataRow curRow = appealsTable.Rows[curRowPos]; RefreshData(this, rt); /* txtParcel.Text = curRow["nbook"].ToString() + "-" + curRow["nmap"].ToString() + "-" + curRow["cparcel"].ToString() ; txtRollNo.Text = curRow["nrollnumber"].ToString(); txtnpetnc.Text = GetRowNA( curRow, "npetnc"); txtnresnc.Text = GetRowNA( curRow, "nresnc"); txtnboardnc.Text = GetRowNA( curRow, "nboardnc"); txtUseCode.Text = GetRowNA( curRow, "cusecode"); txtCountyUseCode.Text = GetRowNA( curRow, "ncntyusecode"); txtSboeFCV.Text = GetRowNA( curRow, "nsboefcv"); txtSboeLPV.Text = GetRowNA( curRow, "nsboelpv"); txtSboeLand.Text = GetRowNA( curRow, "nsboeland"); txtSboeImprov.Text = GetRowNA( curRow, "nsboeimprove"); txtSboeClass.Text = GetRowNA( curRow, "csboeclasscode"); txtSboeRatio.Text = GetRowNA( curRow, "nsboeratio"); txtownland.Text = GetRowNA( curRow, "noeland"); txtownimprov.Text = GetRowNA( curRow, "noeimprove"); txtownfcv.Text = GetRowNA( curRow, "noefcv"); txtownlpv.Text = GetRowNA( curRow, "noelpv"); txtownclass.Text = GetRowNA( curRow, "coeclasscode"); txtownratio.Text = GetRowNA( curRow, "noeratio"); txtassland.Text = GetRowNA( curRow, "navland"); txtassimprov.Text = GetRowNA( curRow, "navimprove"); txtassfcv.Text = GetRowNA( curRow, "navfcv"); txtasslpv.Text = GetRowNA( curRow, "navlpv"); txtassClass.Text = GetRowNA( curRow, "cavclasscode"); txtassRatio.Text = GetRowNA( curRow, "navratio"); txtLastLPV.Text = GetRowNA( curRow, "nlastlpv"); */ string ruleCode = curRow["crulecode"].ToString(); switch (ruleCode) { case " ": cmbRuleChoice.SelectedIndex = 0; break; case "A": cmbRuleChoice.SelectedIndex = 1; break; case "B": cmbRuleChoice.SelectedIndex = 2; break; default: cmbRuleChoice.SelectedIndex = -1; break; } RefreshButtons(); } /// <summary> /// refresh status on up down buttons based on position within appeals table /// </summary> private void RefreshButtons() { btnTop.Enabled = true; btnBottom.Enabled = true; btnPrior.Enabled = true; btnNext.Enabled = true; if (lastRowCount == 1 || lastRowCount == 0) { btnTop.Enabled = false; btnBottom.Enabled = false; btnPrior.Enabled = false; btnNext.Enabled = false; } else { if (curRowPos == 0) { btnTop.Enabled = false; btnPrior.Enabled = false; } if (curRowPos >= lastRowCount - 1) { btnBottom.Enabled = false; btnNext.Enabled = false; } } int temp; temp = curRowPos + 1; lblPosition.Text = temp.ToString() + "/" + lastRowCount.ToString(); if (dataGrid1.DataSource != null) { dataGrid1.CurrentRowIndex = curRowPos; } } private string GetValTBNumeric(TextBox tbRef) { if (tbRef.Text.Trim().Length == 0) return "0"; else return tbRef.Text.ToString(); } private void Assign(DataRow curRow, string fieldName, TextBox tb) { if (tb.Text.Trim() == "N/A") curRow[fieldName] = DBNull.Value; else curRow[fieldName] = GetValTBNumeric(tb); } private void SaveRow() { DataRow curRow = appealsTable.Rows[curRowPos]; Assign(curRow, "npetnc", txtnpetnc); Assign(curRow, "nresnc", txtnresnc); Assign(curRow, "nboardnc", txtnboardnc); Assign(curRow, "nsboefcv", txtSboeFCV); Assign(curRow, "nsboelpv", txtSboeLPV); Assign(curRow, "nsboeland", txtSboeLand); Assign(curRow, "nsboeimprove", txtSboeImprov); Assign(curRow, "csboeclasscode", txtSboeClass); Assign(curRow, "nsboeratio", txtSboeRatio); //string ruleChoice; string ruleCode = curRow["crulecode"].ToString(); switch (cmbRuleChoice.SelectedIndex) { case 0: curRow["crulecode"] = " "; break; case 1: curRow["crulecode"] = "A"; break; case 2: curRow["crulecode"] = "B"; break; } } /// <summary> /// refresh other special fields from values in datatables, including /// things like agents fields if they are using an agent, etc. /// </summary> private void RefreshOtherMisc(DataRow row1) { /* txtTaxpayer.Text = row1["ctaxpayer"].ToString(); txtLastChangeBy.Text = row1["cchangedby"].ToString(); txtLastChangeWhen.Text = row1["tchanged"].ToString(); txtAddress1.Text = row1["caddress1"].ToString(); txtAddress2.Text = row1["caddress2"].ToString(); txtCity.Text = row1["ccity"].ToString(); txtState.Text = row1["cstate"].ToString(); txtZip.Text = row1["cpostalcode"].ToString(); txtAgentID.Text = row1["nagentid"].ToString(); txtPhone.Text = row1["cphonenum"].ToString(); txtEmail.Text = row1["cemail"].ToString(); txtAppealYear.Text = row1["nappealyear"].ToString(); txtAppealType.Text = row1["cappealtype"].ToString(); txtCountyNo.Text = row1["ncountycode"].ToString(); txtAssessorCode.Text = row1["ccityarea"].ToString(); */ string year = txtAppealYear.Text; if (year.Trim().Length != 0) { int yearVal = Convert.ToInt32(year, 10); if (yearVal < 100) { if (yearVal < 75) { year = (yearVal + 2000).ToString(); txtAppealYear.Text = year; } else if (yearVal >= 75) { year = (yearVal + 1900).ToString(); txtAppealYear.Text = year; } } } string received = row1["dreceived"].ToString().Trim(); if (received.IndexOf(" ") > -1) { int npos = received.IndexOf(" "); received = received.Substring(0, npos + 1); } txtReceived.Text = received; if (row1["ltimely"].ToString() == "True") { chkTimely.Checked = true; } else { chkTimely.Checked = false; } string value = MyData.SelectSingleVal("select cname from county where ncountycode =" + txtCountyNo.Text); if (value != null) { txtCountyName.Text = value; } txtStatus.Text = row1["cstatus"].ToString(); string agentStr = row1["nagentid"].ToString(); RefreshAgent(agentStr); } /// <summary> /// refresh displayed agent fields based on passed in agent string /// </summary> private void RefreshAgent(string agentString) { if (Convert.ToInt32(agentString, 10) > 0) { DataTable mytable = MyData.Select("select * from agents where nagentid = " + agentString); if (mytable == null) return; if (mytable.Rows.Count == 0) { MessageBox.Show("No match for this Agent ID:" + agentString.Trim()); } if (mytable.Rows.Count > 0) { DataRow agentRow = mytable.Rows[0]; txtAgentName.Text = agentRow["cfirstname"].ToString().Trim() + " " + agentRow["clastname"].ToString().Trim(); txtAgentCompany.Text = agentRow["ccompany"].ToString(); txtAgentAdd1.Text = agentRow["caddress1"].ToString(); txtAgentCity.Text = agentRow["ccity"].ToString(); txtAgentState.Text = agentRow["cstate"].ToString(); txtAgentZip.Text = agentRow["cpostalcode"].ToString(); txtAgentPhone.Text = agentRow["cphonenum"].ToString(); txtAgentFax.Text = agentRow["cfax"].ToString(); txtAgentEmail.Text = agentRow["email"].ToString(); } } } /// <summary> /// process a lookup for this docket /// </summary> private void cmdLookup_Click(object sender, System.EventArgs e) { string docket = cmbDocket.Text; string workyear = txtWorkYear.Text; if (docket.Trim() == "" || workyear.Trim() == "") { MessageBox.Show("Empty values in lookup, cannot lookup without valid docket and workyear"); return; } lblStatus.Text = "querying..."; this.Refresh(); lastPetitionID = 0; ClearRows(); if (Convert.ToInt32(workyear, 10) >= 2000) { int nval = Convert.ToInt32(workyear, 10) - 2000; workyear = nval.ToString(); } petitionTable = null; petitionTable = MyData.Select("select * from petition where ndocketnum = " + docket + " and " + " nworkyear = " + workyear); if (petitionTable == null) return; string petition_id = ""; dataGrid1.DataSource = null; if (petitionTable.Rows.Count > 1) { MessageBox.Show("Possible docket duplication make note for Scott or George, cannot modify to this docket currently."); lblStatus.Text = ""; ClearRows(); return; } if (petitionTable.Rows.Count == 0) { MessageBox.Show("Sorry - No match for this docket!"); lblStatus.Text = ""; ClearRows(); return; } DataRow row1 = petitionTable.Rows[0]; petition_id = row1["petition_id"].ToString(); dataGrid1.DataSource = null; appealsTable = null; appealsTable = MyData.Select("select * from appeals where petition_id = " + petition_id + " order by nmultiplenum"); if (appealsTable == null) return; lastRowCount = appealsTable.Rows.Count; if (appealsTable.Rows.Count == 0) { MessageBox.Show("Probably deletion or corruption of appeals related records, notify Programmer to fix record manually"); lblStatus.Text = ""; ClearRows(); return; } lastPetitionID = Convert.ToInt32(petition_id, 10); cmbDocket.Items.Add(cmbDocket.Text); curRowPos = 0; RefreshRow(RefreshRowType.AllTables); RefreshOtherMisc(row1); dataGrid1.DataSource = appealsTable.DefaultView; dataGrid1.CaptionText = "Appeal Parcels"; txtSboeFCV.Focus(); lblStatus.Text = ""; } private void cmdExit_Click(object sender, System.EventArgs e) { this.Close(); } private void btnTop_Click(object sender, System.EventArgs e) { SaveRow(); curRowPos = 0; RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); //if (curRowPos >= lastRowCount - 1 ) } private void btnBottom_Click(object sender, System.EventArgs e) { SaveRow(); curRowPos = lastRowCount - 1; RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); } private void btnPrior_Click(object sender, System.EventArgs e) { SaveRow(); curRowPos = Math.Max(0, curRowPos - 1); RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); } private void btnNext_Click(object sender, System.EventArgs e) { SaveRow(); curRowPos = Math.Min(lastRowCount - 1, curRowPos + 1); RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); } private void cmdNoChangeAll_Click(object sender, System.EventArgs e) { if (appealsTable != null) { foreach (DataRow curRow in appealsTable.Rows) { curRow["nsboefcv"] = curRow["navfcv"].ToString(); curRow["nsboelpv"] = curRow["navlpv"].ToString(); curRow["csboeclasscode"] = curRow["cavclasscode"].ToString(); curRow["nsboeratio"] = curRow["navratio"].ToString(); } RefreshRow(RefreshRowType.AppealsOnly); } } private void dataGrid1_LocationChanged(object sender, System.EventArgs e) { if (dataGrid1.DataSource != null) { curRowPos = dataGrid1.CurrentRowIndex; RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); } } private void dataGrid1_CurrentCellChanged(object sender, System.EventArgs e) { if (dataGrid1.DataSource != null) { SaveRow(); try { curRowPos = dataGrid1.CurrentRowIndex; RefreshRow(RefreshRowType.AppealsOnly); RefreshButtons(); } catch { } } } private void btnSave_Click(object sender, System.EventArgs e) { int rows; bool hitError = false; if (appealsTable == null) { MessageBox.Show("Error: You are not viewing a valid datatable result set, nothing to save!"); return; } if (lastPetitionID <= 0) { MessageBox.Show("Error: Petition ID for this record doesn't appear valid internally within the form" + "notify the programmer!"); return; } SaveRow(); string commandString; rows = MyData.Update("update petition set " + " cchangedby = " + "[HRNG_OFF], " + " dlastchanged = date(), tchanged = datetime() " + " where petition_id = " + lastPetitionID.ToString()); if (rows == -1) { MessageBox.Show("Error occurred saving!"); return; } if (rows == 0) { MessageBox.Show("Error: The save did not update one of the appeals (connected okay but no records were updated)" + "this could be a lock error wait a bit and retry the save, then report it to the programmer if still failing"); return; } foreach (DataRow curRow in appealsTable.Rows) { commandString = "update azsboe!appeals set " + " npetnc = " + curRow["npetnc"].ToString() + ", nresnc = " + curRow["nresnc"].ToString() + ", nboardnc = " + curRow["nboardnc"].ToString() + ", nsboefcv = " + GetFieldWithNull(curRow, "nsboefcv") + ", nsboelpv = " + GetFieldWithNull(curRow, "nsboelpv") + ", csboeclasscode = " + GetFieldWithNull(curRow, "csboeclasscode", true) + ", nsboeratio = " + GetFieldWithNull(curRow, "nsboeratio") + " , tchanged = datetime(), " + " crulecode = [" + curRow["crulecode"].ToString().Trim() + "]" + " where appeal_id = " + curRow["appeal_id"].ToString(); string test1 = curRow["appeal_id"].ToString().Trim(); if (Convert.ToInt32(curRow["appeal_id"]) == 0 || test1.Equals("0")) { MessageBox.Show("Error: one of the appeal_id records was zero for one of the appeal records, this is an internal programming error probably" + "Notify programer. Not fully saved!"); hitError = true; break; } //MessageBox.Show( commandString ); rows = MyData.Update(commandString); if (rows == -1) { hitError = true; break; } if (rows == 0) { MessageBox.Show("Error: The save did not update one of the appeals (connected okay but no records were updated)" + "this could be a lock error wait a bit and retry the save, then report it to the programmer if still failing."); hitError = true; break; } } if (!hitError) MessageBox.Show("Record Saved Successfully!"); } private string GetFieldWithNull(DataRow curRow, string fieldName) { string returnString; if (curRow[fieldName] == DBNull.Value) { returnString = ".NULL."; } else { returnString = curRow[fieldName].ToString(); } return returnString; } private string GetFieldWithNull(DataRow curRow, string fieldName, bool textWrap) { string returnString; if (curRow[fieldName] == DBNull.Value) { returnString = ".NULL."; } else { if (textWrap) returnString = "[" + curRow[fieldName].ToString() + "]"; else returnString = curRow[fieldName].ToString(); } return returnString; } private void cmdNCCode_Click(object sender, System.EventArgs e) { if (appealsTable != null) { string petnc, resnc, boardnc; petnc = txtnpetnc.Text; resnc = txtnresnc.Text; boardnc = txtnboardnc.Text; foreach (DataRow curRow in appealsTable.Rows) { curRow["npetnc"] = petnc; curRow["nresnc"] = resnc; curRow["nboardnc"] = boardnc; } //RefreshRow(); } } private void cmdClear_Click(object sender, System.EventArgs e) { ClearRows(); } private void btnUndo_Click(object sender, System.EventArgs e) { ClearRows(); cmdLookup_Click(cmdLookup, null); } private void txtSboeClass_TextChanged(object sender, System.EventArgs e) { if (txtSboeClass.Text != "N/A") { if (txtSboeClass.Text.ToString().Trim() == "M") return; string value = MyData.SelectSingleVal("select nratio from newclascode where left(cclasscode,1) = [" + txtSboeClass.Text.ToString().Trim() + "]"); if (value != null) { txtSboeRatio.Text = value; } } return; } private void txtSboeClass_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) { txtSboeClass.SelectedText = e.KeyChar.ToString().ToUpper(); e.Handled = true; } private double RuleACalc() { double nLastLPV; double nValue; DataRow curRow = GetCurrentRow(); if (curRow == null) return 0; nLastLPV = Convert.ToDouble(curRow["nlastlpv"].ToString()); double nBoardFCV = Convert.ToDouble(txtSboeFCV.Text.ToString()); double nFirstNo = (nLastLPV * 1.10); double nSecondNo = ((nBoardFCV - nLastLPV) * 0.25) + nLastLPV; if (nFirstNo > nSecondNo) { //wait window "Using Last Year LPV * 1.1" timeout .2 nValue = nFirstNo; } else { //wait window "Using + 25% of Difference" timeout .2 nValue = nSecondNo; } if (nValue > nBoardFCV) nValue = nBoardFCV; return nValue; } /* * ************************************************************************************************************* * Calculate a Rule A value FUNCTION RuleACalc(nLastLPV, nBoardFCV) ************************************************************************************************************* endif * Initialize value nValue=0 * Calculate first number nFirstNo=(nLastLPV * 1.10) * Calculate second number nSecondNo=((nBoardFCV-nLastLPV)*0.25)+nLastLPV * Check which is greater if nFirstNo > nSecondNo *wait window "Using Last Year LPV * 1.1" timeout .2 nValue=nFirstNo else *wait window "Using + 25% of Difference" timeout .2 nValue=nSecondNo endif if nValue > nBoardFCV nValue = nBoardFCV endif if .F. do case * Check that LPV is not greater than value case int(nLastLPV) > int(nBoardFCV) = messagebox("Warning: LPV greater than FCV, using FCV") = messagebox("Last LPV Value:" + ltrim(str(nLastLPV)) + chr(13) + ; "FCV Value:" + ltrim(str(nBoardFCV)) ) nValue=nBoardFCV case round(nLastLPV, 0) == round(nBoardFCV, 0 ) nValue=nBoardFCV endcase endif * Return value RETURN nValue ENDFUNC */ private void txtSboeFCV_TextChanged(object sender, System.EventArgs e) { } /* * if * if rule value is empty or A if empty(thisform.gaAplFlds[thisform.nMultiNum,38]) OR ; upper(thisform.gaAplFlds[thisform.nMultiNum,38]) = "A" OR ; upper(thisform.gaAplFlds[thisform.nMultiNum,38]) = "E" * if no last lpv value entered, can't calculate if thisform.gaAplFlds[thisform.nMultiNum,39] == 0 return endif nset = set("decimals") set decimals to 6 lnVal = RuleACalc(thisform.gaAplFlds[THISFORM.nMultiNum,39], ; this.value) if lnVal > 0 lnVal = round(lnVal, 0) THISFORM.txtBDLPV.Value = lnVal thisform.gaAplFlds[THISFORM.nMultiNum,32] = lnVal thisform.gaAplFlds[thisform.nMultiNum,38] = "A" thisform.cmdRule2.Caption = "\<Rule A" endif set decimals to (nset) thisform.refresh() wait clear endif */ private void ReFigureRuleA(bool overRide) { // ignore calcs if values are .null.'s if (txtSboeLPV.Text.Trim() == "N/A" || txtSboeFCV.Text.Trim() == "N/A") return; // only do the lpv empty field check if overRide = false, if overRide is true, we don't care // whether lpv is empty or not and we overwrite anyway. if (!overRide) { // if the value is empty or nothing entered (no string at all) continue, otherwise return if (txtSboeLPV.Text.ToString().Trim().Length == 0 || Convert.ToInt32(txtSboeLPV.Text.ToString(), 10) == 0) { // continue } else return; } // if fcv is empty, do nothing if (txtSboeFCV.Text.Trim().Length == 0 || Convert.ToInt32(txtSboeFCV.Text.ToString(), 10) == 0) { return; } // commit row value if they changed it (e.g. if rule was changed etc.) SaveRow(); DataRow curRow = GetCurrentRow(); if (curRow == null) return; if (curRow["crulecode"].ToString().Trim() == "A" || curRow["crulecode"].ToString().Trim() == "E" || curRow["crulecode"].ToString().Trim() == "") { if (curRow["nlastlpv"].ToString() == "0" || curRow["nlastlpv"].ToString().Length == 0) { return; } double calcedLPV = Math.Round(RuleACalc(), 0); if (calcedLPV > 0) { txtSboeLPV.Text = calcedLPV.ToString(); // set to rule A now, blanked defaults to rule A I guess cmbRuleChoice.SelectedIndex = 1; } } } private void txtSboeFCV_Leave(object sender, System.EventArgs e) { // test to refigure ruleA LPV, false means don't force an overwrite if the value is non-zero ReFigureRuleA(false); } private void cmdVerify_Click(object sender, System.EventArgs e) { // verify button was clicked, force an overwrite of LPV calc, if relevant, even if value isn't zero, // overwrite what is there (if valid rule A applies, see ReFigureRuleA method). ReFigureRuleA(true); } private void cmdNA_Click(object sender, System.EventArgs e) { txtSboeFCV.Text = "N/A"; txtSboeLPV.Text = "N/A"; txtSboeClass.Text = "N/A"; txtSboeRatio.Text = "N/A"; } private void txtnpetnc_Leave(object sender, System.EventArgs e) { if (curRowPos == 0 && (lastRowCount > 1) && (txtnpetnc.Text.Trim().Length != 0) && (appealsTable != null)) { foreach (DataRow curRow in appealsTable.Rows) { curRow["npetnc"] = txtnpetnc.Text.ToString(); } } } private void txtnresnc_Leave(object sender, System.EventArgs e) { if (curRowPos == 0 && (lastRowCount > 1) && (txtnresnc.Text.Trim().Length != 0) && (appealsTable != null)) { foreach (DataRow curRow in appealsTable.Rows) { curRow["nresnc"] = txtnresnc.Text.ToString(); } } } private void txtnboardnc_Leave(object sender, System.EventArgs e) { if (curRowPos == 0 && (lastRowCount > 1) && (txtnboardnc.Text.Trim().Length != 0) && (appealsTable != null)) { foreach (DataRow curRow in appealsTable.Rows) { curRow["nboardnc"] = txtnboardnc.Text.ToString(); } } } private void groupBox2_Enter(object sender, System.EventArgs e) { } private void cmdSetAll_Click(object sender, System.EventArgs e) { DataRow curRow1 = GetCurrentRow(); if (appealsTable != null) { string fcvstring = curRow1["nsboefcv"].ToString(); string lpvstring = curRow1["nsboelpv"].ToString(); string classcodestring = curRow1["csboeclasscode"].ToString(); string ratio = curRow1["nsboeratio"].ToString(); foreach (DataRow curRow in appealsTable.Rows) { curRow["nsboefcv"] = fcvstring; curRow["nsboelpv"] = lpvstring; curRow["csboeclasscode"] = classcodestring; curRow["nsboeratio"] = ratio; } RefreshRow(RefreshRowType.AppealsOnly); } } private void entryForm_Resize(object sender, System.EventArgs e) { dataGrid1.Width = this.Size.Width - gridWidthDifferential; dataGrid1.Height = this.Size.Height - gridHeightDifferential; } private void txtAgentID_Leave(object sender, System.EventArgs e) { if (!txtAgentID.ReadOnly) { string agentStr = txtAgentID.Text.Trim(); RefreshAgent(agentStr); } } } }