Deveexpress + WinForm (2)

Time:2020-10-12

Invincible fuzzy learning video: https://www.bilibili.com/video/BV15x411x7WN?p=3

Episode 3: implement a page and create a new deveexpress WinForm blankapplication.

 

  • Using ribboncontrol, add several groups of pagegroups. Pagegroup adds several items and pagegroup sets text. Set largeimage or image (old version lageglyph, glyph) for each item. When you want to display image, you should clear largeimage. Item set the buttonstyle. Item set caption.

 

  • Implement skin settings and add ribbongallerybaritem. The skin is initialized in the background.

 

 private void Form1_Load(object sender, EventArgs e)
 {
     SkinHelper.InitSkinGallery(ribbonGalleryBarItem1, true);
 }
  • Implementation of the bottom status bar. Drag the ribbon status bar to add a barstaticitem and set the caption of the item.

 

  • In the sidebar, drag navbarcontrol to set its dock property. Right click addgroup and addItem. Set the caption of the group. Set the caption and image of the item.

 

Recommended Today

On the mutation mechanism of Clickhouse (with source code analysis)

Recently studied a bit of CH code.I found an interesting word, mutation.The word Google has the meaning of mutation, but more relevant articles translate this as “revision”. The previous article analyzed background_ pool_ Size parameter.This parameter is related to the background asynchronous worker pool merge.The asynchronous merge and mutation work in Clickhouse kernel is completed […]