SORU
24 Mart 2011, PERŞEMBE


Nasıl devre dışı bırakmak C kullanıcıları için yeniden boyutlandırma formu muyum# Win

Nasıl devre dışı bırakmak C kullanıcıları için yeniden boyutlandırma formu muyum# Win . hangi özelliği kullanılır ?

denedim

AutoSize

AutoSizeMode

Herhangi bir yardım ?

CEVAP
24 Mart 2011, PERŞEMBE


Değişim Sabit değerleri için FormBorderStyle: FixedSingle, Fixed3D, FixedDialog FixedToolBar.

FormBorderStyle özelliği Görünüm kategorisi altında.

veya bu kontrol edin

// Define the border style of the form to a dialog box.
form1.FormBorderStyle = FormBorderStyle.FixedDialog;

// Set the MaximizeBox to false to remove the maximize box.
form1.MaximizeBox = false;

// Set the MinimizeBox to false to remove the minimize box.
form1.MinimizeBox = false;

// Set the start position of the form to the center of the screen.
form1.StartPosition = FormStartPosition.CenterScreen; 

// Display the form as a modal dialog box.
form1.ShowDialog();

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • Learn Math Tutorials

    Learn Math T

    20 Kasım 2011
  • majesticdubstep

    majesticdubs

    3 Kasım 2011
  • Ownage Pranks

    Ownage Prank

    13 AĞUSTOS 2007