C# Class bazar.Accrual

Inheritance: Gtk.Dialog
Mostra file Open project: QualitySolution/Bazar Class Usage Examples

Public Properties

Property Type Description
NewAccrual bool

Public Methods

Method Description
Accrual ( ) : System
AccrualFill ( int AccrualId ) : void
GetAccrualPaidBalance ( int id ) : decimal
OnCashComboEdited ( object o, Gtk.EditedArgs args ) : void
OnCountTextEdited ( object o, Gtk.EditedArgs args ) : void
OnPriceTextEdited ( object o, Gtk.EditedArgs args ) : void
OnServiceComboEdited ( object o, Gtk.EditedArgs args ) : void

Protected Methods

Method Description
Build ( ) : void
CalculateIncomeSum ( ) : void
CalculateServiceSum ( ) : void
OnButtonAddServiceClicked ( object sender, EventArgs e ) : void
OnButtonDelServiceClicked ( object sender, EventArgs e ) : void
OnButtonFromMeterClicked ( object sender, EventArgs e ) : void
OnButtonMakePaymentClicked ( object sender, EventArgs e ) : void
OnButtonOkClicked ( object sender, EventArgs e ) : void
OnButtonOpenContractClicked ( object sender, EventArgs e ) : void
OnButtonPrintClicked ( object sender, EventArgs e ) : void
OnComboAccrualMonthChanged ( object sender, EventArgs e ) : void
OnComboAccuralYearChanged ( object sender, EventArgs e ) : void
OnComboContractChanged ( object sender, EventArgs e ) : void
OnTreeviewIncomesRowActivated ( object o, Gtk.RowActivatedArgs args ) : void
OnTreeviewServicesCursorChanged ( object sender, EventArgs e ) : void
ShowStatus ( ) : void
TestCanSave ( ) : void
TestServiceAndCash ( ) : bool
UpdateIncomes ( ) : void

Private Methods

Method Description
RenderCountColumn ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void
RenderPriceColumn ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void
RenderSumColumn ( Gtk column, Gtk cell, Gtk model, Gtk iter ) : void
SaveAccountable ( ) : bool
ShowOldDebts ( ) : void
UpdatePaid ( ) : void

Method Details

Accrual() public method

public Accrual ( ) : System
return System

AccrualFill() public method

public AccrualFill ( int AccrualId ) : void
AccrualId int
return void

Build() protected method

protected Build ( ) : void
return void

CalculateIncomeSum() protected method

protected CalculateIncomeSum ( ) : void
return void

CalculateServiceSum() protected method

protected CalculateServiceSum ( ) : void
return void

GetAccrualPaidBalance() public static method

public static GetAccrualPaidBalance ( int id ) : decimal
id int
return decimal

OnButtonAddServiceClicked() protected method

protected OnButtonAddServiceClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonDelServiceClicked() protected method

protected OnButtonDelServiceClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonFromMeterClicked() protected method

protected OnButtonFromMeterClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonMakePaymentClicked() protected method

protected OnButtonMakePaymentClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonOkClicked() protected method

protected OnButtonOkClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonOpenContractClicked() protected method

protected OnButtonOpenContractClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnButtonPrintClicked() protected method

protected OnButtonPrintClicked ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnCashComboEdited() public method

public OnCashComboEdited ( object o, Gtk.EditedArgs args ) : void
o object
args Gtk.EditedArgs
return void

OnComboAccrualMonthChanged() protected method

protected OnComboAccrualMonthChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnComboAccuralYearChanged() protected method

protected OnComboAccuralYearChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnComboContractChanged() protected method

protected OnComboContractChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

OnCountTextEdited() public method

public OnCountTextEdited ( object o, Gtk.EditedArgs args ) : void
o object
args Gtk.EditedArgs
return void

OnPriceTextEdited() public method

public OnPriceTextEdited ( object o, Gtk.EditedArgs args ) : void
o object
args Gtk.EditedArgs
return void

OnServiceComboEdited() public method

public OnServiceComboEdited ( object o, Gtk.EditedArgs args ) : void
o object
args Gtk.EditedArgs
return void

OnTreeviewIncomesRowActivated() protected method

protected OnTreeviewIncomesRowActivated ( object o, Gtk.RowActivatedArgs args ) : void
o object
args Gtk.RowActivatedArgs
return void

OnTreeviewServicesCursorChanged() protected method

protected OnTreeviewServicesCursorChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

ShowStatus() protected method

protected ShowStatus ( ) : void
return void

TestCanSave() protected method

protected TestCanSave ( ) : void
return void

TestServiceAndCash() protected method

protected TestServiceAndCash ( ) : bool
return bool

UpdateIncomes() protected method

protected UpdateIncomes ( ) : void
return void

Property Details

NewAccrual public_oe property

public bool NewAccrual
return bool