found a few bugs
This commit is contained in:
parent
1434e867bd
commit
eba8dd8d3a
72
C969Project/AppointmentsForm.Designer.cs
generated
72
C969Project/AppointmentsForm.Designer.cs
generated
@ -38,11 +38,11 @@ partial class AppointmentsForm
|
||||
deleteButton = new System.Windows.Forms.Button();
|
||||
showAllButton = new System.Windows.Forms.Button();
|
||||
appointmentDetails = new System.Windows.Forms.GroupBox();
|
||||
apptTitleLabel = new System.Windows.Forms.Label();
|
||||
apptTypeLabel = new System.Windows.Forms.Label();
|
||||
withLabel = new System.Windows.Forms.Label();
|
||||
startTimeLabel = new System.Windows.Forms.Label();
|
||||
endTimeLabel = new System.Windows.Forms.Label();
|
||||
startTimeLabel = new System.Windows.Forms.Label();
|
||||
withLabel = new System.Windows.Forms.Label();
|
||||
apptTypeLabel = new System.Windows.Forms.Label();
|
||||
apptTitleLabel = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)appointmentDataView).BeginInit();
|
||||
appointmentDetails.SuspendLayout();
|
||||
SuspendLayout();
|
||||
@ -117,32 +117,14 @@ partial class AppointmentsForm
|
||||
appointmentDetails.TabStop = false;
|
||||
appointmentDetails.Text = "Details";
|
||||
//
|
||||
// apptTitleLabel
|
||||
// endTimeLabel
|
||||
//
|
||||
apptTitleLabel.Location = new System.Drawing.Point(6, 19);
|
||||
apptTitleLabel.Name = "apptTitleLabel";
|
||||
apptTitleLabel.Size = new System.Drawing.Size(211, 23);
|
||||
apptTitleLabel.TabIndex = 0;
|
||||
apptTitleLabel.Text = "Title: ";
|
||||
apptTitleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// apptTypeLabel
|
||||
//
|
||||
apptTypeLabel.Location = new System.Drawing.Point(6, 42);
|
||||
apptTypeLabel.Name = "apptTypeLabel";
|
||||
apptTypeLabel.Size = new System.Drawing.Size(211, 23);
|
||||
apptTypeLabel.TabIndex = 1;
|
||||
apptTypeLabel.Text = "Type: ";
|
||||
apptTypeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// withLabel
|
||||
//
|
||||
withLabel.Location = new System.Drawing.Point(6, 65);
|
||||
withLabel.Name = "withLabel";
|
||||
withLabel.Size = new System.Drawing.Size(211, 23);
|
||||
withLabel.TabIndex = 2;
|
||||
withLabel.Text = "With: ";
|
||||
withLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
endTimeLabel.Location = new System.Drawing.Point(6, 111);
|
||||
endTimeLabel.Name = "endTimeLabel";
|
||||
endTimeLabel.Size = new System.Drawing.Size(211, 23);
|
||||
endTimeLabel.TabIndex = 4;
|
||||
endTimeLabel.Text = "End: ";
|
||||
endTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// startTimeLabel
|
||||
//
|
||||
@ -153,14 +135,32 @@ partial class AppointmentsForm
|
||||
startTimeLabel.Text = "Start: ";
|
||||
startTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// endTimeLabel
|
||||
// withLabel
|
||||
//
|
||||
endTimeLabel.Location = new System.Drawing.Point(6, 111);
|
||||
endTimeLabel.Name = "endTimeLabel";
|
||||
endTimeLabel.Size = new System.Drawing.Size(211, 23);
|
||||
endTimeLabel.TabIndex = 4;
|
||||
endTimeLabel.Text = "End: ";
|
||||
endTimeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
withLabel.Location = new System.Drawing.Point(6, 65);
|
||||
withLabel.Name = "withLabel";
|
||||
withLabel.Size = new System.Drawing.Size(211, 23);
|
||||
withLabel.TabIndex = 2;
|
||||
withLabel.Text = "With: ";
|
||||
withLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// apptTypeLabel
|
||||
//
|
||||
apptTypeLabel.Location = new System.Drawing.Point(6, 42);
|
||||
apptTypeLabel.Name = "apptTypeLabel";
|
||||
apptTypeLabel.Size = new System.Drawing.Size(211, 23);
|
||||
apptTypeLabel.TabIndex = 1;
|
||||
apptTypeLabel.Text = "Type: ";
|
||||
apptTypeLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// apptTitleLabel
|
||||
//
|
||||
apptTitleLabel.Location = new System.Drawing.Point(6, 19);
|
||||
apptTitleLabel.Name = "apptTitleLabel";
|
||||
apptTitleLabel.Size = new System.Drawing.Size(211, 23);
|
||||
apptTitleLabel.TabIndex = 0;
|
||||
apptTitleLabel.Text = "Title: ";
|
||||
apptTitleLabel.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// AppointmentsForm
|
||||
//
|
||||
|
@ -15,10 +15,11 @@ public partial class CustomersForm : Form
|
||||
|
||||
Shown += UpdateCustomersList;
|
||||
|
||||
_form.UpdateCustomersList += UpdateCustomersList;
|
||||
|
||||
AddButton.Click += (sender, args) =>
|
||||
{
|
||||
_form.InitAdd();
|
||||
_form.UpdateCustomersList += UpdateCustomersList;
|
||||
};
|
||||
|
||||
ModifyButton.Click += (sender, args) =>
|
||||
@ -26,7 +27,6 @@ public partial class CustomersForm : Form
|
||||
if (_customers is null) return;
|
||||
var selectedCustomer = _customers[CustomersDataGrid.CurrentCell.RowIndex];
|
||||
_form.InitUpdate(selectedCustomer);
|
||||
_form.UpdateCustomersList += UpdateCustomersList;
|
||||
};
|
||||
|
||||
DeleteButton.Click += (sender, args) =>
|
||||
|
@ -1,5 +1,10 @@
|
||||
# ✅ C# Application Development To-Do List
|
||||
|
||||
## Current issues
|
||||
- [x] Customers dont update when adding
|
||||
- [ ] Cant select appointment by day anymore
|
||||
- [ ] Add/Update appt form doesn't update user list
|
||||
|
||||
## 1. Login Form
|
||||
|
||||
- [x] Create a login form with the following functionality:
|
||||
|
Loading…
Reference in New Issue
Block a user