///<summary>Sets the specified permanent tooth to primary as follows: Sets ShowPrimary to true for the perm tooth.  Makes pri tooth visible=true, repositions perm tooth by translating -Y.  Moves primary tooth slightly to M or D sometimes for better alignment.  And if 2nd primary molar, then because of the larger size, it must move all perm molars to distal.  Ignores if invalid perm tooth.</summary>
 public void SetToPrimary(string toothID)
 {
     if (simpleMode)
     {
         if (!ToothGraphic.IsValidToothID(toothID))
         {
             return;
         }
         if (ToothGraphic.IsPrimary(toothID))
         {
             return;
         }
         ListToothGraphics[toothID].ShowPrimary = true;
         //ListToothGraphics[toothID].ShiftO-=12;
         ListToothGraphics[toothID].Visible = false;              //instead of shiftO
         this.Invalidate();
         if (!ToothGraphic.IsValidToothID(ToothGraphic.PermToPri(toothID)))
         {
             return;
         }
         ListToothGraphics[ToothGraphic.PermToPri(toothID)].Visible = true;
     }
     else
     {
         toothChart.SetToPrimary(toothID);
     }
 }
        ///<summary>Only called when in simple graphical mode.</summary>
        private void DrawFacialView(ToothGraphic toothGraphic, Graphics g)
        {
            float x, y;

            x = GetTransX(toothGraphic.ToothID);
            y = GetTransYfacial(toothGraphic.ToothID);
            if (toothGraphic.Visible ||
                (toothGraphic.IsCrown && toothGraphic.IsImplant) ||
                toothGraphic.IsPontic)
            {
                //DrawTooth(toothGraphic,g);
            }
            float w = 0;

            if (!ToothGraphic.IsPrimary(toothGraphic.ToothID))
            {
                w = ToothGraphic.GetWidth(toothGraphic.ToothID) / WidthProjection * (float)Width;
            }
            if (!ToothGraphic.IsPrimary(toothGraphic.ToothID) && (!toothGraphic.Visible || toothGraphic.IsPontic))
            {
                if (ToothGraphic.IsMaxillary(toothGraphic.ToothID))
                {
                    g.FillRectangle(new SolidBrush(colorBackSimple), x - w / 2f, 0, w, Height / 2f - 20);
                }
                else
                {
                    g.FillRectangle(new SolidBrush(colorBackSimple), x - w / 2f, Height / 2f + 20, w, Height / 2f - 20);
                }
            }
            if (toothGraphic.DrawBigX)
            {
                float halfxwidth = 6;
                float xheight    = 58;
                float offsetofx  = 73;
                //toothGraphic.colorX
                if (ToothGraphic.IsMaxillary(toothGraphic.ToothID))
                {
                    g.DrawLine(new Pen(toothGraphic.colorX), x - halfxwidth, Height / 2f - offsetofx - xheight, x + halfxwidth, Height / 2f - offsetofx);
                    g.DrawLine(new Pen(toothGraphic.colorX), x + halfxwidth, Height / 2f - offsetofx - xheight, x - halfxwidth, Height / 2f - offsetofx);
                }
                else                  //Mandible
                {
                    g.DrawLine(new Pen(toothGraphic.colorX), x - halfxwidth, Height / 2f + offsetofx + xheight, x + halfxwidth, Height / 2f + offsetofx);
                    g.DrawLine(new Pen(toothGraphic.colorX), x + halfxwidth, Height / 2f + offsetofx + xheight, x - halfxwidth, Height / 2f + offsetofx);
                }
            }
            if (toothGraphic.Visible && toothGraphic.IsRCT)             //draw RCT
            //x=,y= etc
            //toothGraphic.colorRCT
            //?
            {
            }
            if (toothGraphic.Visible && toothGraphic.IsBU)             //BU or Post
            //?
            {
            }
            if (toothGraphic.IsImplant)
            {
                //?
            }
        }