我會嘗試下面的代碼的方式: 'Click on Button1 spell checks Text1 textbox
Dim strResultText As String
Dim sc As New SpellChecker
sc.OpenDictionary "c:\SpellUS.lex"
Private Sub Button1_Click()
TextBox1.Focus
我現在控制器類 public class Controller {
@FXML
public javafx.scene.image.ImageView imageView;
@FXML
private MenuItem openItem;
@FXML
public void openAction(ActionEvent event) {
FileChooser
我想創建一個有圖片的類,並通過鼠標點擊更改爲下一個類。我是oop的新手,我的想法是使類相似到現實生活中每個新圖片都有新的類實例,是否可以這樣做?這是我的代碼 import tkinter as tk
from PIL import Image,ImageTk
class Picture():
_count=1
def __init__(self,window):