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(); }
public PacientDataForm() { InitializeComponent(); pacientData = new PacientData(); allPatientImages = new AllPatientImages(); guideForm = new GuideForm(); drawRectangle = new DrawRectangle(); excelReport = new ExcelReport(); }
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(); }
public static void removeImage() { AllPatientImages.removeImage(); }
public static void addImage(Image img) { AllPatientImages.addImage(img); }
public static void setMaximImages(int maximImages) { AllPatientImages.setGroupMaximImages(maximImages); }
public static int getGroupComponentIndex() { return(AllPatientImages.getGroupComponentIndex()); }
public static int getIndexImage() { return(AllPatientImages.getIndexImage()); }