コード例 #1
0
        public void ODtextBox_SpellCheck_WavyLinesSpanMultipleLines()
        {
            //Make a skinny text box (50 pixels wide and 500 pixels tall) and put a long misspelled word that wraps multiple lines inside.
            string text = "verylongmispeltwerdzthatshouldwrapmultiplelinesdown and then anotherreallylongwerdthatismispeltonpurposeaswell";

            using (ODtextBox textBox = GetTextBox(text, 50, 500)) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                //This particular test should always have 2 misspelled words, 4 visible words, 14 visible line heights, 14 wavy line rects, 13 wavy lines
                Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 2);
                Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 4);
                Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 14);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 14);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 13);
                Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 109);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
                //There should be two misspelled words that wrap several times.
                for (int i = 1; i <= 13; i++)           //There are 13 lines in total.
                //The first word should be broken up onto 7 separate lines.
                {
                    if (i <= 7)
                    {
                        //PointEnd will always be the same for every single line.
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointEnd.X, 7);
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointEnd.Y, 92);
                        //PointStart will change each line by 13 pixels (because each line height is 13 tall).  This would be dynamic if the font changed.
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointStart.X, 1);
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointStart.Y, 1 + (i * 13));
                        //The first 6 wavy lines should have the same amount of points.
                        if (i < 7)
                        {
                            Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].ListPoints.Count, 24);
                        }
                        else                          //The last wavy line will have less points because it isn't that long of a wavy line.
                        {
                            Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].ListPoints.Count, 4);
                        }
                    }
                    else                      //The second word should be broken up onto 6 separate lines.
                                              //PointEnd will always be the same for every single line.
                    {
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointEnd.X, 36);
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointEnd.Y, 183);
                        //PointStart will change each line by 13 pixels (because each line height is 13 tall).  This would be dynamic if the font changed.
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointStart.X, 1);
                        //Start the Y at 14 due to a line inbetween the two misspelled words (line height of 13 so 13 + 1 = 14).
                        Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].PointStart.Y, 14 + (i * 13));
                        //The first 6 wavy lines should have the same amount of points.
                        if (i < 13)
                        {
                            Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].ListPoints.Count, 24);
                        }
                        else                          //The last wavy line will have less points because it isn't that long of a wavy line.
                        {
                            Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines[i - 1].ListPoints.Count, 18);
                        }
                    }
                }
            }
        }
コード例 #2
0
        public void ODtextBox_SpellCheck_DifferentLineHeights()
        {
            //Create a text box of 3 lines of text where the FIRST misspelled word is on the second line of text.
            //Each line of text should have a different font size thus making each line have a different height.
            string rtf = @"{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
\viewkind4\uc1\pard\f0\fs30 Large Font\fs17\par
Normal Fontz\par
\fs40 Enormous Fontz\fs17\par
}";

            using (ODtextBox textBox = GetTextBox(rtf: rtf)) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 2);
                Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 6);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 3);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 2);
                Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 37);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
                //There should be three visible line heights (with line 2 and 3 having font misspelled as fontz) and they should be:
                //Line 1: Large Font (height=25)
                //Line 2: Normal Fontz (height=13)
                //Line 3: Enormous Fontz (height=31)
                List <int> listExpectedLineHeights = new List <int>()
                {
                    25, 13, 31
                };
                for (int i = 0; i < listExpectedLineHeights.Count; i++)
                {
                    Assert.AreEqual(spellCheckResult.ListVisibleLineHeights[i], listExpectedLineHeights[i]);
                }
            }
        }
コード例 #3
0
        public void ODtextBox_ClearWavyLines_ExcessiveWhitespace()
        {
            ODtextBox textBox = GetTextBox();
            //Create text that matches exactly what a customer had that was causing problems (see task #1584694 for details).
            StringBuilder strBuilder = new StringBuilder(@"Pt is going to apply to Nursing school, also does wedding hair and makeup

119/66,77 bpm+-");

            //Add 13,259 newlines because reasons.
            for (int i = 0; i < 13259; i++)
            {
                strBuilder.Append("\r\n");
            }
            //Add the footer of the patient note that the customer had... true story.
            strBuilder.Append(@"Pt applying to Nuirsing school. 04/17 MC
BP-108/64
P-71  PS

");
            textBox.Text = strBuilder.ToString();
            //The following line took roughly 3 minutes to run when using the old way of clearing the wavy lines (hasAllLineHeights=true).
            //This unit test is simply here to make sure that the following line runs within a reasonable amount of time.
            //If it takes a long time to run we engineers will get frustrated with it and come investigate (or simply remove the test).
            textBox.ClearWavyLines();
            Assert.IsTrue(true);
        }
コード例 #4
0
        public void ODtextBox_SpellCheck_GetVisibleCharIndices()
        {
            ODtextBox textBox = GetTextBox("abc" + "\n" + "def" + "\n" + "ghi");

            //Test the Function
            ODtextBox.CharBounds indexes = textBox.GetVisibleCharIndices();
            Assert.AreEqual(0, indexes.StartCharIndex);
            Assert.AreEqual(textBox.TextLength - 1, indexes.EndCharIndex);
        }
コード例 #5
0
 public void ODtextBox_SpellCheck_WavyLinesEnd()
 {
     //Make a tiny text box (100 pixels wide and 50 pixels tall) and put a decent amount of misspelled text inside.
     using (ODtextBox textBox = GetTextBox(LoremIpsum, 100, 50)) {
         //Make sure that the end of the text box has focus.
         textBox.Select((LoremIpsum.Length - 1), 0);
         textBox.ScrollToCaret();
         ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
         //This particular test should always have 7 misspelled words, 9 visible words, 4 visible line heights, 4 wavy line rects, 4 wavy lines
         Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 7);
         //The misspelled words should be exactly "culpa", "qui", "officia", "deserunt", "mollit", "anim", "laborum"
         List <ODtextBox.MatchOD> listMisspelledWords = new List <ODtextBox.MatchOD>()
         {
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 391, Value = "culpa"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 397, Value = "qui"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 401, Value = "officia"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 409, Value = "deserunt"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 418, Value = "mollit"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 425, Value = "anim"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 437, Value = "laborum"
             },
         };
         for (int i = 0; i < listMisspelledWords.Count; i++)
         {
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].Value, listMisspelledWords[i].Value);
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].StartCharIndex, listMisspelledWords[i].StartCharIndex);
         }
         Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 9);
         Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 444);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 391);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 28);
     }
 }
コード例 #6
0
 public void ODtextBox_SpellCheck_WavyLinesMiddle()
 {
     //Make a tiny text box (100 pixels wide and 50 pixels tall) and put a decent amount of misspelled text inside.
     using (ODtextBox textBox = GetTextBox(LoremIpsum, 100, 50)) {
         //Make sure that the middle of the text box has focus.
         textBox.Select((LoremIpsum.Length / 2), 0);
         textBox.ScrollToCaret();
         ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
         //This particular test should always have 6 misspelled words, 10 visible words, 6 visible line heights, 4 wavy line rects, 4 wavy lines
         Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 6);
         //The misspelled words should be exactly "commodo", "consequat", "Duis", "aute", "irure", "reprehenderit"
         List <ODtextBox.MatchOD> listMisspelledWords = new List <ODtextBox.MatchOD>()
         {
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 213, Value = "commodo"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 221, Value = "consequat"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 232, Value = "Duis"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 237, Value = "aute"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 242, Value = "irure"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 257, Value = "reprehenderit"
             },
         };
         for (int i = 0; i < listMisspelledWords.Count; i++)
         {
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].Value, listMisspelledWords[i].Value);
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].StartCharIndex, listMisspelledWords[i].StartCharIndex);
         }
         Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 10);
         Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 6);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 274);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 210);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 15);
     }
 }
コード例 #7
0
 public void ODtextBox_SpellCheck_WavyLinesBeginning()
 {
     //Make a tiny text box (100 pixels wide and 50 pixels tall) and put a decent amount of misspelled text inside.
     using (ODtextBox textBox = GetTextBox(LoremIpsum, 100, 50)) {
         //Make sure that the beginning of the text box has focus.
         textBox.Select(0, 0);
         textBox.ScrollToCaret();
         ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
         //This particular test should always have 6 misspelled words, 8 visible words, 5 visible line heights, 3 wavy line rects, 4 wavy lines
         Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 6);
         //The misspelled words should be exactly "Lorem", "ipsum", "amet", "consectetur", "adipiscing", "elit"
         List <ODtextBox.MatchOD> listMisspelledWords = new List <ODtextBox.MatchOD>()
         {
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 0, Value = "Lorem"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 6, Value = "ipsum"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 22, Value = "amet"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 28, Value = "consectetur"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 40, Value = "adipiscing"
             },
             new ODtextBox.MatchOD()
             {
                 StartCharIndex = 51, Value = "elit"
             },
         };
         for (int i = 0; i < listMisspelledWords.Count; i++)
         {
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].Value, listMisspelledWords[i].Value);
             Assert.AreEqual(spellCheckResult.ListMisspelledWords[i].StartCharIndex, listMisspelledWords[i].StartCharIndex);
         }
         Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 8);
         Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 5);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 3);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 4);
         Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 57);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
         Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
     }
 }
コード例 #8
0
 public void ODtextBox_SpellCheck_WavyLinesNone()
 {
     //There should not be a single word misspelled.
     using (ODtextBox textBox = GetTextBox(LoremIpsumEnglish)) {
         ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
         //This particular test should always have 0 misspelled words, 159 visible words, 17 visible line heights, 17 wavy line rects, null wavy lines
         Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 0);
         Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 159);
         Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 17);
         Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 17);
         Assert.IsNull(spellCheckResult.WavyLineArea.ListWavyLines);
     }
 }
コード例 #9
0
        public void ODtextBox_SpellCheck_SpellingDisabled()
        {
            string text = @"Misspelt Werdz";

            using (ODtextBox textBox = GetTextBox(text, isSpellCheckEnabled: false)) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                //This particular test should always have everything be null.
                Assert.IsNull(spellCheckResult.ListMisspelledWords);
                Assert.IsNull(spellCheckResult.ListVisibleWords);
                Assert.IsNull(spellCheckResult.ListVisibleLineHeights);
                Assert.IsNull(spellCheckResult.WavyLineArea);
            }
        }
コード例 #10
0
        ///<summary>User clicks "OK" after having changed the Description.</summary>
        public void FormTaskEdit_butOK_Click_DescriptionChanged()
        {
            _formTaskEditAccessor.SetField("_taskCur", _task);
            _formTaskEditAccessor.SetField("_taskOld", _task.Copy());
            string    newDescript  = "new" + _task.Descript;
            ODtextBox textDescript = (ODtextBox)_formTaskEditAccessor.GetField("textDescript");

            textDescript.Text = newDescript;
            _formTaskEditAccessor.SetField("textDescript", textDescript);
            _formTaskEditAccessor.Invoke("butOK_Click", new object(), new EventArgs());
            List <Signalod> listSignals = SignalodT.GetAllSignalods();

            Assert.AreEqual(2, listSignals.Count);
            OpenDentBusiness.Task task = Tasks.GetOne(_task.TaskNum);
            Assert.IsTrue(listSignals.Exists(x => x.IType == InvalidType.TaskList && x.FKeyType == KeyType.Undefined && x.FKey == _task.TaskListNum));      //New TL
            Assert.AreEqual(newDescript, task.Descript);
        }
コード例 #11
0
        private ODtextBox GetTextBox(string text = "", int width = 300, int height = 300, bool multiline = true, bool isSpellCheckEnabled = true, string rtf = "")
        {
            ODtextBox textBox = new ODtextBox();

            if (!string.IsNullOrEmpty(text))
            {
                textBox.Text = text;
            }
            if (!string.IsNullOrEmpty(rtf))
            {
                textBox.Rtf = rtf;
            }
            textBox.Width  = width;
            textBox.Height = height;
            textBox.SpellCheckIsEnabled = isSpellCheckEnabled;
            textBox.Multiline           = multiline;
            return(textBox);
        }
コード例 #12
0
        public void ODtextBox_SpellCheck_LotsOfText()
        {
            //Create a text box of 30 lines of misspelled words with lots of text.
            StringBuilder stringBuilder = new StringBuilder();

            for (int i = 0; i < 30; i++)
            {
                stringBuilder.AppendLine(LoremIpsum);
            }
            using (ODtextBox textBox = GetTextBox(stringBuilder.ToString())) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 161);
                Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 201);
                Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 24);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 22);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 154);
                Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 1301);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
            }
        }
コード例 #13
0
        public void ODtextBox_SpellCheck_LotsOfLines()
        {
            //Create a text box of 300 lines of misspelled words (not a lot text though).
            StringBuilder stringBuilder = new StringBuilder();

            for (int i = 0; i < 300; i++)
            {
                stringBuilder.AppendLine("Misspelt Werdz");
            }
            using (ODtextBox textBox = GetTextBox(stringBuilder.ToString())) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                //This particular test should always have 46 misspelled words, 46 visible words, 23 visible line heights, 22 wavy line rects, 44 wavy lines.
                Assert.AreEqual(spellCheckResult.ListMisspelledWords.Count, 46);
                Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 46);
                Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 23);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 22);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLines.Count, 44);
                Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 344);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
            }
        }
コード例 #14
0
        public void ODtextBox_SpellCheck_LotsOfWhitespace()
        {
            StringBuilder stringBuilder = new StringBuilder();

            //Create a text box of 300 lines of whitespace (no actual text).
            for (int i = 0; i < 300; i++)
            {
                stringBuilder.AppendLine("\t  \t  \t");
            }
            stringBuilder.Append("\r\n\t");            //Just because.
            using (ODtextBox textBox = GetTextBox(stringBuilder.ToString())) {
                ODtextBox.SpellCheckResult spellCheckResult = textBox.SpellCheck();
                //This particular test should always have null misspelled words, 0 visible words, 23 visible line heights, 22 wavy line rects, null wavy lines
                Assert.IsNull(spellCheckResult.ListMisspelledWords);
                Assert.AreEqual(spellCheckResult.ListVisibleWords.Count, 0);
                Assert.AreEqual(spellCheckResult.ListVisibleLineHeights.Count, 23);
                Assert.AreEqual(spellCheckResult.WavyLineArea.ListWavyLineRects.Count, 22);
                Assert.IsNull(spellCheckResult.WavyLineArea.ListWavyLines);
                Assert.AreEqual(spellCheckResult.WavyLineArea.endCharIndex, 183);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startCharIndex, 0);
                Assert.AreEqual(spellCheckResult.WavyLineArea.startLineIndex, 0);
            }
        }
コード例 #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.label2 = new System.Windows.Forms.Label();
     this.textNote = new OpenDental.ODtextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.textUser = new System.Windows.Forms.TextBox();
     this.label16 = new System.Windows.Forms.Label();
     this.textDateTime = new System.Windows.Forms.TextBox();
     this.butDelete = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(471,315);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 1;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(564,315);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(0,15);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(97,16);
     this.label2.TabIndex = 6;
     this.label2.Text = "Date / Time";
     this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textNote
     //
     this.textNote.AcceptsReturn = true;
     this.textNote.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.textNote.Location = new System.Drawing.Point(98,63);
     this.textNote.Multiline = true;
     this.textNote.Name = "textNote";
     this.textNote.QuickPasteType = OpenDentBusiness.QuickPasteType.Adjustment;
     this.textNote.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textNote.Size = new System.Drawing.Size(541,218);
     this.textNote.TabIndex = 0;
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(3,66);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(94,16);
     this.label4.TabIndex = 9;
     this.label4.Text = "Note";
     this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textUser
     //
     this.textUser.Location = new System.Drawing.Point(98,37);
     this.textUser.Name = "textUser";
     this.textUser.ReadOnly = true;
     this.textUser.Size = new System.Drawing.Size(134,20);
     this.textUser.TabIndex = 126;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(2,39);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(94,16);
     this.label16.TabIndex = 127;
     this.label16.Text = "User";
     this.label16.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textDateTime
     //
     this.textDateTime.Location = new System.Drawing.Point(98,11);
     this.textDateTime.Name = "textDateTime";
     this.textDateTime.Size = new System.Drawing.Size(164,20);
     this.textDateTime.TabIndex = 128;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(33,315);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(80,24);
     this.butDelete.TabIndex = 129;
     this.butDelete.Text = "&Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // FormTaskNoteEdit
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(664,366);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.textDateTime);
     this.Controls.Add(this.textUser);
     this.Controls.Add(this.label16);
     this.Controls.Add(this.textNote);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormTaskNoteEdit";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Task Note Edit";
     this.Load += new System.EventHandler(this.FormTaskNoteEdit_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #16
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.label1 = new System.Windows.Forms.Label();
     this.textName = new System.Windows.Forms.TextBox();
     this.textWkPhone = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.textHmPhone = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.textWirelessPhone = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.listOther = new System.Windows.Forms.ListBox();
     this.label6 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.textAddrNotes = new OpenDental.ODtextBox();
     this.butDelete = new OpenDental.UI.Button();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.SuspendLayout();
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(26,22);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(123,16);
     this.label1.TabIndex = 4;
     this.label1.Text = "Office Name";
     this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textName
     //
     this.textName.Location = new System.Drawing.Point(151,20);
     this.textName.Name = "textName";
     this.textName.ReadOnly = true;
     this.textName.Size = new System.Drawing.Size(425,20);
     this.textName.TabIndex = 5;
     //
     // textWkPhone
     //
     this.textWkPhone.Location = new System.Drawing.Point(151,46);
     this.textWkPhone.Name = "textWkPhone";
     this.textWkPhone.Size = new System.Drawing.Size(224,20);
     this.textWkPhone.TabIndex = 7;
     this.textWkPhone.TextChanged += new System.EventHandler(this.textWkPhone_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(26,48);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(123,16);
     this.label2.TabIndex = 6;
     this.label2.Text = "Work Phone";
     this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textHmPhone
     //
     this.textHmPhone.Location = new System.Drawing.Point(151,72);
     this.textHmPhone.Name = "textHmPhone";
     this.textHmPhone.Size = new System.Drawing.Size(224,20);
     this.textHmPhone.TabIndex = 9;
     this.textHmPhone.TextChanged += new System.EventHandler(this.textHmPhone_TextChanged);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(26,74);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(123,16);
     this.label3.TabIndex = 8;
     this.label3.Text = "Home Phone";
     this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textWirelessPhone
     //
     this.textWirelessPhone.Location = new System.Drawing.Point(151,98);
     this.textWirelessPhone.Name = "textWirelessPhone";
     this.textWirelessPhone.Size = new System.Drawing.Size(224,20);
     this.textWirelessPhone.TabIndex = 11;
     this.textWirelessPhone.TextChanged += new System.EventHandler(this.textWirelessPhone_TextChanged);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(26,100);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(123,16);
     this.label4.TabIndex = 10;
     this.label4.Text = "Wireless Phone";
     this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(42,191);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(107,16);
     this.label5.TabIndex = 12;
     this.label5.Text = "Other Numbers";
     this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // listOther
     //
     this.listOther.FormattingEnabled = true;
     this.listOther.Location = new System.Drawing.Point(151,189);
     this.listOther.Name = "listOther";
     this.listOther.Size = new System.Drawing.Size(178,186);
     this.listOther.TabIndex = 13;
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(148,408);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(225,55);
     this.label6.TabIndex = 15;
     this.label6.Text = "The change will not show immediately in the phone grid, but will instead show the" +
     " next time the patient calls.";
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(2,125);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(147,28);
     this.label7.TabIndex = 17;
     this.label7.Text = "Address and Phone Notes";
     this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textAddrNotes
     //
     this.textAddrNotes.AcceptsReturn = true;
     this.textAddrNotes.Location = new System.Drawing.Point(151,124);
     this.textAddrNotes.Multiline = true;
     this.textAddrNotes.Name = "textAddrNotes";
     this.textAddrNotes.QuickPasteType = OpenDentBusiness.QuickPasteType.PatAddressNote;
     this.textAddrNotes.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textAddrNotes.Size = new System.Drawing.Size(224,59);
     this.textAddrNotes.TabIndex = 16;
     //
     // butDelete
     //
     this.butDelete.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butDelete.Autosize = true;
     this.butDelete.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butDelete.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butDelete.CornerRadius = 4F;
     this.butDelete.Image = global::OpenDental.Properties.Resources.deleteX;
     this.butDelete.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butDelete.Location = new System.Drawing.Point(151,381);
     this.butDelete.Name = "butDelete";
     this.butDelete.Size = new System.Drawing.Size(79,24);
     this.butDelete.TabIndex = 14;
     this.butDelete.Text = "Delete";
     this.butDelete.Click += new System.EventHandler(this.butDelete_Click);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(533,395);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 3;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(533,433);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 2;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // FormPhoneNumbersManage
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(633,484);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.textAddrNotes);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.butDelete);
     this.Controls.Add(this.listOther);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.textWirelessPhone);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.textHmPhone);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textWkPhone);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.textName);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormPhoneNumbersManage";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Phone Numbers";
     this.Load += new System.EventHandler(this.FormPhoneNumbersManage_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.textLName4 = new System.Windows.Forms.TextBox();
     this.textLName5 = new System.Windows.Forms.TextBox();
     this.textLName1 = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.textFName1 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.label7 = new System.Windows.Forms.Label();
     this.listPosition1 = new System.Windows.Forms.ListBox();
     this.listGender1 = new System.Windows.Forms.ListBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.textHmPhone = new System.Windows.Forms.TextBox();
     this.textZip = new System.Windows.Forms.TextBox();
     this.comboZip = new System.Windows.Forms.ComboBox();
     this.textState = new System.Windows.Forms.TextBox();
     this.labelST = new System.Windows.Forms.Label();
     this.textAddress = new System.Windows.Forms.TextBox();
     this.label12 = new System.Windows.Forms.Label();
     this.labelCity = new System.Windows.Forms.Label();
     this.textAddress2 = new System.Windows.Forms.TextBox();
     this.labelZip = new System.Windows.Forms.Label();
     this.label16 = new System.Windows.Forms.Label();
     this.textCity = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label39 = new System.Windows.Forms.Label();
     this.label38 = new System.Windows.Forms.Label();
     this.comboSecProv1 = new System.Windows.Forms.ComboBox();
     this.comboPriProv1 = new System.Windows.Forms.ComboBox();
     this.label3 = new System.Windows.Forms.Label();
     this.checkInsOne1 = new System.Windows.Forms.CheckBox();
     this.label4 = new System.Windows.Forms.Label();
     this.checkInsTwo1 = new System.Windows.Forms.CheckBox();
     this.checkInsTwo2 = new System.Windows.Forms.CheckBox();
     this.checkInsOne2 = new System.Windows.Forms.CheckBox();
     this.listPosition2 = new System.Windows.Forms.ListBox();
     this.listGender2 = new System.Windows.Forms.ListBox();
     this.textFName2 = new System.Windows.Forms.TextBox();
     this.textLName2 = new System.Windows.Forms.TextBox();
     this.checkInsTwo3 = new System.Windows.Forms.CheckBox();
     this.checkInsOne3 = new System.Windows.Forms.CheckBox();
     this.listGender3 = new System.Windows.Forms.ListBox();
     this.textFName3 = new System.Windows.Forms.TextBox();
     this.textLName3 = new System.Windows.Forms.TextBox();
     this.checkInsTwo4 = new System.Windows.Forms.CheckBox();
     this.checkInsOne4 = new System.Windows.Forms.CheckBox();
     this.listGender4 = new System.Windows.Forms.ListBox();
     this.textFName4 = new System.Windows.Forms.TextBox();
     this.checkInsTwo5 = new System.Windows.Forms.CheckBox();
     this.checkInsOne5 = new System.Windows.Forms.CheckBox();
     this.listGender5 = new System.Windows.Forms.ListBox();
     this.textFName5 = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.textPhone1 = new System.Windows.Forms.TextBox();
     this.label13 = new System.Windows.Forms.Label();
     this.textCarrier1 = new System.Windows.Forms.TextBox();
     this.label17 = new System.Windows.Forms.Label();
     this.groupIns1 = new System.Windows.Forms.GroupBox();
     this.butPick1 = new OpenDental.UI.Button();
     this.textGroupNum1 = new System.Windows.Forms.TextBox();
     this.labelGroupNum = new System.Windows.Forms.Label();
     this.label19 = new System.Windows.Forms.Label();
     this.textGroupName1 = new System.Windows.Forms.TextBox();
     this.textEmployer1 = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.textSubscriberID1 = new System.Windows.Forms.TextBox();
     this.label15 = new System.Windows.Forms.Label();
     this.comboSubscriber1 = new System.Windows.Forms.ComboBox();
     this.label14 = new System.Windows.Forms.Label();
     this.label20 = new System.Windows.Forms.Label();
     this.label21 = new System.Windows.Forms.Label();
     this.label22 = new System.Windows.Forms.Label();
     this.groupIns2 = new System.Windows.Forms.GroupBox();
     this.butPick2 = new OpenDental.UI.Button();
     this.textGroupNum2 = new System.Windows.Forms.TextBox();
     this.label23 = new System.Windows.Forms.Label();
     this.label24 = new System.Windows.Forms.Label();
     this.textGroupName2 = new System.Windows.Forms.TextBox();
     this.textEmployer2 = new System.Windows.Forms.TextBox();
     this.label25 = new System.Windows.Forms.Label();
     this.textSubscriberID2 = new System.Windows.Forms.TextBox();
     this.label26 = new System.Windows.Forms.Label();
     this.comboSubscriber2 = new System.Windows.Forms.ComboBox();
     this.label27 = new System.Windows.Forms.Label();
     this.textPhone2 = new System.Windows.Forms.TextBox();
     this.label28 = new System.Windows.Forms.Label();
     this.label29 = new System.Windows.Forms.Label();
     this.textCarrier2 = new System.Windows.Forms.TextBox();
     this.label30 = new System.Windows.Forms.Label();
     this.textReferral = new System.Windows.Forms.TextBox();
     this.textAge1 = new System.Windows.Forms.TextBox();
     this.textAge2 = new System.Windows.Forms.TextBox();
     this.textAge3 = new System.Windows.Forms.TextBox();
     this.textAge4 = new System.Windows.Forms.TextBox();
     this.textAge5 = new System.Windows.Forms.TextBox();
     this.comboSecProv2 = new System.Windows.Forms.ComboBox();
     this.comboPriProv2 = new System.Windows.Forms.ComboBox();
     this.comboSecProv3 = new System.Windows.Forms.ComboBox();
     this.comboPriProv3 = new System.Windows.Forms.ComboBox();
     this.comboSecProv4 = new System.Windows.Forms.ComboBox();
     this.comboPriProv4 = new System.Windows.Forms.ComboBox();
     this.comboSecProv5 = new System.Windows.Forms.ComboBox();
     this.comboPriProv5 = new System.Windows.Forms.ComboBox();
     this.label8 = new System.Windows.Forms.Label();
     this.textReferralFName = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.textAddrNotes = new OpenDental.ODtextBox();
     this.textBirthdate5 = new OpenDental.ValidDate();
     this.textBirthdate4 = new OpenDental.ValidDate();
     this.textBirthdate3 = new OpenDental.ValidDate();
     this.textBirthdate2 = new OpenDental.ValidDate();
     this.textBirthdate1 = new OpenDental.ValidDate();
     this.butOK = new OpenDental.UI.Button();
     this.butCancel = new OpenDental.UI.Button();
     this.groupBox1.SuspendLayout();
     this.groupIns1.SuspendLayout();
     this.groupIns2.SuspendLayout();
     this.SuspendLayout();
     //
     // textLName4
     //
     this.textLName4.Location = new System.Drawing.Point(580,28);
     this.textLName4.MaxLength = 100;
     this.textLName4.Name = "textLName4";
     this.textLName4.Size = new System.Drawing.Size(149,20);
     this.textLName4.TabIndex = 49;
     this.textLName4.TextChanged += new System.EventHandler(this.textLName4_TextChanged);
     //
     // textLName5
     //
     this.textLName5.Location = new System.Drawing.Point(733,28);
     this.textLName5.MaxLength = 100;
     this.textLName5.Name = "textLName5";
     this.textLName5.Size = new System.Drawing.Size(149,20);
     this.textLName5.TabIndex = 57;
     this.textLName5.TextChanged += new System.EventHandler(this.textLName5_TextChanged);
     //
     // textLName1
     //
     this.textLName1.Location = new System.Drawing.Point(121,28);
     this.textLName1.MaxLength = 100;
     this.textLName1.Name = "textLName1";
     this.textLName1.Size = new System.Drawing.Size(149,20);
     this.textLName1.TabIndex = 0;
     this.textLName1.TextChanged += new System.EventHandler(this.textLName1_TextChanged);
     //
     // label2
     //
     this.label2.Location = new System.Drawing.Point(3,29);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(118,16);
     this.label2.TabIndex = 5;
     this.label2.Text = "Last Name";
     this.label2.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // textFName1
     //
     this.textFName1.Location = new System.Drawing.Point(121,49);
     this.textFName1.MaxLength = 100;
     this.textFName1.Name = "textFName1";
     this.textFName1.Size = new System.Drawing.Size(149,20);
     this.textFName1.TabIndex = 1;
     this.textFName1.TextChanged += new System.EventHandler(this.textFName1_TextChanged);
     //
     // label1
     //
     this.label1.Location = new System.Drawing.Point(3,50);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(118,16);
     this.label1.TabIndex = 7;
     this.label1.Text = "First Name";
     this.label1.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // label5
     //
     this.label5.Location = new System.Drawing.Point(6,102);
     this.label5.Name = "label5";
     this.label5.Size = new System.Drawing.Size(115,16);
     this.label5.TabIndex = 13;
     this.label5.Text = "Birthdate / Age";
     this.label5.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // label7
     //
     this.label7.Location = new System.Drawing.Point(14,73);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(107,16);
     this.label7.TabIndex = 15;
     this.label7.Text = "Gender / Position";
     this.label7.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // listPosition1
     //
     this.listPosition1.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.listPosition1.Items.AddRange(new object[] {
     "Single",
     "Married"});
     this.listPosition1.Location = new System.Drawing.Point(183,70);
     this.listPosition1.Name = "listPosition1";
     this.listPosition1.Size = new System.Drawing.Size(61,30);
     this.listPosition1.TabIndex = 17;
     //
     // listGender1
     //
     this.listGender1.Items.AddRange(new object[] {
     "Male",
     "Female"});
     this.listGender1.Location = new System.Drawing.Point(121,70);
     this.listGender1.Name = "listGender1";
     this.listGender1.Size = new System.Drawing.Size(61,30);
     this.listGender1.TabIndex = 14;
     //
     // groupBox1
     //
     this.groupBox1.Controls.Add(this.textHmPhone);
     this.groupBox1.Controls.Add(this.textZip);
     this.groupBox1.Controls.Add(this.comboZip);
     this.groupBox1.Controls.Add(this.textState);
     this.groupBox1.Controls.Add(this.labelST);
     this.groupBox1.Controls.Add(this.textAddress);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.labelCity);
     this.groupBox1.Controls.Add(this.textAddress2);
     this.groupBox1.Controls.Add(this.labelZip);
     this.groupBox1.Controls.Add(this.label16);
     this.groupBox1.Controls.Add(this.textCity);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.groupBox1.Location = new System.Drawing.Point(29,211);
     this.groupBox1.Name = "groupBox1";
     this.groupBox1.Size = new System.Drawing.Size(409,167);
     this.groupBox1.TabIndex = 11;
     this.groupBox1.TabStop = false;
     this.groupBox1.Text = "Address and Phone";
     //
     // textHmPhone
     //
     this.textHmPhone.Location = new System.Drawing.Point(128,29);
     this.textHmPhone.MaxLength = 30;
     this.textHmPhone.Name = "textHmPhone";
     this.textHmPhone.Size = new System.Drawing.Size(174,20);
     this.textHmPhone.TabIndex = 0;
     this.textHmPhone.TextChanged += new System.EventHandler(this.textHmPhone_TextChanged);
     //
     // textZip
     //
     this.textZip.Location = new System.Drawing.Point(128,129);
     this.textZip.MaxLength = 100;
     this.textZip.Name = "textZip";
     this.textZip.Size = new System.Drawing.Size(179,20);
     this.textZip.TabIndex = 3;
     this.textZip.TextChanged += new System.EventHandler(this.textZip_TextChanged);
     this.textZip.Validating += new System.ComponentModel.CancelEventHandler(this.textZip_Validating);
     //
     // comboZip
     //
     this.comboZip.DropDownWidth = 198;
     this.comboZip.Location = new System.Drawing.Point(128,129);
     this.comboZip.Name = "comboZip";
     this.comboZip.Size = new System.Drawing.Size(198,21);
     this.comboZip.TabIndex = 60;
     this.comboZip.TabStop = false;
     this.comboZip.SelectionChangeCommitted += new System.EventHandler(this.comboZip_SelectionChangeCommitted);
     //
     // textState
     //
     this.textState.Location = new System.Drawing.Point(128,109);
     this.textState.MaxLength = 100;
     this.textState.Name = "textState";
     this.textState.Size = new System.Drawing.Size(61,20);
     this.textState.TabIndex = 5;
     this.textState.TabStop = false;
     this.textState.TextChanged += new System.EventHandler(this.textState_TextChanged);
     //
     // labelST
     //
     this.labelST.Location = new System.Drawing.Point(30,113);
     this.labelST.Name = "labelST";
     this.labelST.Size = new System.Drawing.Size(96,14);
     this.labelST.TabIndex = 13;
     this.labelST.Text = "ST";
     this.labelST.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textAddress
     //
     this.textAddress.Location = new System.Drawing.Point(128,49);
     this.textAddress.MaxLength = 100;
     this.textAddress.Name = "textAddress";
     this.textAddress.Size = new System.Drawing.Size(253,20);
     this.textAddress.TabIndex = 1;
     this.textAddress.TextChanged += new System.EventHandler(this.textAddress_TextChanged);
     //
     // label12
     //
     this.label12.Location = new System.Drawing.Point(28,73);
     this.label12.Name = "label12";
     this.label12.Size = new System.Drawing.Size(99,14);
     this.label12.TabIndex = 11;
     this.label12.Text = "Address2";
     this.label12.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // labelCity
     //
     this.labelCity.Location = new System.Drawing.Point(27,93);
     this.labelCity.Name = "labelCity";
     this.labelCity.Size = new System.Drawing.Size(98,14);
     this.labelCity.TabIndex = 12;
     this.labelCity.Text = "City";
     this.labelCity.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textAddress2
     //
     this.textAddress2.Location = new System.Drawing.Point(128,69);
     this.textAddress2.MaxLength = 100;
     this.textAddress2.Name = "textAddress2";
     this.textAddress2.Size = new System.Drawing.Size(253,20);
     this.textAddress2.TabIndex = 2;
     this.textAddress2.TextChanged += new System.EventHandler(this.textAddress2_TextChanged);
     //
     // labelZip
     //
     this.labelZip.Location = new System.Drawing.Point(30,134);
     this.labelZip.Name = "labelZip";
     this.labelZip.Size = new System.Drawing.Size(96,14);
     this.labelZip.TabIndex = 14;
     this.labelZip.Text = "Zip";
     this.labelZip.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label16
     //
     this.label16.Location = new System.Drawing.Point(30,31);
     this.label16.Name = "label16";
     this.label16.Size = new System.Drawing.Size(98,14);
     this.label16.TabIndex = 15;
     this.label16.Text = "Home Phone";
     this.label16.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textCity
     //
     this.textCity.Location = new System.Drawing.Point(128,89);
     this.textCity.MaxLength = 100;
     this.textCity.Name = "textCity";
     this.textCity.Size = new System.Drawing.Size(191,20);
     this.textCity.TabIndex = 4;
     this.textCity.TabStop = false;
     this.textCity.TextChanged += new System.EventHandler(this.textCity_TextChanged);
     //
     // label11
     //
     this.label11.Location = new System.Drawing.Point(28,52);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(98,14);
     this.label11.TabIndex = 10;
     this.label11.Text = "Address";
     this.label11.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label39
     //
     this.label39.Location = new System.Drawing.Point(0,166);
     this.label39.Name = "label39";
     this.label39.Size = new System.Drawing.Size(121,16);
     this.label39.TabIndex = 68;
     this.label39.Text = "Secondary Provider";
     this.label39.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label38
     //
     this.label38.Location = new System.Drawing.Point(0,144);
     this.label38.Name = "label38";
     this.label38.Size = new System.Drawing.Size(121,16);
     this.label38.TabIndex = 67;
     this.label38.Text = "Primary Provider";
     this.label38.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // comboSecProv1
     //
     this.comboSecProv1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSecProv1.FormattingEnabled = true;
     this.comboSecProv1.Location = new System.Drawing.Point(121,164);
     this.comboSecProv1.MaxDropDownItems = 30;
     this.comboSecProv1.Name = "comboSecProv1";
     this.comboSecProv1.Size = new System.Drawing.Size(149,21);
     this.comboSecProv1.TabIndex = 19;
     this.comboSecProv1.SelectionChangeCommitted += new System.EventHandler(this.comboSecProv1_SelectionChangeCommitted);
     //
     // comboPriProv1
     //
     this.comboPriProv1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPriProv1.FormattingEnabled = true;
     this.comboPriProv1.Location = new System.Drawing.Point(121,142);
     this.comboPriProv1.MaxDropDownItems = 30;
     this.comboPriProv1.Name = "comboPriProv1";
     this.comboPriProv1.Size = new System.Drawing.Size(149,21);
     this.comboPriProv1.TabIndex = 17;
     this.comboPriProv1.SelectionChangeCommitted += new System.EventHandler(this.comboPriProv1_SelectionChangeCommitted);
     //
     // label3
     //
     this.label3.Location = new System.Drawing.Point(121,11);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(149,16);
     this.label3.TabIndex = 27;
     this.label3.Text = "Guarantor";
     this.label3.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
     //
     // checkInsOne1
     //
     this.checkInsOne1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsOne1.Location = new System.Drawing.Point(121,121);
     this.checkInsOne1.Name = "checkInsOne1";
     this.checkInsOne1.Size = new System.Drawing.Size(37,21);
     this.checkInsOne1.TabIndex = 30;
     this.checkInsOne1.TabStop = false;
     this.checkInsOne1.Text = "1";
     this.checkInsOne1.Click += new System.EventHandler(this.checkInsOne1_Click);
     //
     // label4
     //
     this.label4.Location = new System.Drawing.Point(17,122);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(104,16);
     this.label4.TabIndex = 29;
     this.label4.Text = "Insurance";
     this.label4.TextAlign = System.Drawing.ContentAlignment.BottomRight;
     //
     // checkInsTwo1
     //
     this.checkInsTwo1.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsTwo1.Location = new System.Drawing.Point(164,121);
     this.checkInsTwo1.Name = "checkInsTwo1";
     this.checkInsTwo1.Size = new System.Drawing.Size(37,21);
     this.checkInsTwo1.TabIndex = 32;
     this.checkInsTwo1.TabStop = false;
     this.checkInsTwo1.Text = "2";
     this.checkInsTwo1.Click += new System.EventHandler(this.checkInsTwo1_Click);
     //
     // checkInsTwo2
     //
     this.checkInsTwo2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsTwo2.Location = new System.Drawing.Point(317,121);
     this.checkInsTwo2.Name = "checkInsTwo2";
     this.checkInsTwo2.Size = new System.Drawing.Size(37,21);
     this.checkInsTwo2.TabIndex = 40;
     this.checkInsTwo2.TabStop = false;
     this.checkInsTwo2.Text = "2";
     //
     // checkInsOne2
     //
     this.checkInsOne2.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsOne2.Location = new System.Drawing.Point(274,121);
     this.checkInsOne2.Name = "checkInsOne2";
     this.checkInsOne2.Size = new System.Drawing.Size(37,21);
     this.checkInsOne2.TabIndex = 39;
     this.checkInsOne2.TabStop = false;
     this.checkInsOne2.Text = "1";
     //
     // listPosition2
     //
     this.listPosition2.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.listPosition2.Items.AddRange(new object[] {
     "Single",
     "Married"});
     this.listPosition2.Location = new System.Drawing.Point(336,70);
     this.listPosition2.Name = "listPosition2";
     this.listPosition2.Size = new System.Drawing.Size(61,30);
     this.listPosition2.TabIndex = 37;
     //
     // listGender2
     //
     this.listGender2.Items.AddRange(new object[] {
     "Male",
     "Female"});
     this.listGender2.Location = new System.Drawing.Point(274,70);
     this.listGender2.Name = "listGender2";
     this.listGender2.Size = new System.Drawing.Size(61,30);
     this.listGender2.TabIndex = 36;
     //
     // textFName2
     //
     this.textFName2.Location = new System.Drawing.Point(274,49);
     this.textFName2.MaxLength = 100;
     this.textFName2.Name = "textFName2";
     this.textFName2.Size = new System.Drawing.Size(149,20);
     this.textFName2.TabIndex = 2;
     this.textFName2.TextChanged += new System.EventHandler(this.textFName2_TextChanged);
     //
     // textLName2
     //
     this.textLName2.Location = new System.Drawing.Point(274,28);
     this.textLName2.MaxLength = 100;
     this.textLName2.Name = "textLName2";
     this.textLName2.Size = new System.Drawing.Size(149,20);
     this.textLName2.TabIndex = 33;
     this.textLName2.TextChanged += new System.EventHandler(this.textLName2_TextChanged);
     //
     // checkInsTwo3
     //
     this.checkInsTwo3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsTwo3.Location = new System.Drawing.Point(470,121);
     this.checkInsTwo3.Name = "checkInsTwo3";
     this.checkInsTwo3.Size = new System.Drawing.Size(37,21);
     this.checkInsTwo3.TabIndex = 48;
     this.checkInsTwo3.TabStop = false;
     this.checkInsTwo3.Text = "2";
     //
     // checkInsOne3
     //
     this.checkInsOne3.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsOne3.Location = new System.Drawing.Point(427,121);
     this.checkInsOne3.Name = "checkInsOne3";
     this.checkInsOne3.Size = new System.Drawing.Size(37,21);
     this.checkInsOne3.TabIndex = 47;
     this.checkInsOne3.TabStop = false;
     this.checkInsOne3.Text = "1";
     //
     // listGender3
     //
     this.listGender3.Items.AddRange(new object[] {
     "Male",
     "Female"});
     this.listGender3.Location = new System.Drawing.Point(427,70);
     this.listGender3.Name = "listGender3";
     this.listGender3.Size = new System.Drawing.Size(61,30);
     this.listGender3.TabIndex = 44;
     //
     // textFName3
     //
     this.textFName3.Location = new System.Drawing.Point(427,49);
     this.textFName3.MaxLength = 100;
     this.textFName3.Name = "textFName3";
     this.textFName3.Size = new System.Drawing.Size(149,20);
     this.textFName3.TabIndex = 3;
     this.textFName3.TextChanged += new System.EventHandler(this.textFName3_TextChanged);
     //
     // textLName3
     //
     this.textLName3.Location = new System.Drawing.Point(427,28);
     this.textLName3.MaxLength = 100;
     this.textLName3.Name = "textLName3";
     this.textLName3.Size = new System.Drawing.Size(149,20);
     this.textLName3.TabIndex = 41;
     this.textLName3.TextChanged += new System.EventHandler(this.textLName3_TextChanged);
     //
     // checkInsTwo4
     //
     this.checkInsTwo4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsTwo4.Location = new System.Drawing.Point(623,121);
     this.checkInsTwo4.Name = "checkInsTwo4";
     this.checkInsTwo4.Size = new System.Drawing.Size(37,21);
     this.checkInsTwo4.TabIndex = 56;
     this.checkInsTwo4.TabStop = false;
     this.checkInsTwo4.Text = "2";
     //
     // checkInsOne4
     //
     this.checkInsOne4.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsOne4.Location = new System.Drawing.Point(580,121);
     this.checkInsOne4.Name = "checkInsOne4";
     this.checkInsOne4.Size = new System.Drawing.Size(37,21);
     this.checkInsOne4.TabIndex = 55;
     this.checkInsOne4.TabStop = false;
     this.checkInsOne4.Text = "1";
     //
     // listGender4
     //
     this.listGender4.Items.AddRange(new object[] {
     "Male",
     "Female"});
     this.listGender4.Location = new System.Drawing.Point(580,70);
     this.listGender4.Name = "listGender4";
     this.listGender4.Size = new System.Drawing.Size(61,30);
     this.listGender4.TabIndex = 52;
     //
     // textFName4
     //
     this.textFName4.Location = new System.Drawing.Point(580,49);
     this.textFName4.MaxLength = 100;
     this.textFName4.Name = "textFName4";
     this.textFName4.Size = new System.Drawing.Size(149,20);
     this.textFName4.TabIndex = 4;
     this.textFName4.TextChanged += new System.EventHandler(this.textFName4_TextChanged);
     //
     // checkInsTwo5
     //
     this.checkInsTwo5.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsTwo5.Location = new System.Drawing.Point(776,121);
     this.checkInsTwo5.Name = "checkInsTwo5";
     this.checkInsTwo5.Size = new System.Drawing.Size(37,21);
     this.checkInsTwo5.TabIndex = 64;
     this.checkInsTwo5.TabStop = false;
     this.checkInsTwo5.Text = "2";
     //
     // checkInsOne5
     //
     this.checkInsOne5.FlatStyle = System.Windows.Forms.FlatStyle.System;
     this.checkInsOne5.Location = new System.Drawing.Point(733,121);
     this.checkInsOne5.Name = "checkInsOne5";
     this.checkInsOne5.Size = new System.Drawing.Size(37,21);
     this.checkInsOne5.TabIndex = 63;
     this.checkInsOne5.TabStop = false;
     this.checkInsOne5.Text = "1";
     //
     // listGender5
     //
     this.listGender5.Items.AddRange(new object[] {
     "Male",
     "Female"});
     this.listGender5.Location = new System.Drawing.Point(733,70);
     this.listGender5.Name = "listGender5";
     this.listGender5.Size = new System.Drawing.Size(61,30);
     this.listGender5.TabIndex = 60;
     //
     // textFName5
     //
     this.textFName5.Location = new System.Drawing.Point(733,49);
     this.textFName5.MaxLength = 100;
     this.textFName5.Name = "textFName5";
     this.textFName5.Size = new System.Drawing.Size(149,20);
     this.textFName5.TabIndex = 5;
     this.textFName5.TextChanged += new System.EventHandler(this.textFName5_TextChanged);
     //
     // label6
     //
     this.label6.Location = new System.Drawing.Point(34,408);
     this.label6.Name = "label6";
     this.label6.Size = new System.Drawing.Size(121,30);
     this.label6.TabIndex = 69;
     this.label6.Text = "Address and Phone Notes";
     this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textPhone1
     //
     this.textPhone1.Location = new System.Drawing.Point(95,95);
     this.textPhone1.MaxLength = 30;
     this.textPhone1.Name = "textPhone1";
     this.textPhone1.Size = new System.Drawing.Size(157,20);
     this.textPhone1.TabIndex = 4;
     //
     // label13
     //
     this.label13.Location = new System.Drawing.Point(31,98);
     this.label13.Name = "label13";
     this.label13.Size = new System.Drawing.Size(62,15);
     this.label13.TabIndex = 155;
     this.label13.Text = "Phone";
     this.label13.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textCarrier1
     //
     this.textCarrier1.Font = new System.Drawing.Font("Microsoft Sans Serif",9F,System.Drawing.FontStyle.Bold,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.textCarrier1.Location = new System.Drawing.Point(95,75);
     this.textCarrier1.MaxLength = 50;
     this.textCarrier1.Multiline = true;
     this.textCarrier1.Name = "textCarrier1";
     this.textCarrier1.Size = new System.Drawing.Size(254,20);
     this.textCarrier1.TabIndex = 3;
     this.textCarrier1.Leave += new System.EventHandler(this.textCarrier1_Leave);
     this.textCarrier1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textCarrier1_KeyUp);
     //
     // label17
     //
     this.label17.Location = new System.Drawing.Point(32,77);
     this.label17.Name = "label17";
     this.label17.Size = new System.Drawing.Size(61,15);
     this.label17.TabIndex = 156;
     this.label17.Text = "Carrier";
     this.label17.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // groupIns1
     //
     this.groupIns1.Controls.Add(this.butPick1);
     this.groupIns1.Controls.Add(this.textGroupNum1);
     this.groupIns1.Controls.Add(this.labelGroupNum);
     this.groupIns1.Controls.Add(this.label19);
     this.groupIns1.Controls.Add(this.textGroupName1);
     this.groupIns1.Controls.Add(this.textEmployer1);
     this.groupIns1.Controls.Add(this.label18);
     this.groupIns1.Controls.Add(this.textSubscriberID1);
     this.groupIns1.Controls.Add(this.label15);
     this.groupIns1.Controls.Add(this.comboSubscriber1);
     this.groupIns1.Controls.Add(this.label14);
     this.groupIns1.Controls.Add(this.textPhone1);
     this.groupIns1.Controls.Add(this.label17);
     this.groupIns1.Controls.Add(this.label13);
     this.groupIns1.Controls.Add(this.textCarrier1);
     this.groupIns1.Location = new System.Drawing.Point(444,211);
     this.groupIns1.Name = "groupIns1";
     this.groupIns1.Size = new System.Drawing.Size(396,167);
     this.groupIns1.TabIndex = 15;
     this.groupIns1.TabStop = false;
     this.groupIns1.Text = "Insurance 1";
     //
     // butPick1
     //
     this.butPick1.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butPick1.Autosize = true;
     this.butPick1.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butPick1.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butPick1.CornerRadius = 4F;
     this.butPick1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butPick1.Location = new System.Drawing.Point(305,31);
     this.butPick1.Name = "butPick1";
     this.butPick1.Size = new System.Drawing.Size(90,23);
     this.butPick1.TabIndex = 168;
     this.butPick1.Text = "Pick From List";
     this.butPick1.Click += new System.EventHandler(this.butPick1_Click);
     //
     // textGroupNum1
     //
     this.textGroupNum1.Location = new System.Drawing.Point(95,135);
     this.textGroupNum1.MaxLength = 20;
     this.textGroupNum1.Name = "textGroupNum1";
     this.textGroupNum1.Size = new System.Drawing.Size(129,20);
     this.textGroupNum1.TabIndex = 6;
     //
     // labelGroupNum
     //
     this.labelGroupNum.Location = new System.Drawing.Point(2,138);
     this.labelGroupNum.Name = "labelGroupNum";
     this.labelGroupNum.Size = new System.Drawing.Size(92,15);
     this.labelGroupNum.TabIndex = 167;
     this.labelGroupNum.Text = "Group Num";
     this.labelGroupNum.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label19
     //
     this.label19.Location = new System.Drawing.Point(1,118);
     this.label19.Name = "label19";
     this.label19.Size = new System.Drawing.Size(93,15);
     this.label19.TabIndex = 166;
     this.label19.Text = "Group Name";
     this.label19.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textGroupName1
     //
     this.textGroupName1.Location = new System.Drawing.Point(95,115);
     this.textGroupName1.MaxLength = 50;
     this.textGroupName1.Name = "textGroupName1";
     this.textGroupName1.Size = new System.Drawing.Size(193,20);
     this.textGroupName1.TabIndex = 5;
     //
     // textEmployer1
     //
     this.textEmployer1.Location = new System.Drawing.Point(95,55);
     this.textEmployer1.MaxLength = 40;
     this.textEmployer1.Name = "textEmployer1";
     this.textEmployer1.Size = new System.Drawing.Size(254,20);
     this.textEmployer1.TabIndex = 2;
     this.textEmployer1.Leave += new System.EventHandler(this.textEmployer1_Leave);
     this.textEmployer1.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textEmployer1_KeyUp);
     //
     // label18
     //
     this.label18.Location = new System.Drawing.Point(16,57);
     this.label18.Name = "label18";
     this.label18.Size = new System.Drawing.Size(78,15);
     this.label18.TabIndex = 162;
     this.label18.Text = "Employer";
     this.label18.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textSubscriberID1
     //
     this.textSubscriberID1.Location = new System.Drawing.Point(95,35);
     this.textSubscriberID1.MaxLength = 20;
     this.textSubscriberID1.Name = "textSubscriberID1";
     this.textSubscriberID1.Size = new System.Drawing.Size(129,20);
     this.textSubscriberID1.TabIndex = 1;
     //
     // label15
     //
     this.label15.Location = new System.Drawing.Point(1,37);
     this.label15.Name = "label15";
     this.label15.Size = new System.Drawing.Size(92,15);
     this.label15.TabIndex = 160;
     this.label15.Text = "Subscriber ID";
     this.label15.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // comboSubscriber1
     //
     this.comboSubscriber1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSubscriber1.FormattingEnabled = true;
     this.comboSubscriber1.Location = new System.Drawing.Point(95,14);
     this.comboSubscriber1.MaxDropDownItems = 30;
     this.comboSubscriber1.Name = "comboSubscriber1";
     this.comboSubscriber1.Size = new System.Drawing.Size(198,21);
     this.comboSubscriber1.TabIndex = 0;
     //
     // label14
     //
     this.label14.Location = new System.Drawing.Point(21,18);
     this.label14.Name = "label14";
     this.label14.Size = new System.Drawing.Size(72,15);
     this.label14.TabIndex = 157;
     this.label14.Text = "Subscriber";
     this.label14.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label20
     //
     this.label20.Location = new System.Drawing.Point(491,73);
     this.label20.Name = "label20";
     this.label20.Size = new System.Drawing.Size(61,16);
     this.label20.TabIndex = 158;
     this.label20.Text = "Child";
     this.label20.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label21
     //
     this.label21.Location = new System.Drawing.Point(644,73);
     this.label21.Name = "label21";
     this.label21.Size = new System.Drawing.Size(61,16);
     this.label21.TabIndex = 159;
     this.label21.Text = "Child";
     this.label21.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // label22
     //
     this.label22.Location = new System.Drawing.Point(797,73);
     this.label22.Name = "label22";
     this.label22.Size = new System.Drawing.Size(61,16);
     this.label22.TabIndex = 160;
     this.label22.Text = "Child";
     this.label22.TextAlign = System.Drawing.ContentAlignment.BottomLeft;
     //
     // groupIns2
     //
     this.groupIns2.Controls.Add(this.butPick2);
     this.groupIns2.Controls.Add(this.textGroupNum2);
     this.groupIns2.Controls.Add(this.label23);
     this.groupIns2.Controls.Add(this.label24);
     this.groupIns2.Controls.Add(this.textGroupName2);
     this.groupIns2.Controls.Add(this.textEmployer2);
     this.groupIns2.Controls.Add(this.label25);
     this.groupIns2.Controls.Add(this.textSubscriberID2);
     this.groupIns2.Controls.Add(this.label26);
     this.groupIns2.Controls.Add(this.comboSubscriber2);
     this.groupIns2.Controls.Add(this.label27);
     this.groupIns2.Controls.Add(this.textPhone2);
     this.groupIns2.Controls.Add(this.label28);
     this.groupIns2.Controls.Add(this.label29);
     this.groupIns2.Controls.Add(this.textCarrier2);
     this.groupIns2.Location = new System.Drawing.Point(444,384);
     this.groupIns2.Name = "groupIns2";
     this.groupIns2.Size = new System.Drawing.Size(396,167);
     this.groupIns2.TabIndex = 16;
     this.groupIns2.TabStop = false;
     this.groupIns2.Text = "Insurance 2";
     //
     // butPick2
     //
     this.butPick2.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butPick2.Autosize = true;
     this.butPick2.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butPick2.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butPick2.CornerRadius = 4F;
     this.butPick2.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
     this.butPick2.Location = new System.Drawing.Point(305,31);
     this.butPick2.Name = "butPick2";
     this.butPick2.Size = new System.Drawing.Size(90,23);
     this.butPick2.TabIndex = 169;
     this.butPick2.Text = "Pick From List";
     this.butPick2.Click += new System.EventHandler(this.butPick2_Click);
     //
     // textGroupNum2
     //
     this.textGroupNum2.Location = new System.Drawing.Point(95,135);
     this.textGroupNum2.MaxLength = 20;
     this.textGroupNum2.Name = "textGroupNum2";
     this.textGroupNum2.Size = new System.Drawing.Size(129,20);
     this.textGroupNum2.TabIndex = 6;
     //
     // label23
     //
     this.label23.Location = new System.Drawing.Point(2,138);
     this.label23.Name = "label23";
     this.label23.Size = new System.Drawing.Size(92,15);
     this.label23.TabIndex = 167;
     this.label23.Text = "Group Num";
     this.label23.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // label24
     //
     this.label24.Location = new System.Drawing.Point(1,118);
     this.label24.Name = "label24";
     this.label24.Size = new System.Drawing.Size(93,15);
     this.label24.TabIndex = 166;
     this.label24.Text = "Group Name";
     this.label24.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textGroupName2
     //
     this.textGroupName2.Location = new System.Drawing.Point(95,115);
     this.textGroupName2.MaxLength = 50;
     this.textGroupName2.Name = "textGroupName2";
     this.textGroupName2.Size = new System.Drawing.Size(193,20);
     this.textGroupName2.TabIndex = 5;
     //
     // textEmployer2
     //
     this.textEmployer2.Location = new System.Drawing.Point(95,55);
     this.textEmployer2.MaxLength = 40;
     this.textEmployer2.Name = "textEmployer2";
     this.textEmployer2.Size = new System.Drawing.Size(254,20);
     this.textEmployer2.TabIndex = 2;
     this.textEmployer2.Leave += new System.EventHandler(this.textEmployer2_Leave);
     this.textEmployer2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textEmployer2_KeyUp);
     //
     // label25
     //
     this.label25.Location = new System.Drawing.Point(16,57);
     this.label25.Name = "label25";
     this.label25.Size = new System.Drawing.Size(78,15);
     this.label25.TabIndex = 162;
     this.label25.Text = "Employer";
     this.label25.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textSubscriberID2
     //
     this.textSubscriberID2.Location = new System.Drawing.Point(95,35);
     this.textSubscriberID2.MaxLength = 20;
     this.textSubscriberID2.Name = "textSubscriberID2";
     this.textSubscriberID2.Size = new System.Drawing.Size(129,20);
     this.textSubscriberID2.TabIndex = 1;
     //
     // label26
     //
     this.label26.Location = new System.Drawing.Point(1,37);
     this.label26.Name = "label26";
     this.label26.Size = new System.Drawing.Size(92,15);
     this.label26.TabIndex = 160;
     this.label26.Text = "Subscriber ID";
     this.label26.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // comboSubscriber2
     //
     this.comboSubscriber2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSubscriber2.FormattingEnabled = true;
     this.comboSubscriber2.Location = new System.Drawing.Point(95,14);
     this.comboSubscriber2.MaxDropDownItems = 30;
     this.comboSubscriber2.Name = "comboSubscriber2";
     this.comboSubscriber2.Size = new System.Drawing.Size(198,21);
     this.comboSubscriber2.TabIndex = 0;
     //
     // label27
     //
     this.label27.Location = new System.Drawing.Point(21,18);
     this.label27.Name = "label27";
     this.label27.Size = new System.Drawing.Size(72,15);
     this.label27.TabIndex = 157;
     this.label27.Text = "Subscriber";
     this.label27.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textPhone2
     //
     this.textPhone2.Location = new System.Drawing.Point(95,95);
     this.textPhone2.MaxLength = 30;
     this.textPhone2.Name = "textPhone2";
     this.textPhone2.Size = new System.Drawing.Size(157,20);
     this.textPhone2.TabIndex = 4;
     //
     // label28
     //
     this.label28.Location = new System.Drawing.Point(32,77);
     this.label28.Name = "label28";
     this.label28.Size = new System.Drawing.Size(61,15);
     this.label28.TabIndex = 156;
     this.label28.Text = "Carrier";
     this.label28.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // label29
     //
     this.label29.Location = new System.Drawing.Point(31,98);
     this.label29.Name = "label29";
     this.label29.Size = new System.Drawing.Size(62,15);
     this.label29.TabIndex = 155;
     this.label29.Text = "Phone";
     this.label29.TextAlign = System.Drawing.ContentAlignment.TopRight;
     //
     // textCarrier2
     //
     this.textCarrier2.Font = new System.Drawing.Font("Microsoft Sans Serif",9F,System.Drawing.FontStyle.Bold,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.textCarrier2.Location = new System.Drawing.Point(95,75);
     this.textCarrier2.MaxLength = 50;
     this.textCarrier2.Multiline = true;
     this.textCarrier2.Name = "textCarrier2";
     this.textCarrier2.Size = new System.Drawing.Size(254,20);
     this.textCarrier2.TabIndex = 3;
     this.textCarrier2.Leave += new System.EventHandler(this.textCarrier2_Leave);
     this.textCarrier2.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textCarrier2_KeyUp);
     //
     // label30
     //
     this.label30.Location = new System.Drawing.Point(60,479);
     this.label30.Name = "label30";
     this.label30.Size = new System.Drawing.Size(96,15);
     this.label30.TabIndex = 163;
     this.label30.Text = "Referral Source";
     this.label30.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textReferral
     //
     this.textReferral.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.textReferral.Location = new System.Drawing.Point(157,477);
     this.textReferral.MaxLength = 50;
     this.textReferral.Multiline = true;
     this.textReferral.Name = "textReferral";
     this.textReferral.Size = new System.Drawing.Size(237,20);
     this.textReferral.TabIndex = 13;
     this.textReferral.Leave += new System.EventHandler(this.textReferral_Leave);
     this.textReferral.KeyUp += new System.Windows.Forms.KeyEventHandler(this.textReferral_KeyUp);
     //
     // textAge1
     //
     this.textAge1.Location = new System.Drawing.Point(204,101);
     this.textAge1.Name = "textAge1";
     this.textAge1.ReadOnly = true;
     this.textAge1.Size = new System.Drawing.Size(50,20);
     this.textAge1.TabIndex = 164;
     //
     // textAge2
     //
     this.textAge2.Location = new System.Drawing.Point(357,101);
     this.textAge2.Name = "textAge2";
     this.textAge2.ReadOnly = true;
     this.textAge2.Size = new System.Drawing.Size(50,20);
     this.textAge2.TabIndex = 166;
     //
     // textAge3
     //
     this.textAge3.Location = new System.Drawing.Point(510,101);
     this.textAge3.Name = "textAge3";
     this.textAge3.ReadOnly = true;
     this.textAge3.Size = new System.Drawing.Size(50,20);
     this.textAge3.TabIndex = 167;
     //
     // textAge4
     //
     this.textAge4.Location = new System.Drawing.Point(663,101);
     this.textAge4.Name = "textAge4";
     this.textAge4.ReadOnly = true;
     this.textAge4.Size = new System.Drawing.Size(50,20);
     this.textAge4.TabIndex = 168;
     //
     // textAge5
     //
     this.textAge5.Location = new System.Drawing.Point(816,101);
     this.textAge5.Name = "textAge5";
     this.textAge5.ReadOnly = true;
     this.textAge5.Size = new System.Drawing.Size(50,20);
     this.textAge5.TabIndex = 169;
     //
     // comboSecProv2
     //
     this.comboSecProv2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSecProv2.FormattingEnabled = true;
     this.comboSecProv2.Location = new System.Drawing.Point(274,164);
     this.comboSecProv2.MaxDropDownItems = 30;
     this.comboSecProv2.Name = "comboSecProv2";
     this.comboSecProv2.Size = new System.Drawing.Size(149,21);
     this.comboSecProv2.TabIndex = 171;
     //
     // comboPriProv2
     //
     this.comboPriProv2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPriProv2.FormattingEnabled = true;
     this.comboPriProv2.Location = new System.Drawing.Point(274,142);
     this.comboPriProv2.MaxDropDownItems = 30;
     this.comboPriProv2.Name = "comboPriProv2";
     this.comboPriProv2.Size = new System.Drawing.Size(149,21);
     this.comboPriProv2.TabIndex = 170;
     //
     // comboSecProv3
     //
     this.comboSecProv3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSecProv3.FormattingEnabled = true;
     this.comboSecProv3.Location = new System.Drawing.Point(427,164);
     this.comboSecProv3.MaxDropDownItems = 30;
     this.comboSecProv3.Name = "comboSecProv3";
     this.comboSecProv3.Size = new System.Drawing.Size(149,21);
     this.comboSecProv3.TabIndex = 173;
     //
     // comboPriProv3
     //
     this.comboPriProv3.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPriProv3.FormattingEnabled = true;
     this.comboPriProv3.Location = new System.Drawing.Point(427,142);
     this.comboPriProv3.MaxDropDownItems = 30;
     this.comboPriProv3.Name = "comboPriProv3";
     this.comboPriProv3.Size = new System.Drawing.Size(149,21);
     this.comboPriProv3.TabIndex = 172;
     //
     // comboSecProv4
     //
     this.comboSecProv4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSecProv4.FormattingEnabled = true;
     this.comboSecProv4.Location = new System.Drawing.Point(580,164);
     this.comboSecProv4.MaxDropDownItems = 30;
     this.comboSecProv4.Name = "comboSecProv4";
     this.comboSecProv4.Size = new System.Drawing.Size(149,21);
     this.comboSecProv4.TabIndex = 175;
     //
     // comboPriProv4
     //
     this.comboPriProv4.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPriProv4.FormattingEnabled = true;
     this.comboPriProv4.Location = new System.Drawing.Point(580,142);
     this.comboPriProv4.MaxDropDownItems = 30;
     this.comboPriProv4.Name = "comboPriProv4";
     this.comboPriProv4.Size = new System.Drawing.Size(149,21);
     this.comboPriProv4.TabIndex = 174;
     //
     // comboSecProv5
     //
     this.comboSecProv5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboSecProv5.FormattingEnabled = true;
     this.comboSecProv5.Location = new System.Drawing.Point(733,164);
     this.comboSecProv5.MaxDropDownItems = 30;
     this.comboSecProv5.Name = "comboSecProv5";
     this.comboSecProv5.Size = new System.Drawing.Size(149,21);
     this.comboSecProv5.TabIndex = 177;
     //
     // comboPriProv5
     //
     this.comboPriProv5.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboPriProv5.FormattingEnabled = true;
     this.comboPriProv5.Location = new System.Drawing.Point(733,142);
     this.comboPriProv5.MaxDropDownItems = 30;
     this.comboPriProv5.Name = "comboPriProv5";
     this.comboPriProv5.Size = new System.Drawing.Size(149,21);
     this.comboPriProv5.TabIndex = 176;
     //
     // label8
     //
     this.label8.Location = new System.Drawing.Point(-2,499);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(158,15);
     this.label8.TabIndex = 179;
     this.label8.Text = "Referral First Name";
     this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
     //
     // textReferralFName
     //
     this.textReferralFName.Font = new System.Drawing.Font("Microsoft Sans Serif",8.25F,System.Drawing.FontStyle.Regular,System.Drawing.GraphicsUnit.Point,((byte)(0)));
     this.textReferralFName.Location = new System.Drawing.Point(157,497);
     this.textReferralFName.MaxLength = 50;
     this.textReferralFName.Multiline = true;
     this.textReferralFName.Name = "textReferralFName";
     this.textReferralFName.Size = new System.Drawing.Size(141,20);
     this.textReferralFName.TabIndex = 14;
     //
     // label9
     //
     this.label9.Location = new System.Drawing.Point(299,499);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(138,15);
     this.label9.TabIndex = 180;
     this.label9.Text = "(if applicable)";
     this.label9.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
     //
     // textAddrNotes
     //
     this.textAddrNotes.AcceptsReturn = true;
     this.textAddrNotes.Location = new System.Drawing.Point(157,407);
     this.textAddrNotes.Multiline = true;
     this.textAddrNotes.Name = "textAddrNotes";
     this.textAddrNotes.QuickPasteType = OpenDentBusiness.QuickPasteType.PatAddressNote;
     this.textAddrNotes.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
     this.textAddrNotes.Size = new System.Drawing.Size(237,59);
     this.textAddrNotes.TabIndex = 12;
     //
     // textBirthdate5
     //
     this.textBirthdate5.Location = new System.Drawing.Point(733,101);
     this.textBirthdate5.Name = "textBirthdate5";
     this.textBirthdate5.Size = new System.Drawing.Size(82,20);
     this.textBirthdate5.TabIndex = 10;
     this.textBirthdate5.Validated += new System.EventHandler(this.textBirthdate5_Validated);
     //
     // textBirthdate4
     //
     this.textBirthdate4.Location = new System.Drawing.Point(580,101);
     this.textBirthdate4.Name = "textBirthdate4";
     this.textBirthdate4.Size = new System.Drawing.Size(82,20);
     this.textBirthdate4.TabIndex = 9;
     this.textBirthdate4.Validated += new System.EventHandler(this.textBirthdate4_Validated);
     //
     // textBirthdate3
     //
     this.textBirthdate3.Location = new System.Drawing.Point(427,101);
     this.textBirthdate3.Name = "textBirthdate3";
     this.textBirthdate3.Size = new System.Drawing.Size(82,20);
     this.textBirthdate3.TabIndex = 8;
     this.textBirthdate3.Validated += new System.EventHandler(this.textBirthdate3_Validated);
     //
     // textBirthdate2
     //
     this.textBirthdate2.Location = new System.Drawing.Point(274,101);
     this.textBirthdate2.Name = "textBirthdate2";
     this.textBirthdate2.Size = new System.Drawing.Size(82,20);
     this.textBirthdate2.TabIndex = 7;
     this.textBirthdate2.Validated += new System.EventHandler(this.textBirthdate2_Validated);
     //
     // textBirthdate1
     //
     this.textBirthdate1.Location = new System.Drawing.Point(121,101);
     this.textBirthdate1.Name = "textBirthdate1";
     this.textBirthdate1.Size = new System.Drawing.Size(82,20);
     this.textBirthdate1.TabIndex = 6;
     this.textBirthdate1.Validated += new System.EventHandler(this.textBirthdate1_Validated);
     //
     // butOK
     //
     this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butOK.Autosize = true;
     this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butOK.CornerRadius = 4F;
     this.butOK.Location = new System.Drawing.Point(796,582);
     this.butOK.Name = "butOK";
     this.butOK.Size = new System.Drawing.Size(75,24);
     this.butOK.TabIndex = 16;
     this.butOK.Text = "&OK";
     this.butOK.Click += new System.EventHandler(this.butOK_Click);
     //
     // butCancel
     //
     this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0);
     this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.butCancel.Autosize = true;
     this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle;
     this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver;
     this.butCancel.CornerRadius = 4F;
     this.butCancel.Location = new System.Drawing.Point(796,623);
     this.butCancel.Name = "butCancel";
     this.butCancel.Size = new System.Drawing.Size(75,24);
     this.butCancel.TabIndex = 17;
     this.butCancel.Text = "&Cancel";
     this.butCancel.Click += new System.EventHandler(this.butCancel_Click);
     //
     // FormPatientAddAll
     //
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
     this.ClientSize = new System.Drawing.Size(896,674);
     this.Controls.Add(this.label9);
     this.Controls.Add(this.label8);
     this.Controls.Add(this.textReferralFName);
     this.Controls.Add(this.comboSecProv5);
     this.Controls.Add(this.comboPriProv5);
     this.Controls.Add(this.comboSecProv4);
     this.Controls.Add(this.comboPriProv4);
     this.Controls.Add(this.comboSecProv3);
     this.Controls.Add(this.comboPriProv3);
     this.Controls.Add(this.comboSecProv2);
     this.Controls.Add(this.comboPriProv2);
     this.Controls.Add(this.label39);
     this.Controls.Add(this.textAge5);
     this.Controls.Add(this.comboSecProv1);
     this.Controls.Add(this.label38);
     this.Controls.Add(this.comboPriProv1);
     this.Controls.Add(this.textAge4);
     this.Controls.Add(this.textAge3);
     this.Controls.Add(this.textAge2);
     this.Controls.Add(this.textAge1);
     this.Controls.Add(this.label30);
     this.Controls.Add(this.textReferral);
     this.Controls.Add(this.label6);
     this.Controls.Add(this.textAddrNotes);
     this.Controls.Add(this.groupIns2);
     this.Controls.Add(this.textLName2);
     this.Controls.Add(this.textLName1);
     this.Controls.Add(this.label22);
     this.Controls.Add(this.label21);
     this.Controls.Add(this.label20);
     this.Controls.Add(this.groupIns1);
     this.Controls.Add(this.checkInsTwo5);
     this.Controls.Add(this.checkInsOne5);
     this.Controls.Add(this.listGender5);
     this.Controls.Add(this.textBirthdate5);
     this.Controls.Add(this.textFName5);
     this.Controls.Add(this.textLName5);
     this.Controls.Add(this.checkInsTwo4);
     this.Controls.Add(this.checkInsOne4);
     this.Controls.Add(this.listGender4);
     this.Controls.Add(this.textBirthdate4);
     this.Controls.Add(this.textFName4);
     this.Controls.Add(this.textLName4);
     this.Controls.Add(this.checkInsTwo3);
     this.Controls.Add(this.checkInsOne3);
     this.Controls.Add(this.listGender3);
     this.Controls.Add(this.textBirthdate3);
     this.Controls.Add(this.textFName3);
     this.Controls.Add(this.textLName3);
     this.Controls.Add(this.checkInsTwo2);
     this.Controls.Add(this.checkInsOne2);
     this.Controls.Add(this.listPosition2);
     this.Controls.Add(this.listGender2);
     this.Controls.Add(this.textBirthdate2);
     this.Controls.Add(this.textFName2);
     this.Controls.Add(this.checkInsTwo1);
     this.Controls.Add(this.checkInsOne1);
     this.Controls.Add(this.label4);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.groupBox1);
     this.Controls.Add(this.label7);
     this.Controls.Add(this.listPosition1);
     this.Controls.Add(this.listGender1);
     this.Controls.Add(this.label5);
     this.Controls.Add(this.textBirthdate1);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.textFName1);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.butOK);
     this.Controls.Add(this.butCancel);
     this.Name = "FormPatientAddAll";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Add Family";
     this.Load += new System.EventHandler(this.FormPatientAddAll_Load);
     this.Shown += new System.EventHandler(this.FormPatientAddAll_Shown);
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupIns1.ResumeLayout(false);
     this.groupIns1.PerformLayout();
     this.groupIns2.ResumeLayout(false);
     this.groupIns2.PerformLayout();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #18
0
ファイル: ContrChartP.cs プロジェクト: royedwards/DRDNet
        public static void FillPtInfo(OpenDental.ContrChart sender, Patient PatCur)
        {
            //first, get all the objects we need. Because they are by ref, the original gets altered.
            ODGrid     gridPtInfo         = (ODGrid)sender.Controls.Find("gridPtInfo", true)[0];
            TabControl tabControlImages   = (TabControl)sender.Controls.Find("tabControlImages", true)[0];
            ODtextBox  textTreatmentNotes = (ODtextBox)sender.Controls.Find("textTreatmentNotes", true)[0];
            //bool TreatmentNoteChanged=sender.TreatmentNoteChanged;//might have to do a by ref here?
            //Then get some data that we need
            Family         fam            = null;
            PatientNote    PatientNoteCur = null;
            List <PatPlan> PatPlanList    = null;
            List <InsSub>  SubList        = null;
            List <InsPlan> PlanList       = null;

            if (PatCur != null)
            {
                fam            = Patients.GetFamily(PatCur.PatNum);
                PatientNoteCur = PatientNotes.Refresh(PatCur.PatNum, PatCur.Guarantor);
                PatPlanList    = PatPlans.Refresh(PatCur.PatNum);
                SubList        = InsSubs.RefreshForFam(fam);
                PlanList       = InsPlans.RefreshForSubList(SubList);
            }
            //Then, continue with the slightly altered original method.
            gridPtInfo.Height       = tabControlImages.Top - gridPtInfo.Top;
            textTreatmentNotes.Text = "";
            if (PatCur != null)
            {
                textTreatmentNotes.Text    = PatientNoteCur.Treatment;
                textTreatmentNotes.Enabled = true;
                textTreatmentNotes.Select(textTreatmentNotes.Text.Length + 2, 1);
                textTreatmentNotes.ScrollToCaret();
                sender.TreatmentNoteChanged = false;
            }
            gridPtInfo.BeginUpdate();
            gridPtInfo.Columns.Clear();
            ODGridColumn col = new ODGridColumn("", 100);         //Lan.g("TableChartPtInfo",""),);

            gridPtInfo.Columns.Add(col);
            col = new ODGridColumn("", 300);
            gridPtInfo.Columns.Add(col);
            gridPtInfo.Rows.Clear();
            if (PatCur == null)
            {
                gridPtInfo.EndUpdate();
                return;
            }
            ODGridRow row;

            //Age
            row = new ODGridRow();
            row.Cells.Add("Age");
            row.Cells.Add(PatientLogic.DateToAgeString(PatCur.Birthdate));
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //Credit type
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "ABC0"));
            row.Cells.Add(PatCur.CreditType);
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //Billing type
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "Billing Type"));
            row.Cells.Add(Defs.GetName(DefCat.BillingTypes, PatCur.BillingType));
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //Referrals
            List <RefAttach> RefAttachList = RefAttaches.Refresh(PatCur.PatNum);

            for (int i = 0; i < RefAttachList.Count; i++)
            {
                row            = new ODGridRow();
                row.ColorBackG = Color.Aquamarine;
                if (RefAttachList[i].RefType == ReferralType.RefFrom)
                {
                    row.Cells.Add("Referred From");
                }
                else
                {
                    row.Cells.Add("Referred To");
                }
                row.Cells.Add(Referrals.GetNameLF(RefAttachList[i].ReferralNum));
                row.Tag = null;
                gridPtInfo.Rows.Add(row);
            }
            //Date First Visit
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "Date First Visit"));
            if (PatCur.DateFirstVisit.Year < 1880)
            {
                row.Cells.Add("??");
            }
            else if (PatCur.DateFirstVisit == DateTime.Today)
            {
                row.Cells.Add(Lan.g("TableChartPtInfo", "NEW PAT"));
            }
            else
            {
                row.Cells.Add(PatCur.DateFirstVisit.ToShortDateString());
            }
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //Prov - Pri & Sec
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "Prov. (Pri, Sec)"));
            if (PatCur.SecProv != 0)
            {
                row.Cells.Add(Providers.GetAbbr(PatCur.PriProv) + ", " + Providers.GetAbbr(PatCur.SecProv));
            }
            else
            {
                row.Cells.Add(Providers.GetAbbr(PatCur.PriProv) + ", " + "None");
            }
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //PriIns
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "Pri Ins"));
            string name;

            if (PatPlanList.Count > 0)
            {
                name = InsPlans.GetCarrierName(InsSubs.GetOne(PatPlanList[0].InsSubNum).PlanNum, PlanList);
                if (PatPlanList[0].IsPending)
                {
                    name += Lan.g("TableChartPtInfo", " (pending)");
                }
                row.Cells.Add(name);
            }
            else
            {
                row.Cells.Add("");
            }
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //SecIns
            row = new ODGridRow();
            row.Cells.Add(Lan.g("TableChartPtInfo", "Sec Ins"));
            if (PatPlanList.Count > 1)
            {
                name = InsPlans.GetCarrierName(InsSubs.GetOne(PatPlanList[1].InsSubNum).PlanNum, PlanList);
                if (PatPlanList[1].IsPending)
                {
                    name += Lan.g("TableChartPtInfo", " (pending)");
                }
                row.Cells.Add(name);
            }
            else
            {
                row.Cells.Add("");
            }
            row.Tag = null;
            gridPtInfo.Rows.Add(row);
            //Registration keys-------------------------------------------------------------------------------------------
            if (PrefC.GetBool(PrefName.DistributorKey))
            {
                RegistrationKey[] keys = RegistrationKeys.GetForPatient(PatCur.PatNum);
                for (int i = 0; i < keys.Length; i++)
                {
                    row = new ODGridRow();
                    row.Cells.Add(Lan.g("TableChartPtInfo", "Registration Key"));
                    string str = keys[i].RegKey.Substring(0, 4) + "-" + keys[i].RegKey.Substring(4, 4) + "-" +
                                 keys[i].RegKey.Substring(8, 4) + "-" + keys[i].RegKey.Substring(12, 4);
                    if (keys[i].IsForeign)
                    {
                        str += "\r\nForeign";
                    }
                    else
                    {
                        str += "\r\nUSA";
                    }
                    str += "\r\nStarted: " + keys[i].DateStarted.ToShortDateString();
                    if (keys[i].DateDisabled.Year > 1880)
                    {
                        str += "\r\nDisabled: " + keys[i].DateDisabled.ToShortDateString();
                    }
                    if (keys[i].DateEnded.Year > 1880)
                    {
                        str += "\r\nEnded: " + keys[i].DateEnded.ToShortDateString();
                    }
                    if (keys[i].Note != "")
                    {
                        str += keys[i].Note;
                    }
                    row.Cells.Add(str);
                    row.Tag = keys[i].Copy();
                    gridPtInfo.Rows.Add(row);
                }
            }
            ODGridCell cell;
            //medical fields-----------------------------------------------------------------
            bool showMed = true;

            if (Programs.IsEnabled(ProgramName.eClinicalWorks) && ProgramProperties.GetPropVal(ProgramName.eClinicalWorks, "IsStandalone") == "0")
            {
                showMed = false;
            }
            if (showMed)
            {
                //Get the Chart Module Medical color from the MiscColors category.
                Color colorChartModuleMedical = Defs.GetDefsForCategory(DefCat.MiscColors)[3].ItemColor;
                //premed flag.
                if (PatCur.Premed)
                {
                    row = new ODGridRow();
                    row.Cells.Add("");
                    cell           = new ODGridCell();
                    cell.Text      = Lan.g("TableChartPtInfo", "Premedicate");
                    cell.ColorText = Color.Red;
                    cell.Bold      = YN.Yes;
                    row.Cells.Add(cell);
                    row.ColorBackG = colorChartModuleMedical;
                    row.Tag        = "med";
                    gridPtInfo.Rows.Add(row);
                }
                //diseases
                List <Disease> DiseaseList = Diseases.Refresh(PatCur.PatNum);
                row       = new ODGridRow();
                cell      = new ODGridCell(Lan.g("TableChartPtInfo", "Diseases"));
                cell.Bold = YN.Yes;
                row.Cells.Add(cell);
                if (DiseaseList.Count > 0)
                {
                    row.Cells.Add("");
                }
                else
                {
                    row.Cells.Add(Lan.g("TableChartPtInfo", "none"));
                }
                row.ColorBackG = colorChartModuleMedical;
                row.Tag        = "med";
                gridPtInfo.Rows.Add(row);
                for (int i = 0; i < DiseaseList.Count; i++)
                {
                    row            = new ODGridRow();
                    cell           = new ODGridCell(DiseaseDefs.GetName(DiseaseList[i].DiseaseDefNum));
                    cell.ColorText = Color.Red;
                    cell.Bold      = YN.Yes;
                    row.Cells.Add(cell);
                    row.Cells.Add(DiseaseList[i].PatNote);
                    row.ColorBackG = colorChartModuleMedical;
                    row.Tag        = "med";
                    gridPtInfo.Rows.Add(row);
                }
                //MedUrgNote
                row = new ODGridRow();
                row.Cells.Add(Lan.g("TableChartPtInfo", "Med Urgent"));
                cell           = new ODGridCell();
                cell.Text      = PatCur.MedUrgNote;
                cell.ColorText = Color.Red;
                cell.Bold      = YN.Yes;
                row.Cells.Add(cell);
                row.ColorBackG = colorChartModuleMedical;
                row.Tag        = "med";
                gridPtInfo.Rows.Add(row);
                //Medical
                row = new ODGridRow();
                row.Cells.Add(Lan.g("TableChartPtInfo", "Medical Summary"));
                row.Cells.Add(PatientNoteCur.Medical);
                row.ColorBackG = colorChartModuleMedical;
                row.Tag        = "med";
                gridPtInfo.Rows.Add(row);
                //Service
                row = new ODGridRow();
                row.Cells.Add(Lan.g("TableChartPtInfo", "Service Notes"));
                row.Cells.Add(PatientNoteCur.Service);
                row.ColorBackG = colorChartModuleMedical;
                row.Tag        = "med";
                gridPtInfo.Rows.Add(row);
                //medications
                Medications.RefreshCache();
                List <MedicationPat> medList = MedicationPats.Refresh(PatCur.PatNum, false);
                row       = new ODGridRow();
                cell      = new ODGridCell(Lan.g("TableChartPtInfo", "Medications"));
                cell.Bold = YN.Yes;
                row.Cells.Add(cell);
                if (medList.Count > 0)
                {
                    row.Cells.Add("");
                }
                else
                {
                    row.Cells.Add(Lan.g("TableChartPtInfo", "none"));
                }
                row.ColorBackG = colorChartModuleMedical;
                row.Tag        = "med";
                gridPtInfo.Rows.Add(row);
                string     text;
                Medication med;
                for (int i = 0; i < medList.Count; i++)
                {
                    row  = new ODGridRow();
                    med  = Medications.GetMedication(medList[i].MedicationNum);
                    text = med.MedName;
                    if (med.MedicationNum != med.GenericNum)
                    {
                        text += "(" + Medications.GetMedication(med.GenericNum).MedName + ")";
                    }
                    row.Cells.Add(text);
                    text = medList[i].PatNote
                           + "(" + Medications.GetGeneric(medList[i].MedicationNum).Notes + ")";
                    row.Cells.Add(text);
                    row.ColorBackG = colorChartModuleMedical;
                    row.Tag        = "med";
                    gridPtInfo.Rows.Add(row);
                }
            }            //if !eCW.enabled
            gridPtInfo.EndUpdate();
        }