From bbf6d90c96df2f8d936143f3f1940ff8126a82aa Mon Sep 17 00:00:00 2001
From: 24472 <2447284231@qq.com>
Date: Thu, 19 Dec 2019 00:23:09 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9mainpain=E8=83=8C=E6=99=AF?=
=?UTF-8?q?=E5=9B=BE=E4=BB=A5=E5=8F=8A=E5=AE=8C=E5=96=84personal=E5=92=8Cc?=
=?UTF-8?q?ourse=E9=A1=B5=E9=9D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/fxml/Change_accountname.fxml | 14 ++++
src/fxml/Change_email.fxml | 36 ++++++++++
src/fxml/Course(none).fxml | 30 +++++++--
src/fxml/Course.fxml | 36 ++++++++--
src/fxml/Pane_sceen.fxml | 2 +-
src/fxml/Personal.fxml | 46 +++++++------
src/fxml/Priceimg.fxml | 15 +++++
src/fxml/Pricepane(none).fxml | 2 +-
src/fxml/Pricepane.fxml | 10 ++-
src/imgzip/mainpane/Change_acccountname.java | 4 ++
.../Change_accountnameController.java | 4 ++
src/imgzip/mainpane/Change_email.java | 27 ++++++++
.../mainpane/Change_emailController.java | 53 +++++++++++++++
src/imgzip/mainpane/CourseController.java | 47 ++++++++++---
src/imgzip/mainpane/CourseControllernone.java | 66 ++++++++++---------
src/imgzip/mainpane/Pane_sceenController.java | 11 +++-
src/imgzip/mainpane/Personal.java | 34 +++++++---
src/imgzip/mainpane/PersonalController.java | 47 ++++++++++++-
src/imgzip/mainpane/Priceimg.java | 26 ++++++++
src/imgzip/mainpane/Pricepane.java | 3 -
src/imgzip/mainpane/PricepaneController.java | 34 ++++++++--
.../mainpane/PricepaneControllernone.java | 19 ++++++
txtFile/RememberAccount&Password.txt | 2 +-
23 files changed, 474 insertions(+), 94 deletions(-)
create mode 100644 src/fxml/Change_accountname.fxml
create mode 100644 src/fxml/Change_email.fxml
create mode 100644 src/fxml/Priceimg.fxml
create mode 100644 src/imgzip/mainpane/Change_acccountname.java
create mode 100644 src/imgzip/mainpane/Change_accountnameController.java
create mode 100644 src/imgzip/mainpane/Change_email.java
create mode 100644 src/imgzip/mainpane/Change_emailController.java
create mode 100644 src/imgzip/mainpane/Priceimg.java
diff --git a/src/fxml/Change_accountname.fxml b/src/fxml/Change_accountname.fxml
new file mode 100644
index 0000000..76e6024
--- /dev/null
+++ b/src/fxml/Change_accountname.fxml
@@ -0,0 +1,14 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/fxml/Change_email.fxml b/src/fxml/Change_email.fxml
new file mode 100644
index 0000000..9e289dc
--- /dev/null
+++ b/src/fxml/Change_email.fxml
@@ -0,0 +1,36 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/fxml/Course(none).fxml b/src/fxml/Course(none).fxml
index ef22675..ed270aa 100644
--- a/src/fxml/Course(none).fxml
+++ b/src/fxml/Course(none).fxml
@@ -11,7 +11,7 @@
-
+
diff --git a/src/fxml/Pane_sceen.fxml b/src/fxml/Pane_sceen.fxml
index a8d4b1e..7c2c79b 100644
--- a/src/fxml/Pane_sceen.fxml
+++ b/src/fxml/Pane_sceen.fxml
@@ -11,7 +11,7 @@
-
+
diff --git a/src/fxml/Personal.fxml b/src/fxml/Personal.fxml
index 86da0ed..451ea33 100644
--- a/src/fxml/Personal.fxml
+++ b/src/fxml/Personal.fxml
@@ -1,18 +1,16 @@
-
-
-
+
-
+
@@ -33,30 +31,40 @@
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
diff --git a/src/fxml/Priceimg.fxml b/src/fxml/Priceimg.fxml
new file mode 100644
index 0000000..158b9fd
--- /dev/null
+++ b/src/fxml/Priceimg.fxml
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/fxml/Pricepane(none).fxml b/src/fxml/Pricepane(none).fxml
index df18490..428a7a1 100644
--- a/src/fxml/Pricepane(none).fxml
+++ b/src/fxml/Pricepane(none).fxml
@@ -11,7 +11,7 @@
-
+
diff --git a/src/fxml/Pricepane.fxml b/src/fxml/Pricepane.fxml
index ad4b501..d82855f 100644
--- a/src/fxml/Pricepane.fxml
+++ b/src/fxml/Pricepane.fxml
@@ -11,7 +11,7 @@
-
+
@@ -283,5 +283,13 @@
+
+
+
+
+
+
+
+
diff --git a/src/imgzip/mainpane/Change_acccountname.java b/src/imgzip/mainpane/Change_acccountname.java
new file mode 100644
index 0000000..bfdf2f6
--- /dev/null
+++ b/src/imgzip/mainpane/Change_acccountname.java
@@ -0,0 +1,4 @@
+package imgzip.mainpane;
+
+public class Change_acccountname {
+}
diff --git a/src/imgzip/mainpane/Change_accountnameController.java b/src/imgzip/mainpane/Change_accountnameController.java
new file mode 100644
index 0000000..076be92
--- /dev/null
+++ b/src/imgzip/mainpane/Change_accountnameController.java
@@ -0,0 +1,4 @@
+package imgzip.mainpane;
+
+public class Change_accountnameController {
+}
diff --git a/src/imgzip/mainpane/Change_email.java b/src/imgzip/mainpane/Change_email.java
new file mode 100644
index 0000000..60cef76
--- /dev/null
+++ b/src/imgzip/mainpane/Change_email.java
@@ -0,0 +1,27 @@
+package imgzip.mainpane;
+
+import javafx.fxml.FXMLLoader;
+import javafx.scene.Parent;
+import javafx.scene.Scene;
+import javafx.stage.Stage;
+
+/**
+ @Author: 吴泳仪
+ @Date: 2019.12.17
+ */
+public class Change_email {
+ public Change_email(){
+ try {
+ Parent root = FXMLLoader.load(getClass().getResource("/fxml/Change_email.fxml"));
+ Stage primaryStage = new Stage();
+ primaryStage.setTitle("修改用户名");
+ primaryStage.setScene(new Scene(root, 400, 300));
+ primaryStage.show();
+
+ }catch (Exception e){
+ e.printStackTrace();
+ }
+ }
+
+
+}
diff --git a/src/imgzip/mainpane/Change_emailController.java b/src/imgzip/mainpane/Change_emailController.java
new file mode 100644
index 0000000..5b7b5f7
--- /dev/null
+++ b/src/imgzip/mainpane/Change_emailController.java
@@ -0,0 +1,53 @@
+package imgzip.mainpane;
+
+import imgzip.LoginSignIn.DataBaseController;
+import imgzip.LoginSignIn.GlobalStringManager;
+import javafx.fxml.FXML;
+import javafx.fxml.Initializable;
+import javafx.scene.control.Button;
+import javafx.scene.control.Label;
+import javafx.scene.control.PasswordField;
+import javafx.scene.control.TextField;
+import javafx.stage.Stage;
+
+
+import java.net.URL;
+import java.sql.ResultSet;
+import java.sql.SQLException;
+import java.util.ResourceBundle;
+
+/**
+ @Author: 吴泳仪
+ @Date: 2019.12.17
+ */
+public class Change_emailController implements Initializable {
+ public String a;
+ @FXML
+ private Button certain;
+ @FXML
+ private TextField text;
+
+ public void initialize(URL lacation, ResourceBundle resources){
+
+// if(a.length() != 0) {
+// certain.setDisable(true);
+//
+// }else{
+// certain.setDisable(false);
+// }
+ certain.setOnAction(e -> {
+ a = text.getText();
+ GlobalStringManager.setEmial(a);
+ DataBaseController loginInstruction = new DataBaseController();
+ ResultSet rs = null;
+ String currentInstruction = "UPDATE login SET email=" + "'" + a + "'" + "WHERE username=" + "'" + GlobalStringManager.getAccount() + "'";
+ loginInstruction.queryUpdate(currentInstruction);
+ loginInstruction.close();
+ GlobalStringManager.setEmial(a);
+ new Personal();
+ Stage stage = (Stage) certain.getScene().getWindow();
+ stage.close();
+ });
+
+ }
+}
diff --git a/src/imgzip/mainpane/CourseController.java b/src/imgzip/mainpane/CourseController.java
index 273a2f8..a3aae5c 100644
--- a/src/imgzip/mainpane/CourseController.java
+++ b/src/imgzip/mainpane/CourseController.java
@@ -45,11 +45,15 @@ public class CourseController implements Initializable {
@FXML
private Button forget;
@FXML
+ private Button remember;
+ @FXML
private Button change;
@FXML
- private Button compress;
+ private Button pic_upload;
+ @FXML
+ private Button pics_upload;
@FXML
- private BorderPane page;
+ private Button personal;
@FXML
private ImageView gif;
@@ -92,6 +96,15 @@ public class CourseController implements Initializable {
stage.close();
});
+ /**
+ 本页面连接到personal
+ */
+ personal.setOnAction(e -> {
+ new Personal();
+ Stage stage = (Stage)personal.getScene().getWindow();
+ stage.close();
+ });
+
@@ -99,7 +112,7 @@ public class CourseController implements Initializable {
把登录教程的gif放到page版面上
*/
login.setOnAction(e -> {
- Image image = new Image("/res/icon/pkq.gif");
+ Image image = new Image("/res/icon/Login.gif");
gif.setImage(image);
});
@@ -107,7 +120,7 @@ public class CourseController implements Initializable {
把注册教程的gif放到page版面上
*/
register.setOnAction(e -> {
- Image image = new Image("/res/icon/pkq2.gif");
+ Image image = new Image("/res/icon/createAccount.gif");
gif.setImage(image);
});
@@ -115,7 +128,15 @@ public class CourseController implements Initializable {
把忘记密码教程的gif放到page版面上
*/
forget.setOnAction(e->{
- Image image = new Image("/res/icon/pkq3.gif");
+ Image image = new Image("/res/icon/ChangePassword.gif");
+ gif.setImage(image);
+ });
+
+ /**
+ 把记住用户名教程的gif放到page版面上
+ */
+ remember.setOnAction(e->{
+ Image image = new Image("/res/icon/RememberAccount.gif");
gif.setImage(image);
});
@@ -123,15 +144,23 @@ public class CourseController implements Initializable {
把图片格式转换教程的gif放到page版面上
*/
change.setOnAction( e-> {
- Image image = new Image("/res/icon/pkq.gif");
+ Image image = new Image("/res/icon/格式转换.gif");
+ gif.setImage(image);
+ });
+
+ /**
+ 把单一图片上传教程的gif放到page版面上
+ */
+ pic_upload.setOnAction( e-> {
+ Image image = new Image("/res/icon/单一图片上传.gif");
gif.setImage(image);
});
/**
- 把图片压缩教程的gif放到page版面上
+ 把批量图片上传教程的gif放到page版面上
*/
- compress.setOnAction( e-> {
- Image image = new Image("/res/icon/pkq.gif");
+ pics_upload.setOnAction( e-> {
+ Image image = new Image("/res/icon/批量图片上传.gif");
gif.setImage(image);
});
}
diff --git a/src/imgzip/mainpane/CourseControllernone.java b/src/imgzip/mainpane/CourseControllernone.java
index 2527420..b418db3 100644
--- a/src/imgzip/mainpane/CourseControllernone.java
+++ b/src/imgzip/mainpane/CourseControllernone.java
@@ -6,7 +6,8 @@ import javafx.fxml.FXML;
import javafx.scene.control.Button;
import javafx.scene.layout.BorderPane;
import javafx.stage.Stage;
-
+import javafx.scene.image.Image;
+import javafx.scene.image.ImageView;
import java.net.URL;
import java.util.ResourceBundle;
@@ -30,11 +31,15 @@ public class CourseControllernone implements Initializable {
@FXML
private Button forget;
@FXML
+ private Button remember;
+ @FXML
private Button change;
@FXML
- private Button compress;
+ private Button pic_upload;
+ @FXML
+ private Button pics_upload;
@FXML
- private BorderPane page;
+ private ImageView gif;
public void initialize(URL lacation, ResourceBundle resources){
@@ -78,55 +83,56 @@ public class CourseControllernone implements Initializable {
把登录教程的gif放到page版面上
*/
login.setOnAction(e -> {
-// page.getChildren().clear();
-// Image image = new Image("pkq.gif");
-// ImageView imageView = new ImageView();
-// imageView.setImage(image);
-// page.setCenter(imageView);
+ Image image = new Image("/res/icon/Login.gif");
+ gif.setImage(image);
});
/**
把注册教程的gif放到page版面上
*/
register.setOnAction(e -> {
-// page.getChildren().clear();
-// Image image = new Image("C:\\Users\\24472\\Desktop\\image\\pkq.gif");
-// ImageView imageView = new ImageView();
-// imageView.setImage(image);
-// page.setCenter(imageView);
+ Image image = new Image("/res/icon/createAccount.gif");
+ gif.setImage(image);
});
/**
把忘记密码教程的gif放到page版面上
*/
forget.setOnAction(e->{
-// page.getChildren().clear();
-// Image image = new Image("C:\\Users\\24472\\Desktop\\image\\pkq.gif");
-// ImageView imageView = new ImageView();
-// imageView.setImage(image);
-// page.setCenter(imageView);
+ Image image = new Image("/res/icon/ChangePassword.gif");
+ gif.setImage(image);
+ });
+
+ /**
+ 把记住用户名教程的gif放到page版面上
+ */
+ remember.setOnAction(e->{
+ Image image = new Image("/res/icon/RememberAccount.gif");
+ gif.setImage(image);
});
/**
把改变图像格式教程的gif放到page版面上
*/
change.setOnAction( e-> {
-// page.getChildren().clear();
-// Image image = new Image("C:\\Users\\24472\\Desktop\\image\\pkq.gif");
-// ImageView imageView = new ImageView();
-// imageView.setImage(image);
-// page.setCenter(imageView);
+ Image image = new Image("/res/icon/格式转换.gif");
+ gif.setImage(image);
+ });
+
+ /**
+ 把单一图片上传教程的gif放到page版面上
+ */
+ pic_upload.setOnAction( e-> {
+ Image image = new Image("/res/icon/单一图片上传.gif");
+ gif.setImage(image);
});
/**
- 把图片压缩教程的gif放到page版面上
+ 把批量图片上传教程的gif放到page版面上
*/
- compress.setOnAction( e-> {
-// page.getChildren().clear();
-// Image image = new Image("C:\\Users\\24472\\Desktop\\image\\pkq.gif");
-// ImageView imageView = new ImageView();
-// imageView.setImage(image);
-// page.setCenter(imageView);
+ pics_upload.setOnAction( e-> {
+ Image image = new Image("/res/icon/批量图片上传.gif");
+ gif.setImage(image);
});
}
}
diff --git a/src/imgzip/mainpane/Pane_sceenController.java b/src/imgzip/mainpane/Pane_sceenController.java
index 13e7b3a..7e98957 100644
--- a/src/imgzip/mainpane/Pane_sceenController.java
+++ b/src/imgzip/mainpane/Pane_sceenController.java
@@ -31,8 +31,9 @@ public class Pane_sceenController implements Initializable {
private Button course;
@FXML
private Button price;
+
@FXML
- private Pane changepane;
+ private Button personal;
@Override
public void initialize(URL lacation, ResourceBundle resources){
@@ -58,7 +59,7 @@ public class Pane_sceenController implements Initializable {
本页面连接到course未登录页面
*/
course.setOnAction(e -> {
- new Course();
+ new Course(1);
Stage stage = (Stage)course.getScene().getWindow();
stage.close();
});
@@ -71,6 +72,12 @@ public class Pane_sceenController implements Initializable {
Stage stage = (Stage)price.getScene().getWindow();
stage.close();
});
+
+// personal.setOnAction(e -> {
+// new Personal();
+// Stage stage = (Stage)personal.getScene().getWindow();
+// stage.close();
+// });
}
}
diff --git a/src/imgzip/mainpane/Personal.java b/src/imgzip/mainpane/Personal.java
index e676575..5e95713 100644
--- a/src/imgzip/mainpane/Personal.java
+++ b/src/imgzip/mainpane/Personal.java
@@ -5,7 +5,12 @@ import imgzip.LoginSignIn.GlobalStringManager;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
+import javafx.scene.control.Label;
import javafx.scene.control.TextArea;
+import javafx.scene.layout.Pane;
+import javafx.scene.text.Font;
+import javafx.scene.text.FontPosture;
+import javafx.scene.text.FontWeight;
import javafx.stage.Stage;
import java.sql.ResultSet;
@@ -38,26 +43,37 @@ import java.sql.SQLException;
//}
public class Personal {
+
public Personal(){
try {
Parent root = FXMLLoader.load(getClass().getResource("/fxml/Personal.fxml"));
- TextArea account = (TextArea)root.lookup("#accountname");
- TextArea email = (TextArea)root.lookup("#password");
- TextArea tel = (TextArea)root.lookup("#tel");
+
+// Label account = (Label) root.lookup("#account");
+// Label email = (Label)root.lookup("#email");
+// Label tel = (Label)root.lookup("#tel");
+
+ Pane accountp = (Pane)root.lookup("#accountp");
+ Pane emailp = (Pane)root.lookup("#emailp");
+ Pane telp= (Pane)root.lookup("#telp");
DataBaseController loginInstruction = new DataBaseController();
ResultSet rs = null;
try{
- String currentInstruction = "SELECT * FROM login WHERE userName=" + "'" + GlobalStringManager.getAccount()+ "'";
+ String currentInstruction = "SELECT * FROM login WHERE userName=" + "'" +GlobalStringManager.getAccount()+ "'";
rs = loginInstruction.queryExcecute(currentInstruction);
-
if (rs.next()) {
- account.setText(rs.getString(1));
- email.setText(rs.getString(3));
- tel.setText(rs.getString(4));
-
+// account.setFont(Font.font(rs.getString(1)));
+// email.setFont(Font.font(rs.getString(3)));
+// tel.setFont(Font.font(rs.getString(4)));
+
+ Label a = new Label(rs.getString(1));
+ accountp.getChildren().add(a);
+ Label e = new Label(rs.getString(3));
+ emailp.getChildren().add(e);
+ Label t = new Label(rs.getString(4));
+ telp.getChildren().add(t);
}
diff --git a/src/imgzip/mainpane/PersonalController.java b/src/imgzip/mainpane/PersonalController.java
index 262e462..a4ca6a7 100644
--- a/src/imgzip/mainpane/PersonalController.java
+++ b/src/imgzip/mainpane/PersonalController.java
@@ -1,12 +1,19 @@
package imgzip.mainpane;
import imgzip.FunctionPane;
+import imgzip.LoginSignIn.ChangePassword;
+import imgzip.LoginSignIn.DataBaseController;
+import imgzip.LoginSignIn.GlobalStringManager;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.Button;
+import javafx.scene.control.Label;
+import javafx.scene.layout.AnchorPane;
+import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import java.net.URL;
+import java.sql.ResultSet;
import java.util.ResourceBundle;
/**
@@ -22,6 +29,17 @@ public class PersonalController implements Initializable {
private Button signout;
@FXML
private Button functionpage;
+ @FXML
+ private Button changename;
+ @FXML
+ private Button changeemail;
+ @FXML
+ private Button changepw;
+ @FXML
+ public static Pane accountp;
+ @FXML
+ private Pane emailp;
+
public void initialize(URL lacation, ResourceBundle resources){
/**
本页面连接到homepage
@@ -36,7 +54,7 @@ public class PersonalController implements Initializable {
本页面连接到course
*/
course.setOnAction(e -> {
- new Course(1);
+ new Course();
Stage stage = (Stage)course.getScene().getWindow();
stage.close();
});
@@ -45,7 +63,7 @@ public class PersonalController implements Initializable {
本页面连接到price
*/
price.setOnAction(e->{
- new Pricepane(1);
+ new Pricepane();
Stage stage = (Stage)price.getScene().getWindow();
stage.close();
});
@@ -58,5 +76,30 @@ public class PersonalController implements Initializable {
Stage stage = (Stage)functionpage.getScene().getWindow();
stage.close();
});
+
+ /**
+ 修改用户名称
+ */
+ changename.setOnAction(e -> {
+
+ });
+
+ /**
+ 修改邮箱
+ */
+ changeemail.setOnAction(e -> {
+ new Change_email();
+ Stage stage = (Stage) changeemail.getScene().getWindow();
+ stage.close();
+ });
+
+ /**
+ 修改密码
+ */
+ changepw.setOnAction(e -> {
+ new ChangePassword();
+ Stage stage = (Stage)changepw.getScene().getWindow();
+ stage.close();
+ });
}
}
diff --git a/src/imgzip/mainpane/Priceimg.java b/src/imgzip/mainpane/Priceimg.java
new file mode 100644
index 0000000..141b649
--- /dev/null
+++ b/src/imgzip/mainpane/Priceimg.java
@@ -0,0 +1,26 @@
+package imgzip.mainpane;
+
+import javafx.fxml.FXMLLoader;
+import javafx.scene.Parent;
+import javafx.scene.Scene;
+import javafx.stage.Stage;
+/**
+ @Author: 吴泳仪
+ @Date: 2019.12.18
+ */
+public class Priceimg {
+ public Priceimg(){
+ try {
+ Parent root = FXMLLoader.load(getClass().getResource("/fxml/Priceimg.fxml"));
+ Stage primaryStage = new Stage();
+ primaryStage.setTitle("pay");
+ primaryStage.setScene(new Scene(root, 237, 327));
+ primaryStage.show();
+
+ }catch (Exception e){
+ e.printStackTrace();
+ }
+ }
+
+
+}
\ No newline at end of file
diff --git a/src/imgzip/mainpane/Pricepane.java b/src/imgzip/mainpane/Pricepane.java
index ca0d34c..4d9ac39 100644
--- a/src/imgzip/mainpane/Pricepane.java
+++ b/src/imgzip/mainpane/Pricepane.java
@@ -1,11 +1,8 @@
package imgzip.mainpane;
-import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
-import javafx.scene.control.Button;
-import javafx.scene.control.Label;
import javafx.stage.Stage;
/**
diff --git a/src/imgzip/mainpane/PricepaneController.java b/src/imgzip/mainpane/PricepaneController.java
index e05e572..b9129e7 100644
--- a/src/imgzip/mainpane/PricepaneController.java
+++ b/src/imgzip/mainpane/PricepaneController.java
@@ -17,9 +17,7 @@ import java.util.ResourceBundle;
*/
public class PricepaneController implements Initializable {
@FXML
- private Label logo;
- @FXML
- private Line line;
+ private Button personal;
@FXML
private Button functionpage;
@FXML
@@ -28,7 +26,11 @@ public class PricepaneController implements Initializable {
private Button price;
@FXML
private Button signout;
- @Override
+ @FXML
+ private Button button1;
+ @FXML
+ private Button button3;
+
public void initialize(URL lacation, ResourceBundle resources){
/**
本页面连接到functionpage
@@ -65,5 +67,29 @@ public class PricepaneController implements Initializable {
Stage stage = (Stage)signout.getScene().getWindow();
stage.close();
});
+
+ /**
+ 本页面连接到personal
+ */
+ personal.setOnAction(e -> {
+ new Personal();
+ Stage stage = (Stage)personal.getScene().getWindow();
+ stage.close();
+ });
+
+ /**
+ 本页面连接到priceimg
+ */
+ button1.setOnAction(e -> {
+ new Priceimg();
+ });
+
+ /**
+ 本页面连接到priceimg
+ */
+ button3.setOnAction(e -> {
+ new Priceimg();
+ });
+
}
}
diff --git a/src/imgzip/mainpane/PricepaneControllernone.java b/src/imgzip/mainpane/PricepaneControllernone.java
index 4c5966b..4ceaa46 100644
--- a/src/imgzip/mainpane/PricepaneControllernone.java
+++ b/src/imgzip/mainpane/PricepaneControllernone.java
@@ -22,6 +22,11 @@ public class PricepaneControllernone implements Initializable {
private Button loginnone;
@FXML
private Button homepagenone;
+ @FXML
+ private Button button1;
+ @FXML
+ private Button button3;
+
public void initialize(URL lacation, ResourceBundle resources){
/**
本页面连接到course未登录页面
@@ -58,5 +63,19 @@ public class PricepaneControllernone implements Initializable {
Stage stage = (Stage)homepagenone.getScene().getWindow();
stage.close();
});
+
+ /**
+ 本页面连接到priceimg
+ */
+ button1.setOnAction(e -> {
+ new Priceimg();
+ });
+
+ /**
+ 本页面连接到priceimg
+ */
+ button3.setOnAction(e -> {
+ new Priceimg();
+ });
}
}
diff --git a/txtFile/RememberAccount&Password.txt b/txtFile/RememberAccount&Password.txt
index 632bac5..5a087e8 100644
--- a/txtFile/RememberAccount&Password.txt
+++ b/txtFile/RememberAccount&Password.txt
@@ -1 +1 @@
-505822174|xiaoyaozizai|true
+qwert|qwert|true
--
Gitee