Tag:forms

  • Nanui | 0.7 version of. Net /. Net core interface component is officially released

    Time:2020-4-5

    On February 10, 2020, nanui version 0.7 was officially released. Looking back on the past year, I am not sure. Too many pressures and variables in my life and work make me tired physically and mentally. I have witnessed the pain of my relatives being devastated by illness, and I have been devastated for a […]

  • C ා use delegate events to transfer values between forms (Simplified)

    Time:2020-4-3

    Define delegate Public delegate void sendmessagetochildforms (string s); // defines a delegate with a parameter of string and no return value, named sendmessagetochildforms. Delegate instantiation //The essence is to instantiate an event public event SendMessageToChildForms smtcf_event; Define specific execution methods public void ToShowGetMessage(string s) { This. LB? Received content. Text = s; } Binding method […]

  • C memory cache learning notes

    Time:2020-4-1

    In many cases, we need to use cache. On the one hand, reasonable use of cache can improve the response speed of the program, and reduce the pressure of access to specific resources. In order to avoid every request to visit the background Generally, resources (such as databases) are considered to store the data that […]

  • Add sub control to panel control and locate it in WinForm through code

    Time:2020-3-23

    scene The panelcontrol of devixpress is often used for layout of form pages. Generally drag a pannelcontrol, then drag other controls.     If it is generated by code and controls the layout, how to implement. Official accountDomineering procedural apeGet programming related ebooks, tutorials and free downloads. Realization For example, to add a TextEdit to […]

  • Using code to write button click event in WinForm

    Time:2020-3-18

    scene In general, when developing WinForm form, a button will be dragged, and then double-click to enter the button click event, and Click to write the event. If there is no button on the form in advance, it is a button generated in the code. How to write its click event. Realization SimpleButton confirmbButton = […]

  • How to get the control of the same form according to the name in WinForm

    Time:2020-3-17

    scene In the same WinForm form, when you click a button, Gets the properties of other controls on the same form. First you need to give the name property to the control you want to get, and then you can get it through name. Realization In the button click event: private void confirmbButton_Click(object sender, EventArgs […]

  • C ා realize the automatic scaling of each control in the form year on year

    Time:2020-3-14

    The main implementation method is to use the panel control as the theme, record the size, position and font of each control, and then zoom in and out at the same time according to the changed size of the form. The brief steps are as follows: 1. Create C form program project.2. Panel to form.3. […]

  • The Commission of C Chen is so simple

    Time:2020-3-14

    In the recent chat with several embedded development friends, a friend complained that: this C is too hard to use. I think it’s hard to transfer values in N forms (or between N user components). It’s necessary to define a global variable to store and then use a timer to brush new values. It’s too […]

  • C ා make keyword eye-catching control

    Time:2020-3-14

    Realization way: WinForm custom control, inherited from the system label control.     The first step:Create a “component” named: marklabel       The second step:Modify and add the following code: /*Add namespace reference: * using System.Windows.Forms; * using System.Drawing; * */ Public partial class marklabel: label // inherited from: system. Windows. Forms. Label { [browsable […]

  • Python fast advanced 6-the same project code, how to package 32-bit and 64 bit applications

    Time:2020-3-10

    Because the python applications we distribute may run in 64 bit or 32-bit environments, we need to configure two packaging environments for the same set of application code. How to configure them? Steps are as follows 1. Download and install 32-bit and 64 bit Python on the computer, and select “add Python to path” during […]

  • Floating button in WPF implementation form

    Time:2020-3-6

    WPF implements the floating button in the window, which can be dragged and docked at the edge of the window. Control XAML Code: <Button x:Class=”SunCreate.Common.Controls.FloatButton” xmlns=”http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” xmlns:mc=”http://schemas.openxmlformats.org/markup-compatibility/2006″ xmlns:d=”http://schemas.microsoft.com/expression/blend/2008″ mc:Ignorable=”d” d:DesignHeight=”300″ d:DesignWidth=”300″ Width=”50″ Height=”50″ Margin=”0″ HorizontalAlignment=”Left” VerticalAlignment=”Top” x:Name=”btn” Loaded=”btn_Loaded” Click=”btn_Click” > <Button.Template> <ControlTemplate> <Grid MouseLeftButtonDown=”Border_MouseLeftButtonDown”> <Border CornerRadius=”25″ Background=”#022938″ Opacity=”0.2″ > </Border> <Border CornerRadius=”20″ Width=”40″ Height=”40″ […]

  • Electron learning path of a UI Designer (1)

    Time:2020-3-2

    The contact with electron has been for some time, about three months, but it’s just contact, not fully in-depth study. There are few electron tutorials found on the Internet, and the HelloWorld is full of energy and energy. As a designer, because he only knows some fur of the front end, it’s the white in […]