Cho-Hsun Lu
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
      • Create new note
      • Create a note from template
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Write
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Save as template
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    2
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    --- tags: 視窗程式設計 --- # 安裝 Visual Studio 由於 WPF 是微軟的產品,因此如果要建置 WPF 的軟體或系統,一定是使用微軟的 Visual Studio 整合開發環境(Integrated Development Environment, IDE),基本上這個 IDE 的社群版(之後我們以 VSC 來簡稱)可以免費使用,所以同學不用擔心需要支付軟體費用。 目前最新版本的 Visual Studio Communuity 是 2022 版本,如果你的電腦沒有安裝過,你可以直接裝最新版,如果你的電腦之前安裝過,也可以直接用既有的版本。例如如果你之前安裝過遊戲引擎 Unity,也通常會連帶安裝 Visual Studio Communuity 2019 版本,我們課程基本上版本比較沒有差別,不要使用太舊的版本就好。 :::danger Visual Studio for Mac 已於 2024 年 8 月 31 日退場 所以如果你使用 Mac,不好意思可能要請你找一台 PC 了。 ::: ## 下載 Visual Studio 安裝方式很簡單,請到微軟網站下載 Visual Studio 的**社群版**,我們以 2022 版為範例,以下是網址,或者透過搜尋找尋也可以。 :::warning Visual Studio 的社群版下載 https://visualstudio.microsoft.com/zh-hant/downloads/ ::: ![](https://i.imgur.com/1jN8gYP.png =400x) 下載回來之後,請將安裝檔點兩下開啟就可以準備安裝。 ![](https://i.imgur.com/r2GIM1y.png =400x) 接下來需要花一點時間等待下載,時間需要看你的網路速度而定。 ![](https://i.imgur.com/991KwXt.png =400x) ## 選擇個別套件 安裝檔下載完成之後,會出現要你選擇個別套件的選項,由於 Visual Studio 可以開發的軟體或應用程式類型有很多種,從一般視窗應用程式、網頁應用程式、Python 程式、行動 App、Unity 遊戲設計等等都能做,只要選擇適當的套件就可以建置。 因為我們要開發視窗程式,在這邊請選擇「**.NET 桌面開發**」,直接勾選即可,然後點選在右下角的「**安裝**」就可以了。 ![](https://i.imgur.com/dP72rvE.png) 之後就會繼續從網路安裝套件,這部分要等一段時間。全部安裝完成之後,可能會要求你重新開機,重新開機後就完成安裝。 ![](https://i.imgur.com/cbASO7K.png) ## 如果你以前電腦就有 Visual Studio 同學可能過去因為安裝過其他程式開發平台,例如 Unity,可能就有安裝過 Visual Studio,這時你就不需要下載安裝。 不過你需要檢查有沒有「**.NET 桌面開發**」套件,請按 Windows 的「開始」,找尋有沒有類似下圖的「**Visual Studio Installer**」,就可以開啟安裝程式,請點選「**修改**」按鍵,接下來的安裝過程就跟上一節是相同的,請記得確認一下。 ![](https://imgur.com/pFzkjlY.png) ![](https://imgur.com/F6OVAXb.png) ## 一定要輸入帳號密碼 安裝完成之後,請點選 Windows 的「開始」按鍵,再點選「**Visual Studio**」 ,點選它,開啟 Visual Studio。 你的桌面上也可能會有程式連結,也可以雙點圖示開啟 Visual Studio。 開啟它之後,會跳出以下視窗,Visual Studio 一定需要一組帳號密碼才能使用,如果你之前有申請過 Outlook 或 Hotmail 之類的帳號,可以直接登入,如果沒有,可以申請一個帳號。 建議同學要申請帳密,並且我們上機考試會使用教室電腦,你不會登入會連上機考試都沒辦法,請 ==**一定要有一組帳號密碼,否則無法正常在 Visual Studio 開發軟體。**== ![](https://imgur.com/N1aoSPV.png) ![](https://i.imgur.com/wTz9gs9.png =400x) ## 結語 安裝 Visual Studio 沒有很難,相較於過去版本來說,現在真的很容易了,想當年老師裝這套 IDE 都要花上一整天(不唬爛,一整天),現在的安裝程序真的簡化很多。 請同學務必練習一下,如果你電腦本來就有,也至少確認一下是否有 WPF 的套件哦! 接下來我們跟同學介紹基本的 VSC 專案檔管理。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully