Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to implement an input of time (or dates with times) ranges dynamically?
    primarykey
    data
    text
    <p>I'd like to enhance my C# .NET 4.0 <strong>multithreaded</strong> WPF application by dynamic adding of time rages (<code>BeginTime+EndTime</code> pairs for each, of multiple, range).<br> And the multiple entered by a user (from 0 to N) time ranges should be: </p> <ul> <li>shown, i.e. presented to a user (my thought is about a ListBox or two dependent on each other listboxes) </li> <li>CRUD-ed (Created-Read-Updated-Deleted) </li> </ul> <p>I looked through 3d-party commercial <code>TimePicker</code>s or <code>DataTimePicker</code>s, creating my own custom and user controls for implementing <code>TimePicker</code> and <code>DateTimePicker</code> controls... but still couldn't decide how to better proceed with it. </p> <p>What would be <strong>better to use</strong> for it - a <code>custom control</code> or a <code>user control</code> and in which composition/combination (which control inside which another one - ListBox, ListView, etc.)? Which underlying collection(s), model? </p> <p>I'd appreciate any advice on how to implement it </p> <p><strong>Update:</strong><br> If this would help to understand...<br> I have a WPF application that is trading at stock exchange but the user should be able to choose customizable multiple periods of time for real-time and emulation (the orders to buy and sell are shown but not sent to stock exchange) trading. Well, this a little bit more complicated since different algorithms are being used during different period of times but the problem is that I'd like to give a user possibilities to enter configurable time periods. </p> <p>This, periods of time, is now done by hard-coding, without any user interaction. </p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload