Ejemplo n.º 1
0
 private void SweetButton2Click(object sender, EventArgs e)
 {
     CoreDomain.Accounting.FiscalYear fiscalYear = (CoreDomain.Accounting.FiscalYear)olvYears.SelectedObject;
     if (fiscalYear != null)
     {
         EditFiscalYear editFiscalYear = new EditFiscalYear(false, false, true, fiscalYear);
         editFiscalYear.ShowDialog();
         LoadData();
     }
 }
Ejemplo n.º 2
0
 private void SweetButton2Click(object sender, EventArgs e)
 {
     CoreDomain.Accounting.FiscalYear fiscalYear = (CoreDomain.Accounting.FiscalYear)olvYears.SelectedObject;
     if (fiscalYear != null)
     {
         EditFiscalYear editFiscalYear = new EditFiscalYear(false, false, true, fiscalYear);
         editFiscalYear.ShowDialog();
         LoadData();
     }
 }
Ejemplo n.º 3
0
 private void BtnGenerateEventsClick(object sender, EventArgs e)
 {
     EditFiscalYear editFiscalYear = new EditFiscalYear(true, false, false,
                                                        new CoreDomain.Accounting.FiscalYear()
                                                            {
                                                                OpenDate = null,
                                                                CloseDate = null,
                                                                Name = "",
                                                                Id = 0
                                                            });
     editFiscalYear.ShowDialog();
     LoadData();
 }
Ejemplo n.º 4
0
        private void BtnGenerateEventsClick(object sender, EventArgs e)
        {
            EditFiscalYear editFiscalYear = new EditFiscalYear(true, false, false,
                                                               new CoreDomain.Accounting.FiscalYear()
            {
                OpenDate  = null,
                CloseDate = null,
                Name      = "",
                Id        = 0
            });

            editFiscalYear.ShowDialog();
            LoadData();
        }