-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEmployeeController.java
More file actions
45 lines (33 loc) · 1.07 KB
/
Copy pathEmployeeController.java
File metadata and controls
45 lines (33 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package application;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.control.TextField;
import javafx.scene.layout.AnchorPane;
public class EmployeeController {
@FXML
private AnchorPane employee_remove_button;
@FXML
private TextField Employee_username_firld;
@FXML
private TextField Employee_password_field;
@FXML
private Button remove_button;
@FXML
private Button Employee_register_button;
@FXML
void Employee_remove(ActionEvent event) {
Main.username=Employee_username_firld.getText();
employee_Deletion E_D=new employee_Deletion();
E_D.start();
System.out.println("Done Successfully");
}
@FXML
void employee_register(ActionEvent event) {
Main.username=Employee_username_firld.getText();
Main.password=Employee_password_field.getText();
employee_Addition M_A= new employee_Addition() ;
M_A.start();
System.out.println("Done Successfully");
}
}