private void button9_Click(object sender, EventArgs e) { AVL bynaryAvlTree = new AVL(); for (int i = 0; i < personnelMap.arraySize - 1; i++) { bynaryAvlTree.Add(personnelMap.array[i].field2, personnelMap.array[i].field1, personnelMap.array[i].field3); } reportClass classToReport = new reportClass(); bynaryAvlTree.getReport(bynaryAvlTree.root, classToReport, payInfoMap); reportFioPay rep = new reportFioPay(classToReport); rep.Show(); for (int i = 0; i < classToReport.arraySize - 1; i++) { string[] toInsert = new string[2]; toInsert[0] = classToReport.array[i].field1; toInsert[1] = classToReport.array[i].field2 ?? "не найденны данные о зп"; rep.dataGridView1.Rows.Add(toInsert); } MessageBox.Show("Обратите внимание - корректность данных может быть нарушена!\n" + "Соответсвующие данные будут отмечены", "Предупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning); }
public void getReport(reportClass rC, payMap pM) { for (int i = 0; i < this.arraySize - 1; i++) { Tuple <int, pMap.info, int, string> finded = pM.findInHashTable(this.array[i].field2); rC.pushArray(this.array[i].field1, finded.Item2.field1, null, null); } }
public void getReport(reportClass rC, hashTable eM) { for (int i = 0; i < this.arraySize - 1; i++) { Tuple <int, string, string, string, int, string> finded = eM.findInHashTable(this.array[i].field1); rC.pushArray(this.array[i].field1, this.array[i].field2, finded.Item3, null); } }
public void getReport(reportClass rC, hashTable eM, payMap pM) { for (int i = 0; i < this.arraySize - 1; i++) { Tuple <int, string, string, string, int, string> findedFromEmployee = eM.findInHashTable(this.array[i].field1); Tuple <int, pMap.info, int, string> findedFromPay = pM.findInHashTable(this.array[i].field2); rC.pushArray(array[i].field1, array[i].field3, findedFromEmployee.Item3, findedFromPay.Item2.field1); } }
public void getReport(Nodetree current, reportClass rC, payMap pM) { if (current != null) { getReport(current.left, rC, pM); Tuple <int, pMap.info, int, string> finded = pM.findInHashTable(current.vacancy); rC.pushArray(current.FIO, finded.Item2.field1, null, null); getReport(current.right, rC, pM); } }
public void getReport(node current, reportClass rC, payMap pM) { if (current != null) { getReport(current.left, rC, pM); Tuple <int, pMap.info, int, string> finded = pM.findInHashTable(current.field2); rC.pushArray(current.field2, finded.Item2.field1, current.field1, current.field3); getReport(current.right, rC, pM); } }
private void button6_Click(object sender, EventArgs e) { reportClass classToReport = new reportClass(); personnelMap.getReport(classToReport, employeeMap); reportFioPostExp rep = new reportFioPostExp(classToReport); rep.Show(); for (int i = 0; i < classToReport.arraySize - 1; i++) { string[] toInsert = new string[3]; toInsert[0] = classToReport.array[i].field1; toInsert[1] = classToReport.array[i].field2; toInsert[2] = classToReport.array[i].field3 ?? "не найденны данные о стаже"; rep.dataGridView1.Rows.Add(toInsert); } MessageBox.Show("Обратите внимание - корректность данных может быть нарушена!\n" + "Соответсвующие данные будут отмечены", "Предупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning); }
// //Отчеты private void button10_Click(object sender, EventArgs e) { reportClass classToReport = new reportClass(); bynaryTreeSourceData.getReport(bynaryTreeSourceData.root, classToReport, payInfoMap); reportPayBonus rep = new reportPayBonus(classToReport); rep.Show(); for (int i = 0; i < classToReport.arraySize - 1; i++) { string[] toInsert = new string[4]; toInsert[0] = classToReport.array[i].field1; toInsert[1] = classToReport.array[i].field2 ?? "не найденны данные о зп"; toInsert[2] = classToReport.array[i].field3; toInsert[3] = classToReport.array[i].field4; rep.dataGridView1.Rows.Add(toInsert); } MessageBox.Show("Обратите внимание - корректность данных может быть нарушена!\n" + "Соответсвующие данные будут отмечены", "Предупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning); }
// Параметризированный конструктор. Вызывается подсистемой ReportService public r_ProjectBDDS(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризованный конструктор, вызваемый подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public r_EmployeeExpensesBalance(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризованный конструктор, вызваемый подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public OrganizationHistory(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
public reportPayBonus(reportClass rC) { InitializeComponent(); this.rC = rC; }
public FinanceReport(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
public reportFioPostExp(reportClass rC) { InitializeComponent(); this.rC = rC; }
/// <summary> /// Параметризованный конструктор, вызваемый подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public r_ExpensesByDirections(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
protected const string fixed_14_4 = null; // "fixed.14.4"; public r_UsersExpences(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
// Параметризированный конструктор. Вызывается подсистемой ReportService public r_AllEmpSaldoDS(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
public CustomReport(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
// Параметризированный конструктор. Вызывается подсистемой ReportService public r_LoansIncOut(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
public r_Incident(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризованный конструктор, вызваемый подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public CostsByDepartments(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
// Вызывается подсистемой ReportService public r_FinPlan(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
public reportFioUnitExpPay(reportClass rC) { InitializeComponent(); this.rC = rC; }
// Параметризированный конструктор. Вызывается подсистемой ReportService public r_ProjectCashGap(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризированный конструктор. Вызывается подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public r_EmployeeKassTrans(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризированный конструктор. Вызывается подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public r_Tender(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }
/// <summary> /// Параметризированный конструктор. Вызывается подсистемой ReportService /// </summary> /// <param name="ReportProfile"></param> /// <param name="ReportName"></param> public r_EmployeeSaldoDS(reportClass ReportProfile, string ReportName) : base(ReportProfile, ReportName) { }