XAMLab(ザムラボ)
ザムラボ - XAML研究室、WPF、Silverlight関連など。

目次

Blog 利用状況
  • 投稿数 - 202
  • 記事 - 1
  • コメント - 695
  • トラックバック - 43
ニュース

書庫

日記カテゴリ

ギャラリ

なか-chan関連サイト

他の方へのリンク

 


遅くなりましたが、電卓祭の15Calc電卓のソースコード
15Calc.zip (Visual Studio 2005 C# / Expression Blendプロジェクト)
を公開します。基本的に、応募時と同等のものです。
参考になるか、ならないかわかりませんが...(^^;;;
何かご質問などありましたら、なんでもかまいませんので
コメントください。改造、流用などもご自由にお願いします。

作成方法は、まず、Expression Blendにより、グリッドを入れ子にして
ボタンを配置。次に、そのボタンのクリックハンドラを作成しました。
クリック時の動作は、Visual Studio側ですべて作成しています。
最初に電卓のロジックを組み、まともに計算できるようになったら、
最後にパズルのロジックも付け加えると完成です。

一番難しかったのは、電卓のロジックでした。
アクアさんの電卓アプリの状態遷移図や、
επιστημηさんの状態遷移ってばこの程度のものなどを
参考にさせていただきました。ありがとうございます。

【課題】
・表示とクリップボードの値が異なることがある。
・動画付きのパズルボタン。
・小数点の計算。
・マイナスの計算。
・ボタンのアニメーション。
・XBAP化。Silverlight化。

 

投稿日時 : 2007年8月3日 0:49
コメント
  • # re: 15Calc電卓ソースコード公開~
    επιστημη
    Posted @ 2007/08/03 1:15
    め、めちゃめちゃカコイイやんけー
  • # re: 15Calc電卓ソースコード公開~
    なか-chan@最愛のiMac
    Posted @ 2007/08/03 6:55
    ありがとうございます~。
  • # re: 15Calc電卓ソースコード公開~
    ながせ
    Posted @ 2007/08/03 8:20
    参考にさせていただきますよおー。
  • # re: 15Calc電卓ソースコード公開~
    通り*
    Posted @ 2007/08/03 10:02
    wktkで待ってました~
    もう公開はないのかなってあきらめかけていましたけど(^^;
    早速、ダウンロードさせてもらいました!

    この前VisualStudio2008のbeta2を入れるときにBlendの環境をなくしちゃっていたことに、今気付きました(TT)
    でもBlendなくてもVS2008で開けました~

    ところでVS2008の新規作成の中にWPF Applicationというのがありますよね。
    Blend+VSで作成する場合とどう関係しているのかが、今の私には?状態です...
    また調べようと思ってるけど、もしよろしければ教えてください~
  • # re: 15Calc電卓ソースコード公開~
    なか-chan@最愛のiMac
    Posted @ 2007/08/03 11:02
    遅くなってすみません。
    VS2008はインストールしただけで満足したので、まだ使ってません(^^;;;

    VS2005でも、Standard Edition以上で、WPFのExtentionを
    入れていれば、そのメニューと同じようなものは表示されると思います。

    Visual C# → .NET Framework 3.0 → Windows Application (WPF)
    これは基本的にExpression Blendで作成されるプロジェクトと同じものです。
    (slnや、csprojファイルは、VSでもExpression Blendでもどちらでも開けます)

    ですから、Blendを使わずに、VSだけでも開発することはできます。
    もっというと、XAMLを使わずにC#かVBのコードだけでも書けるようです。
    細かい画面配置やアニメーションなどは難しいと思いますが...
  • # re: 15Calc電卓ソースコード公開~
    通り*
    Posted @ 2007/08/03 12:54
    >遅くなってすみません。
    いえいえぃぇぃぇ

    >VS2005でも、・・・
    あ、そうなのですか!
    そういえば聞いたことあるような、ないようなw

    >もっというと、・・・
    少しだけ混乱中w( ̄~ ̄;)
    WPFアプリケーションにBlendは必須じゃないけど、
    細かい画面配置やアニメーションなどをするときは
    Blendを使うと簡単にできる、ということですね?
    確かにBlendでボタンを回転させるのは私でも簡単でしたw

    WPFは避けては通れないと前から思ってただけだったけど、
    な~~んとなく入り口が見えてきたような気がします。
    どうもです (' - ' *)ゞ
  • # re: 15Calc電卓ソースコード公開~
    吉岡
    Posted @ 2009/12/10 0:22
    この電卓はソースコードをいくつ使っていますか?
  • # HgenjoETaeeMwT
    https://www.suba.me/
    Posted @ 2019/04/23 1:16
    PjJ3Hw Well I definitely liked studying it. This information offered by you is very practical for correct planning.
  • # aQTNvGwtlF
    https://ceti.edu.gt/members/harry28320/profile/
    Posted @ 2019/04/27 6:00
    Thanks a lot for the article post.Much thanks again. Much obliged.
  • # zpbcWWbQFlFpuIMD
    https://tashasharpe.wordpress.com/
    Posted @ 2019/04/27 19:46
    I think other website proprietors should take this web site as an model, very clean and excellent user genial style and design, as well as the content. You are an expert in this topic!
  • # ayXnZeqQUfWUrP
    http://bit.do/ePqKP
    Posted @ 2019/04/28 2:07
    I think this is a real great blog post.Much thanks again. Fantastic.
  • # CggPbNRTBWcUdAMLow
    http://www.dumpstermarket.com
    Posted @ 2019/04/29 19:16
    wow, awesome blog post.Really looking forward to read more. Really Great.
  • # PozeYVHwFaKEP
    https://www.bintheredumpthat.com
    Posted @ 2019/05/01 18:32
    Wow, great article post.Much thanks again. Really Great.
  • # HGUAUtmEzBsniw
    https://www.ljwelding.com/hubfs/tank-fit-up-bed-sy
    Posted @ 2019/05/02 21:25
    Well I definitely liked reading it. This post procured by you is very useful for accurate planning.
  • # sHLPJfSKisDJleTDTp
    https://www.ljwelding.com/hubfs/tank-growing-line-
    Posted @ 2019/05/02 23:14
    This excellent website certainly has all the information I wanted about this subject and didn at know who to ask.
  • # MRJxXhHvTHzrxQhLhdY
    https://www.ljwelding.com/hubfs/welding-tripod-500
    Posted @ 2019/05/03 0:34
    You have made some decent points there. I looked on the web to find out more about the issue and found most people will go along with your views on this site.
  • # RoVGDFWtZvt
    http://fabrikadialogov.ru/4-priema-privoda-fanov-f
    Posted @ 2019/05/03 4:08
    You made some clear points there. I did a search on the subject and found most people will agree with your website.
  • # rwsjjaHjJKgGPis
    http://bgtopsport.com/user/arerapexign670/
    Posted @ 2019/05/03 11:02
    to eat. These are superior foodstuff that will assist to cleanse your enamel cleanse.
  • # VljFuLugdDaV
    https://www.youtube.com/watch?v=xX4yuCZ0gg4
    Posted @ 2019/05/03 16:23
    pretty useful material, overall I consider this is worthy of a bookmark, thanks
  • # mcCAFbVhfpPoRITLfQ
    https://mveit.com/escorts/united-states/houston-tx
    Posted @ 2019/05/03 20:30
    This is a great tip especially to those new to the blogosphere. Short but very accurate info Appreciate your sharing this one. A must read article!
  • # xOYxBEfWteMWQ
    https://mveit.com/escorts/united-states/los-angele
    Posted @ 2019/05/03 23:10
    Really enjoyed this blog article.Much thanks again. Much obliged.
  • # XZsgUtJCLAqjLuvzj
    http://blameitonweed.com/__media__/js/netsoltradem
    Posted @ 2019/05/03 23:36
    Right now it seems like Drupal could be the preferred blogging platform available at the moment. (from what I ave read) Is the fact that what you are using in your weblog?
  • # BhZchHqvKiwLmbT
    https://degreevoyage61.kinja.com/
    Posted @ 2019/05/04 2:42
    Really appreciate you sharing this blog.Thanks Again. Really Great.
  • # niQqTGiNnYnIjjhyWXE
    https://timesofindia.indiatimes.com/city/gurgaon/f
    Posted @ 2019/05/04 4:16
    Some genuinely choice articles on this website , saved to bookmarks.
  • # SEOOZCFqrPe
    https://www.gbtechnet.com/youtube-converter-mp4/
    Posted @ 2019/05/04 4:25
    referring to this article. I desire to read more things approximately it!
  • # BtwbQkmBEGmJshSNVV
    https://www.newz37.com
    Posted @ 2019/05/07 15:53
    provider for the on-line advertising and marketing.
  • # SUrjpBQyooUkmjGPz
    https://ysmarketing.co.uk/
    Posted @ 2019/05/08 20:53
    Wow, fantastic blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your website is wonderful, as well as the content!
  • # tyRXEbuNWRfO
    https://www.youtube.com/watch?v=9w5qk_gXWEE&fe
    Posted @ 2019/05/08 22:27
    Im thankful for the article.Much thanks again. Want more.
  • # zqLvMBBguzCuTXS
    https://www.youtube.com/watch?v=Q5PZWHf-Uh0
    Posted @ 2019/05/09 1:38
    I think this is a real great article post.Much thanks again. Keep writing.
  • # PHaxPhBJWID
    https://www.youtube.com/watch?v=9-d7Un-d7l4
    Posted @ 2019/05/09 6:33
    Thanks for great article! I like it very much!
  • # byOWcwBabfQXNwBpbB
    https://amasnigeria.com/jupeb-ibadan/
    Posted @ 2019/05/09 9:00
    Some genuinely good posts on this internet site , appreciate it for contribution.
  • # bEfXVYMcOY
    http://menaheria.com/author/urielmcbride/
    Posted @ 2019/05/09 9:44
    Just Browsing While I was surfing today I saw a great article concerning
  • # SwpfNLXRWCdrq
    https://www.instapaper.com/read/1183808085
    Posted @ 2019/05/09 11:20
    What as Happening i am new to this, I stumbled upon this I ave found It positively helpful and it has helped me out loads. I hope to contribute & assist other users like its aided me. Good job.
  • # MydgOPynNpQsZPOXYE
    https://reelgame.net/
    Posted @ 2019/05/09 16:10
    Really appreciate you sharing this article.Really looking forward to read more. Keep writing.
  • # BJapqkxtoV
    http://miblogdereflexionepmg.sojournals.com/6-pre-
    Posted @ 2019/05/09 19:23
    Merely a smiling visitant here to share the love (:, btw great style and design. Justice is always violent to the party offending, for every man is innocent in his own eyes. by Daniel Defoe.
  • # nYiWvOByzeXus
    https://pantip.com/topic/38747096/comment1
    Posted @ 2019/05/09 20:25
    Really informative post.Much thanks again. Keep writing.
  • # MEEhTKjBFhXOBiNTvNo
    https://www.ttosite.com/
    Posted @ 2019/05/10 0:34
    wrote the book in it or something. I think that
  • # UYVocniuxLAlISPCT
    https://www.mtcheat.com/
    Posted @ 2019/05/10 2:14
    Muchos Gracias for your article.Thanks Again. Much obliged.
  • # cSooHCTxsAEiblxrDs
    http://okerbay.com/eye-treatment-tips-you-can-use-
    Posted @ 2019/05/10 3:56
    What as up everyone, I am sure you will be enjoying here by watching these kinds of comical movies.
  • # CBCagvgUFH
    https://totocenter77.com/
    Posted @ 2019/05/10 4:30
    vаАа?б?Т€Т?deo or a piаАа?аАТ?turаА а?а? or t?o to l?аА аБТ?k for people excited
  • # REVLIDxgPsagxhnuOWx
    https://disqus.com/home/discussion/channel-new/the
    Posted @ 2019/05/10 6:10
    Une consultation de voyance gratuite va probablement ameliorer votre existence, vu que ce celui qui a connaissance de sa vie future profite mieux des opportunites au quotidien.
  • # DCiPyjhNRM
    https://www.dajaba88.com/
    Posted @ 2019/05/10 8:55
    You have brought up a very wonderful details , thanks for the post.
  • # varHNNxomDCWxqpyAa
    https://rehrealestate.com/cuanto-valor-tiene-mi-ca
    Posted @ 2019/05/10 9:11
    Wow! This could be one particular of the most beneficial blogs We have ever arrive across on this subject. Basically Great. I am also an expert in this topic therefore I can understand your hard work.
  • # dFiQRrMMvdLZJdYDOH
    https://www.mtpolice88.com/
    Posted @ 2019/05/11 4:40
    Merely a smiling visitor here to share the love (:, btw outstanding layout.
  • # FUavRpFIJzsZDcM
    http://centreofdistribution.com/__media__/js/netso
    Posted @ 2019/05/11 6:24
    It is not my first time to visit this web site, i am visiting this site dailly and take pleasant information from here daily.
  • # nliBYdHroWC
    https://www.ttosite.com/
    Posted @ 2019/05/12 20:12
    Why people still make use of to read news papers when in this technological world all is existing on net?
  • # NOCKwpklkHWByc
    https://www.sftoto.com/
    Posted @ 2019/05/12 22:33
    site I think other website proprietors should take this site as an model, very clean and fantastic user friendly style and design, as well as the content. You\ are an expert in this topic!
  • # AblFpRHsbBobgO
    https://www.mjtoto.com/
    Posted @ 2019/05/12 23:59
    Thanks-a-mundo for the article post.Really looking forward to read more. Fantastic.
  • # LnsKyTbfyhbMoYJa
    https://www.ttosite.com/
    Posted @ 2019/05/13 19:02
    You are my intake, I own few web logs and very sporadically run out from brand . Analyzing humor is like dissecting a frog. Few people are interested and the frog dies of it. by E. B. White.
  • # HwsQGcSbZKNxtFkMgY
    http://www.ekizceliler.com/wiki/Require_Help_With_
    Posted @ 2019/05/14 3:10
    It as really a cool and useful piece of information. I am glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.
  • # DGOJOlwZqdvFaoweJe
    http://all4webs.com/templetonayala3/bmfbfhesfc999.
    Posted @ 2019/05/14 9:49
    Incredible! This blog looks exactly like my old one! It as on a totally different subject but it has pretty much the same page layout and design. Wonderful choice of colors!
  • # qhsfPQRAcyXAB
    http://emile5705po.tutorial-blog.net/such-lips-inv
    Posted @ 2019/05/14 20:00
    You have brought up a very wonderful details , regards for the post. There as two heads to every coin. by Jerry Coleman.
  • # eHcViCRiaHSgNm
    https://bgx77.com/
    Posted @ 2019/05/14 21:17
    This blog is definitely entertaining and also factual. I have picked a bunch of helpful advices out of this source. I ad love to come back again and again. Thanks!
  • # It's remarkable to visit this web page and reading the views of all friends concerning this post, while I am also eager of getting familiarity.
    It's remarkable to visit this web page and reading
    Posted @ 2019/05/14 22:25
    It's remarkable to visit this web page and reading the views of all friends concerning this post, while I am also eager
    of getting familiarity.
  • # fotfNjIEJolkZjWzem
    https://www.mtcheat.com/
    Posted @ 2019/05/15 1:59
    Really appreciate you sharing this article post.Really looking forward to read more. Much obliged.
  • # qQMKpKsVsmawEQCoy
    http://www.jhansikirani2.com
    Posted @ 2019/05/15 3:43
    some genuinely select blog posts on this website , saved to favorites.
  • # FyMLXHfYpoJuznnbV
    https://archercap4.hatenablog.com/
    Posted @ 2019/05/15 4:58
    looked at. And on this article Referencement editorial :
  • # wGSSRAjaNjf
    https://www.talktopaul.com/west-hollywood-real-est
    Posted @ 2019/05/15 14:21
    It as not that I want to copy your web site, but I really like the pattern. Could you let me know which style are you using? Or was it custom made?
  • # oSPTTZQyvbtkKg
    https://zenwriting.net/workrest4/the-best-practice
    Posted @ 2019/05/15 18:14
    Personally, I have found that to remain probably the most fascinating topics when it draws a parallel to.
  • # gCuHQLcYTXrxWNpGp
    https://www.mjtoto.com/
    Posted @ 2019/05/17 0:23
    There as certainly a great deal to find out about this issue. I like all of the points you made.
  • # kqgRDiXfwsD
    https://www.ttosite.com/
    Posted @ 2019/05/17 5:02
    Pretty! This has been an extremely wonderful post. Many thanks for supplying these details.
  • # It's in fact very complex in this full of activity life to listen news on Television, thus I just use world wide web for that reason, and take the most up-to-date information.
    It's in fact very complex in this full of activity
    Posted @ 2019/05/17 12:00
    It's in fact very complex in this full of activity life to
    listen news on Television, thus I just use world wide
    web for that reason, and take the most up-to-date information.
  • # xqmznQofyxdEitFFrRS
    https://www.youtube.com/watch?v=9-d7Un-d7l4
    Posted @ 2019/05/17 18:57
    Just wanna state that this is handy , Thanks for taking your time to write this.
  • # lGihVwJcrKIzhBP
    https://www.mtcheat.com/
    Posted @ 2019/05/18 5:16
    Well I definitely enjoyed reading it. This tip procured by you is very effective for proper planning.
  • # KMnRjmntmpTmLPwro
    http://profi-cosmetic.ru/bitrix/rk.php?goto=https:
    Posted @ 2019/05/18 6:32
    you are really a good webmaster. The site loading speed is amazing. It seems that you are doing any unique trick. Also, The contents are masterpiece. you have done a magnificent job on this topic!
  • # VPgXRYUvuZWzUnF
    https://bgx77.com/
    Posted @ 2019/05/18 9:31
    Spot on with this write-up, I honestly think this web site needs far more attention. I all probably be returning to read more, thanks for the advice!
  • # jLjWGukZbewj
    https://www.ttosite.com/
    Posted @ 2019/05/18 13:17
    Major thankies for the article post.Really looking forward to read more.
  • # UCXxAkEHRSih
    http://europeanaquaponicsassociation.org/members/a
    Posted @ 2019/05/21 19:16
    Impressive how pleasurable it is to read this blog.
  • # llKZwSoyierfwA
    https://www.designthinkinglab.eu/members/dryfind7/
    Posted @ 2019/05/22 18:15
    three triple credit report How hard is it to write a wordpress theme to fit into an existing site?
  • # uWszhIqJdHkYvUvaY
    https://www.ttosite.com/
    Posted @ 2019/05/22 19:54
    This Swimwear is named as Ed Durable Men as swimwear. It
  • # oAlWinebqFqCucZRUX
    http://seanews.co.uk/network/blog/view/3156/inform
    Posted @ 2019/05/22 23:54
    Well I truly enjoyed reading it. This subject provided by you is very effective for accurate planning.
  • # aIREeLemDgo
    https://totocenter77.com/
    Posted @ 2019/05/23 0:54
    Major thankies for the article post.Thanks Again. Awesome.
  • # gciwNZmkOnTx
    http://www.lhasa.ru/board/tools.php?event=profile&
    Posted @ 2019/05/23 5:47
    What is the top blogging site in the United States?
  • # jmjFXwCZgBDKcRIT
    https://www.nightwatchng.com/search/label/Business
    Posted @ 2019/05/24 0:55
    I truly appreciate this article post.Really looking forward to read more. Keep writing.
  • # yueEZKwpvgIhWwO
    http://xn--b1adccaenc8bealnk.com/users/lyncEnlix61
    Posted @ 2019/05/24 19:11
    Wow, incredible blog layout! How long have you been blogging for? you made blogging look easy. The overall look of your website is magnificent, let alone the content!
  • # SwOkrcEjNbY
    http://s-power.com/board_stsf27/3015207
    Posted @ 2019/05/25 0:36
    Very good blog article.Thanks Again. Awesome.
  • # wNoufZrKDsrVMX
    http://poster.berdyansk.net/user/Swoglegrery440/
    Posted @ 2019/05/25 7:12
    pretty handy material, overall I feel this is well worth a bookmark, thanks
  • # iPrMpZIEUwKVBxjc
    http://bgtopsport.com/user/arerapexign245/
    Posted @ 2019/05/26 4:05
    You made some good points there. I looked on the internet for the topic and found most guys will approve with your website.
タイトル  
名前  
Url
コメント