public Transaction(string p_TransactionID, Ultity.Action p_Action, int p_Amount, string p_Reason, DateTime p_Time) { TransactionID = p_TransactionID; Action = (int)p_Action; Amount = p_Amount; Reason = p_Reason; Time = p_Time; }
public FrmAction(Ultity.Action p_Action, DateTime p_DateTime) { InitializeComponent(); dateTimePicker_Time.Value = p_DateTime; actionID = p_Action; }