Tag:forms

  • Summary of function realization of building – House – edit component

    Time:2021-10-11

    Problem Description:Enter an entity house of type house,After clicking Edit, the edit Name dialog box and confirm button will pop up.When there is an ID in the house, click OK to trigger the background update operation. After the update, close the dialog box.When there is no ID in the house, click OK to close the […]

  • Screen usage

    Time:2021-10-6

    Introduction to screen In the screen environment, all sessions run independently and have their own number, input, output and window cache. Users can switch between different windows through shortcut keys, and can freely redirect the input and output of each window. In short:When the remote server is disconnected or the remote terminal is turned off […]

  • Details of using forms validation in. Net MVC

    Time:2021-9-20

    . net MVC uses forms verification for your reference. The details are as follows This is how the folder is divided First set in web.config Authentication and authorization nodes <system.web> <authentication mode=”Forms”> <forms loginUrl=”~/Login/Index” timeout=”2880″ defaultUrl=”~/Home/Index”/> </authentication> <anonymousIdentification enabled=”true”/> <authorization> <deny users=”?”/> <!– Deny anonymous access — > </authorization> <compilation debug=”true” targetFramework=”4.5″ /> <httpRuntime targetFramework=”4.5″ […]

  • Usage of check boxes in WinForm DataGridView control

    Time:2021-9-16

    System.Windows.Forms.DataGridViewIt is a data list container control provided in. Net forms, just like the rows and columns queried in MSSQL. It not only displays data, but also provides editing functions. Cells can even add unique control elements, such as text boxes, check boxes, and even pictures. This article introduces the check boxes. You can add […]

  • C#mysql database backup and restore

    Time:2021-9-9

    1: Reference DLL MySql.Data.dll, MySqlbackup.dll 2: Create a data connection static class public static class mysql { Public static string constr = “database = test; password = password; user id = root; server = IP address”; public static MySqlConnection conn = new MySqlConnection(constr); } 3: Create WinForm form Backup code DialogResult = MessageBox. Show (“the […]

  • Perfect solution for WinForm form form fillet and stroke

    Time:2021-8-30

    fillet In the project, the four corners of the form need to be changed to rounded corners. The rounded corners of WinForm form form are not well set or drawn. I found many solutions on the Internet and finally found a perfect solution. Commonly used in online materials is to redraw the four corners of […]

  • Vs how to do the C form application startup interface? VS2010 form Application Tutorial

    Time:2021-8-21

    Making a software startup interface, many c# novices don’t know how to write a program startup interface, and the online tutorial is very complex. Here I share the simplest startup interface making method, which is only applicable to c# form applications. Let’s take a look at the detailed tutorial. Software name: Microsoft Visual Studio 2010 […]

  • Dislike. Net’s UI is too ugly. Try this library

    Time:2021-8-14

    Hello everyone, I am a small editor who broke my heart for the majority of programmers. It is my goal to recommend a gadget / source code every day, fill your favorites, and share a small skill every day, so that you can easily save development efficiency and achieve no overtime, no staying up late […]

  • Analysis of value transfer between WinForm forms

    Time:2021-8-1

    Source code   https://github.com/SHAREVIEW/winform_ valnue-from-form-2-form_ 20190919.git There are many ways to transfer values between WinForms. Here I use delegate and event to transfer values Create a new windows application and create two WinForms. In fact, they are two classes Add a button and a textbox to each WinForm Write agents and events in winform2 as […]

  • Dislike. Net UI too ugly, try this library

    Time:2021-6-11

    Hello everyone, I’m a heartbroken editor for the majority of programmers. I recommend a small tool / source code every day, fill your favorites, and share a little skill every day, so that you can easily save development efficiency, and achieve the goal of not working overtime, not staying up late and not losing your […]

  • Do not know how C + + from code to game? Take the glory of the king as an example!

    Time:2021-5-29

    This is simple. Now that you have asked C + +, let me ask you. Now, I have a student class. How to create a student class object in C + +? //   Well, I will! There are two ways: Student s; Student  * s2  = New student (“Zhang San”); Well, now the students’ behaviors […]

  • How does visual studio call the forms of other projects?

    Time:2021-4-29

    Can I call the forms of other projects in visual studio? How to add it? Today, let’s take a look at how visual studio calls the form function of other projects. Software name: Visual studio 2017 official version (with offline installation package) official website simplified Chinese version Software size: 15GB Update time: 2017-03-14Download now 1. […]