Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

winform fixed size

// 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();
Comment

PREVIOUS NEXT
Code Example
Csharp :: Send Hotmail/Outlook Email C# (Win/ASP.NET) 
Csharp :: How to print text to screen in c# 
Csharp :: webclient c# example post 
Csharp :: C# top down view movement 
Csharp :: C# top down view player movement script 
Csharp :: unity c# destroy gameobject 
Csharp :: unity apply bloom of a different color 
Csharp :: Comparing Arrays using LINQ in C# 
Csharp :: number to character c# 
Csharp :: How to decode Microsoft Local token in service 
Csharp :: c# split multiple options 
Csharp :: dictionary all key where value c# 
Csharp :: c# enum get string value 
Csharp :: unity easing out 
Csharp :: how to find the biggest number in c# 
Csharp :: length of list c# 
Csharp :: letter to number converter c# 
Csharp :: c# if statements 
Csharp :: c# decimal to fixed 2 
Csharp :: c# property attribute 
Csharp :: how to get gravity from Rigidbody2D in c# 
Csharp :: car controller unity 
Csharp :: c# return two values 
Csharp :: c# method 
Csharp :: How can I use Hex color Unity? , give hex color in unity 
Csharp :: restrictions 
Csharp :: raycasting unity 
Csharp :: change canvas color uwp c# 
Csharp :: shuffle array c# 
Csharp :: unity mathf.clamp 
ADD CONTENT
Topic
Content
Source link
Name
7+3 =