C
C#16mo ago
AceChewy

❔ Need help creating Alarm Clocks for an Application

I need help adding a renaming functionality to my Alarms so that the user can change the name when they want. At the moment they are Text boxes so the user can already type in a new name, it just doesn't save yet once they hit enter since I don't know how to get it to work. I've attached the code below and the relevant components. I also require help actually implementing an animated timer in my application
11 Replies
AceChewy
AceChewyOP16mo ago
friedice
friedice16mo ago
$code
MODiX
MODiX16mo ago
To post C# code type the following: ```cs // code here ``` Get an example by typing $codegif in chat If your code is too long, post it to: https://paste.mod.gg/
AceChewy
AceChewyOP16mo ago
This is the AlarmView.xaml file https://paste.mod.gg/rcycxpyyggym/0
BlazeBin - rcycxpyyggym
A tool for sharing your source code with the world!
AceChewy
AceChewyOP16mo ago
This is the AlarmView.xaml.cs file
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace Utiliites_App.MVVM.View
{
public partial class AlarmView : UserControl
{
public AlarmView()
{
InitializeComponent();
}
}
}
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;

namespace Utiliites_App.MVVM.View
{
public partial class AlarmView : UserControl
{
public AlarmView()
{
InitializeComponent();
}
}
}
@IceGPT
Insire
Insire16mo ago
whats an animated timer? it looks like you just want some textboxes to update periodically, so just use a timer to do that
AceChewy
AceChewyOP16mo ago
AceChewy
AceChewyOP16mo ago
Something like this I’m planning on updating the page to be Clock and to contain an Alarm, Timer, Stopwatch and the timer
AceChewy
AceChewyOP16mo ago
The animated timer will reflect to reflect the time left. Here’s a better example
AceChewy
AceChewyOP16mo ago
GitHub
AbuTar - Overview
AbuTar has 3 repositories available. Follow their code on GitHub.
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server