M
M
Maxim K2020-05-02 23:10:08
C++ / C#
Maxim K, 2020-05-02 23:10:08

How to properly design a simple application?

Hello. I looked at many examples and books, but still - how to design an application correctly? What components to use, how it is more convenient to arrange, how to find out on the basis of which component you can make a filter? Here I wrote a simple online radio - 5eadd3de91ab0821190409.jpeg
yes it works, but I want to make it like PCRadio, or some other online player with a choice of genre and other things. I do only "for myself", I study.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Korotenko, 2020-05-03
@mkvmaks

Looks cool.
In general, about the location. There is such a layout tab, use the components from it for layout.
Also look towards the Dock property. It allows you to bind to a parent container.
Appearance. Unfortunately, WinForms is very limited in the appearance of controls, although there is a custom render, it might be worth switching to WPF.
The filter is usually done based on a user control. Inside is an ordinary text box, a button with a magnifying glass, a clear button. Items - Bindable collection list of elements to filter Query - entered query
QueryChanged - event that occurs when the query changes QueryItemSelected - Selecting an item from the list

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question