Exemplo n.º 1
0
 public PasteAllToExcel()
 {
     if (!PacientData.hasPins)
     {
         teethNumber = PacientData.getToothEntitiesNumber() - 1;
     }
     else
     {
         teethNumber = PacientData.getToothEntitiesNumber();
     }
     currentExcelBreakIndex = 0;
     currentHeightSum       = 0;
     pinNumber     = PacientData.getPinNumber() - 1;
     pinGroups     = (pinNumber + 2) / 3;
     images        = AllPatientImages.getAllImages();
     toothDetails  = PacientData.toothDetails;
     excelRowBreak = new List <int>();
     pasteInitialData();
     pasteTeeth();
     if (PacientData.hasPins)
     {
         pastePins();
     }
     pasteAllPhotos();
     addBreaksToExcel();
 }
Exemplo n.º 2
0
        public PacientDataForm()
        {
            InitializeComponent();
            pacientData      = new PacientData();
            allPatientImages = new AllPatientImages();
            guideForm        = new GuideForm();
            drawRectangle    = new DrawRectangle();


            excelReport = new ExcelReport();
        }
Exemplo n.º 3
0
        private void pin_Click(object sender, EventArgs e)
        {
            gf2.Hide();
            showHideSettings.BackgroundImage = optionsButtonDown;
            isDownButton = true;
            DrawRectangle.graphics.Clear(Color.White);

            AllPatientImages.setGroupMaximImages(15);
            PacientData.hasPins             = true;
            PacientData.toothEntitiesNumber = PacientData.getGroupIndex() - 1;
            this.updateAllFields();
        }
Exemplo n.º 4
0
 public static void removeImage()
 {
     AllPatientImages.removeImage();
 }
Exemplo n.º 5
0
 public static void addImage(Image img)
 {
     AllPatientImages.addImage(img);
 }
Exemplo n.º 6
0
 public static void setMaximImages(int maximImages)
 {
     AllPatientImages.setGroupMaximImages(maximImages);
 }
Exemplo n.º 7
0
 public static int getGroupComponentIndex()
 {
     return(AllPatientImages.getGroupComponentIndex());
 }
Exemplo n.º 8
0
 public static int getIndexImage()
 {
     return(AllPatientImages.getIndexImage());
 }