private void loadPayment() { textbox1.Text = payment.amount.ToString(); dateButton1.Text = WorkerDetail.getGroupName(payment.date); monthCalendar1.Visible = false; }
public void workerCell_Click(Worker worker) { if (worker != null) { WorkerDetail detail = new WorkerDetail(worker); detail.Size = this.Size; this.Controls.Add(detail); detail.BringToFront(); } }
public PaymentForm(WorkerDetail context) { this.context = context; InitializeComponent(); }