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

  • Dave Wallace

    Dave Wallace

    27 Kasım 2007
  • engineerguy

    engineerguy

    10 Ocak 2010
  • UCBerkeley

    UCBerkeley

    3 Mayıs 2006