Tag:control

  • The C ා control RichTextBox displays the line number and interacts with the panel

    Time:2019-12-16

    When we use WinForm form, we require RichTextBox to add line number; I’ve seen it written by big bulls before, but it’s too complex, and it uses double textboxes for linkage. It’s very good. Today, we try RichTextBox + panel for mutual linkage                         […]

  • Using cefsharp to develop WinForm environment construction

    Time:2019-12-15

    Because nuget online downloads are sometimes slow, download the nuget package for local installation Go to nuget website https://www.nuget.org/ to download relevant resources         Select the corresponding version to download. At the same time, you need to download the related dependent packages       ​ The final download includes four packages: […]

  • Official release! New version of. Net development control set componentone added to the razor UI

    Time:2019-12-14

    Recently, the latest version of componentone. Net development control set released by grape city is officially released! Componentone is a set of third-party controls that focuses on enterprise. Net development, supports. Net core platform, and integrates perfectly into visual studio. It contains more than 300 kinds of. Net controls, and provides seven functions, including table […]

  • In WinForm, the dock property of the control is used to design the layout of the form so that it does not change with the scaling of the form

    Time:2019-12-13

    scene After creating a new WinForm, drag and drop the control to set its layout as follows     If we only design this way, we will cause the following problems if we zoom the window after running     So we need to set the positioning of the control when designing the page layout. […]

  • Use of page tab control xtatabcontrol control in devxpress

    Time:2019-12-8

    scene WinForm control – devexpress18 download installation registration and use in vs: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243 On the premise that devxpress has been successfully installed above, the page layout effect is tab page effect, as follows:     Note: Blog home page:https://blog.csdn.net/badao_liumang_qizhi Pay attention to the public addressDomineering procedural apeGet programming related ebooks, tutorials and free downloads. Realization […]

  • Conversion between bitmap and bitmapimage in WPF (c)

    Time:2019-12-6

    I. set ImageSource in image control of WPF image1.Source = new BitmapImage(new Uri(@”image file path”, Urikind.RelativeOrAbsolute)); You can also use: System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.Open, System.IO.FileAccess.Read); byte[] buffer = new byte[fs.Length]; fs.Read(buffer, 0, buffer.Length); fs.Close(); fs.Dispose(); System.IO.MemoryStream ms = new System.IO.MemoryStream(buffer); BitmapImage bitmapImage = new BitmapImage(); bitmapImage.BeginInit(); bitmapImage.StreamSource = ms; bitmapImage.CacheOption = BitmapCacheOption.OnLoad; bitmapImage.EndInit(); […]

  • EasyUI datetimebox control binding double click event to automatically select the current date and time

    Time:2019-12-5

    This method is to achieve this goal by extending the method without changing the original JS First, expand a method of binding double click event in datetimebox control $.extend($.fn.datetimebox.methods, { //Bind double click event method bindDblClick: function (jq) { var panel = $(jq).combo(“panel”); panel.find(“.calendar-dtable tbody”).unbind(“.calendar”).bind(“dblclick.calendar”, function (e) { var calendar = $(jq).datetimebox(“calendar”); var spinner = […]

  • The use of comboboxedit control

    Time:2019-12-4

    scene WinForm control – devexpress18 download installation registration and use in vs: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243 Use of the drop-down box control lookupedit of devixpress, add the item option value, and modify the default display value: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/102464577 Note: Blog home page:https://blog.csdn.net/badao_liumang_qizhi Pay attention to the public addressDomineering procedural apeGet programming related ebooks, tutorials and free downloads. Realization DevExpress.XtraEditors.ComboBoxEdit […]

  • (86) C × WinForm custom control table optimization

    Time:2019-11-30

    Source: http://www.hzhccontrols.com/Original: http://www.hzhccontrols.com/blog-149.htmlThis article is copyrighted by www.hzhccontrols.comYou are welcome to reprint, but you must keep this statement without the permission of the author, and give the original link in the obvious position of the article page, otherwise you will be entitled to investigate legal liability   Official website http://www.hzhcontrols.com/ premise It’s been 7 or […]

  • Using the dock property to design the order of page layout controls in WinForm results in different page effects

    Time:2019-11-29

    scene When designing a page in WinForm, you often use the dock property of the control to adjust the layout. However, due to the order of setting properties, the desired effect cannot be achieved. For example, the following two controls     The dock property set by the following controls is bottom, that is, at […]

  • The TextEdit control of devixpress can’t adjust the height

    Time:2019-11-28

    scene   WinForm control – devexpress18 download installation registration and use in vs: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100061243 On the premise that the above has been successfully installed. If you want to use its TextEdit control to achieve an effect similar to textarea.     Note: Blog home page:https://blog.csdn.net/badao_liumang_qizhi Pay attention to the public addressDomineering procedural apeGet programming related […]

  • IOS interface fluency skills: Micro blog demo performance optimization skills

    Time:2019-11-28

    Performance optimization techniques of Weibo demo In order to demonstrate the functions of yykit, I implemented the demo of Weibo and twitter, and made many performance optimizations for them. Here are some techniques used in optimization. Pre typesetting After getting the API JSON data, I will calculate and encapsulate the data needed by each cell […]