Code Monkey home page Code Monkey logo

easy-cat-timer's Introduction

Easy Cat Timer

Easy Cat Timer是一个非常简单计时器(倒计时)软件。

Please click here for the English document.

主界面



下载

2019年7月2日之后,你可以在Steam商店里,下载这款软件。


最新版本: v1.0.1.1 (2019年09月13日)

下载地址:点击下载v1.0.1.1版本

Steam地址:https://store.steampowered.com/app/1054580/Easy_Cat_Timer/



特色

Easy Cat Timer是一个使用C#语言编写的WPF应用(.NET Framework),可运行在Windows平台。


软件特色:

  • 非常简单(只有倒计时的功能)
  • 非常可爱
  • 有详细的中文注释

在这个简单的项目中,大概有这些部分:

名字 描述
定时器 在.Net中,如何完成一个计时功能?
动画 在项目中,用到了2种不同的动画书写方式。
一种是直接在C#代码里书写,一种是在XAML里书写。
数据绑定 把数据类绑定在XAML中,并且进行双向数据同步。
字体 如何在WPF中,使用非系统内嵌的字体。
通知窗口 如何在屏幕右下角弹出自定义的通知窗口。
这一部分参考了这位大大的代码:
https://blog.csdn.net/catshitone/article/details/75089069
但是我不是用的窗口位移,而是让窗口里的元素位移。
窗口位移只适用于使用单个显示器的情况,如果用户是双显示器可能会看出瑕疵:)
保存和读取 在WPF里,用WPF自带的Settings.settings实现保存和加载功能(存档功能)。
不同形状的窗口 如何制作奇形怪状的窗口?
在这个软件中有2个窗口(主窗口、通知窗口),
主窗口是带有圆角的方形,通知窗口是异形(不规则的形状)的。


项目结构

文件夹说明:

文件夹 描述
Asset 这个文件夹里,是项目中用到的所有资源。
包括了图片 、字体和声音文件。
Code 这个文件夹里,是项目中用到的所有C#脚本。
Xaml 这个文件夹里,是项目中用到的所有.xaml文件。
包括了自定义控件、资源词典、以及样式。
ReadMeIamge 这个文件夹里,装的是README.md文档中要用到的图片。
(直接删掉也没关系哒!~)

重要文件说明:

文件 描述
MainWindow.xaml 主界面
NotificationWindow.xaml 通知界面
AppManager.cs 管理类 (用于管理所有的窗口、逻辑、以及数据类的对象)
TimeSystem.cs 计时器功能
SaveSystem.cs 保存加载功能
LanguageSystem.cs 多语言功能
AudioSystem.cs 音效功能


更新日志

v0.0.1.1(2019.06.25):

  1. 优化[任务栏进度条](完成时闪烁、暂停时变红)
  2. 把Staff面板放到窗口外
  3. 修复:有时候倒计时完成,没有声音(怀疑是声音文件被系统[垃圾回收]了)
  4. 现在,当鼠标进入Staff面板时,会显示Staff面板。(这是为了防止:当Staff面板在屏幕边缘出现时,Staff面板疯狂闪烁)
  5. 现在,文本框里不能输入“-”、“.”字符

v1.0.0.0(2019.07.01):

  1. 优化:在设置分钟数和秒钟数时,如果一直按住按钮,可以一直增加(或减少)分钟数(或者秒钟数) ——感谢:Felix
  2. 修复:在设置时间时,在文本框里滚动鼠标滚轮,会导致数字发生滚动 ——感谢:Felix、小木
  3. 优化:在设置时间时,如果秒钟数为0,此时如果再次减少秒钟数,秒钟数会变为59。分钟数同理。 ——感谢:Felix
  4. 优化:把Timer类 改为 wpf自带的DispatcherTimer类
  5. 优化:在设置时间的界面,按回车就可以开始计时 ——感谢:小木
  6. 修复:现在鼠标右键点击任何按钮 都无效(只有鼠标左键可以点击按钮)

v1.0.1.0(2019.07.30):

  1. 优化:在设置时间的时候,可以通过滚动鼠标中键来调整时间——感谢:小木
  2. 优化:可以调节音量——感谢:[TBR] Flaming、乐乐

v1.0.1.1(2019.09.13):

  1. 修复Bug:长按“秒”的上箭头时,秒数会减少(代码写反了)——感谢:UEMion
  2. 优化:重做了[音量]功能(使用SoundPlayer类)——感谢:amirrammari

easy-cat-timer's People

Contributors

xujiangjiang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

easy-cat-timer's Issues

add 99 hours support

Currently the maximum time is 99 mins, which is too short for sketch training(or some other task). Could you please extend this tool to support dozens of hours?
你好,目前最大时间只能设定为99分钟,但是对于素描训练(或者其他事请)来说这个时间太少了。请问是否可以扩展功能以支持数十个小时的计时?

The app crashes when the timer finishes

The app crashes when the timer finishes when Windows Media Player is not installed.
I uninstalled Windows Media Player from Windows 10's Optional Features.
Optional Features
Please fix this bug.
Thanks.

Release in the Chocolatey

While EasyCatTimer is easily obtainable as it is, it still feels like EasyCatTimer could benefit from the standardized update procedure that comes with the Windows Store. Perhaps even something like the Desktop App Converter could be used.

小建议

希望可以调整软件窗口大小

Keep the program on top

image
Just like the one in the picture, a pin-like function could be added to prevent the countdown page from being hidden when I click on other windows

建议

这里谢谢作者大大的番茄钟,很有用,我也很喜欢,但是它的倒计时上限是99:99,也就是100min多39s,我希望作者大大能添加小时级的倒计时,或者取消分钟的数字限制,让我能进行八个小时甚至十二个小时以上的倒计时,并且希望即便电脑关机或者睡眠,都不会影响它的倒计时,期待作者大大的更新~

增加显示开始的时间

  • 我定时了25分钟
  • 我去看,发现还有3分钟,但是我忘记自己定了多长时间了……
  • 计时的意义消失了…

希望可以在倒计时的时候再某个角落显示我一开始设定了多长时间

Easy Go ToDo

Hello, When publish 'Easy Go ToDo' app on Steam or GitHub?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.