예제 #1
0
        private void loadPayment()
        {
            textbox1.Text    = payment.amount.ToString();
            dateButton1.Text = WorkerDetail.getGroupName(payment.date);

            monthCalendar1.Visible = false;
        }
예제 #2
0
        public void workerCell_Click(Worker worker)
        {
            if (worker != null)
            {
                WorkerDetail detail = new WorkerDetail(worker);
                detail.Size = this.Size;

                this.Controls.Add(detail);
                detail.BringToFront();
            }
        }
예제 #3
0
 public PaymentForm(WorkerDetail context)
 {
     this.context = context;
     InitializeComponent();
 }