Visual Studio 2012 won a new flat layout

new for VS 2012-2013. on win7

I was hoping to create winform with a new flat layout, regardless of the version of Windows. I need a finish like this

new http://calmoni.com/225db3ab6565d132c3b4b3/new.png

unlike old Dependent windows

Imgur

Is this part of Visual Studio 2012-3 or do I need to create it from scratch by removing the top panel and the recreate buttons?

+3
source share
3 answers

This is tied to your version of Windows. You will need to recreate it from scratch for Windows forms, or if you use WPF, you can find a style to apply in the new flat window style. In WPF, it would be easier to change the style of the form.

edit:

WPF NuGet Package:

Modern interface for WPF

Winforms SO

+3

, , , , da pic... , , flatstyle da "none"

da, - , da da , 3 (, , ) , , . ..... , da, , da - 2 .

1- varibless

2- normal codes

1- the varilbels
==================
Public Class your_form
    Dim x, y As Integer
    Dim newpoint As New System.Drawing.Point
===============================================
2-normal codes
     Private Sub Panel1_MouseDown(sender As Object, e As MouseEventArgs) Handles Panel1.MouseDown
        x = Control.MousePosition.X - Me.Location.X
        y = Control.MousePosition.Y - Me.Location.Y
    End Sub
    Private Sub Panel1_MouseMove(sender As Object, e As MouseEventArgs) Handles Panel1.MouseMove
        If e.Button = Windows.Forms.MouseButtons.Left Then
            newpoint = Control.MousePosition
            newpoint.X -= (x)
            newpoint.Y -= (y)
            Me.Location = newpoint
        End If
    End Sub
=======================================

1

0
source

All Articles