This commit is contained in:
Nadya Karaivanova 2021-07-22 17:22:14 +03:00
Родитель fb0fdec6e5
Коммит 40d5ccf084
26 изменённых файлов: 1946 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,20 @@

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2005
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ResizingPanelsDoubleBuffer", "ResizingPanelsDoubleBuffer\ResizingPanelsDoubleBuffer.csproj", "{DC749145-4CED-4BC3-8CBA-412CED374BC6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DC749145-4CED-4BC3-8CBA-412CED374BC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DC749145-4CED-4BC3-8CBA-412CED374BC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
{DC749145-4CED-4BC3-8CBA-412CED374BC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
{DC749145-4CED-4BC3-8CBA-412CED374BC6}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Просмотреть файл

@ -0,0 +1,43 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace ResizingPanelsDoubleBuffer
{
public partial class ControlsWithDoubleBuffer : Form
{
public ControlsWithDoubleBuffer()
{
InitializeComponent();
this.radPanel1.Scroll += new ScrollEventHandler(radPanel1_Scroll);
this.customPanel1.Scroll += new ScrollEventHandler(customPanel1_Scroll);
}
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
Brush linearGradientBrush = new LinearGradientBrush(
new Rectangle(408, 34, this.customPanel1.Width, this.customPanel1.Height), Color.White, Color.Blue, 90);
g.FillRectangle(linearGradientBrush, new Rectangle(408, 34, this.customPanel1.Width, this.customPanel1.Height));
linearGradientBrush.Dispose();
}
void customPanel1_Scroll(object sender, ScrollEventArgs e)
{
this.customPanel1.Invalidate();
}
void radPanel1_Scroll(object sender, ScrollEventArgs e)
{
this.radPanel1.Invalidate();
}
}
}

Просмотреть файл

@ -0,0 +1,164 @@
namespace ResizingPanelsDoubleBuffer
{
partial class ControlsWithDoubleBuffer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
this.customGroupBox2 = new CustomGroupBox();
this.customGroupBox1 = new CustomGroupBox();
this.customPanel1 = new CustomPanel();
this.customGroupBox4 = new CustomGroupBox();
this.customGroupBox3 = new CustomGroupBox();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
this.radPanel1.SuspendLayout();
this.customPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
this.SuspendLayout();
//
// radPanel1
//
this.radPanel1.AutoScroll = true;
this.radPanel1.Controls.Add(this.customGroupBox2);
this.radPanel1.Controls.Add(this.customGroupBox1);
this.radPanel1.Location = new System.Drawing.Point(12, 34);
this.radPanel1.Name = "radPanel1";
this.radPanel1.Size = new System.Drawing.Size(390, 390);
this.radPanel1.TabIndex = 0;
this.radPanel1.ThemeName = "ControlDefault";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.Blue;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).GradientPercentage = 0.2101597F;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).GradientPercentage2 = 0.2323962F;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(1))).Width = 0F;
//
// groupBox2
//
this.customGroupBox2.BackColor = System.Drawing.Color.Transparent;
this.customGroupBox2.Location = new System.Drawing.Point(150, 250);
this.customGroupBox2.Name = "customGroupBox2";
this.customGroupBox2.Size = new System.Drawing.Size(350, 250);
this.customGroupBox2.TabIndex = 1;
this.customGroupBox2.TabStop = false;
this.customGroupBox2.Text = "customGroupBox2";
//
// groupBox1
//
this.customGroupBox1.BackColor = System.Drawing.Color.Transparent;
this.customGroupBox1.Location = new System.Drawing.Point(150, 50);
this.customGroupBox1.Name = "customGroupBox1";
this.customGroupBox1.Size = new System.Drawing.Size(350, 150);
this.customGroupBox1.TabIndex = 0;
this.customGroupBox1.TabStop = false;
this.customGroupBox1.Text = "customGroupBox1";
//
// panel1
//
this.customPanel1.AutoScroll = true;
this.customPanel1.BackColor = System.Drawing.Color.Transparent;
this.customPanel1.Controls.Add(this.customGroupBox4);
this.customPanel1.Controls.Add(this.customGroupBox3);
this.customPanel1.Location = new System.Drawing.Point(408, 34);
this.customPanel1.Name = "customPanel1";
this.customPanel1.Size = new System.Drawing.Size(390, 390);
this.customPanel1.TabIndex = 1;
//
// groupBox4
//
this.customGroupBox4.BackColor = System.Drawing.Color.Transparent;
this.customGroupBox4.Location = new System.Drawing.Point(150, 50);
this.customGroupBox4.Name = "customGroupBox4";
this.customGroupBox4.Size = new System.Drawing.Size(350, 150);
this.customGroupBox4.TabIndex = 1;
this.customGroupBox4.TabStop = false;
this.customGroupBox4.Text = "customGroupBox4";
//
// groupBox3
//
this.customGroupBox3.BackColor = System.Drawing.Color.Transparent;
this.customGroupBox3.Location = new System.Drawing.Point(150, 250);
this.customGroupBox3.Name = "customGroupBox3";
this.customGroupBox3.Size = new System.Drawing.Size(350, 250);
this.customGroupBox3.TabIndex = 0;
this.customGroupBox3.TabStop = false;
this.customGroupBox3.Text = "customGroupBox3";
//
// radLabel1
//
this.radLabel1.Location = new System.Drawing.Point(12, 12);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(54, 14);
this.radLabel1.TabIndex = 2;
this.radLabel1.Text = "RadPanel";
//
// radLabel2
//
this.radLabel2.Location = new System.Drawing.Point(408, 12);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(72, 14);
this.radLabel2.TabIndex = 3;
this.radLabel2.Text = "CustomPanel";
//
// ControlsWithDoubleBuffer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(810, 438);
this.Controls.Add(this.radLabel2);
this.Controls.Add(this.radLabel1);
this.Controls.Add(this.customPanel1);
this.Controls.Add(this.radPanel1);
this.Name = "ControlsWithDoubleBuffer";
this.Text = "ControlsWithDoubleBuffer: Scroll!";
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
this.radPanel1.ResumeLayout(false);
this.customPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Telerik.WinControls.UI.RadPanel radPanel1;
private CustomGroupBox customGroupBox1;
private CustomGroupBox customGroupBox2;
private CustomPanel customPanel1;
private CustomGroupBox customGroupBox4;
private CustomGroupBox customGroupBox3;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadLabel radLabel2;
}
}

Просмотреть файл

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,44 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Telerik.WinControls.Primitives;
using System.Drawing.Drawing2D;
namespace ResizingPanelsDoubleBuffer
{
public partial class ControlsWithoutDoubleBuffer : Form
{
public ControlsWithoutDoubleBuffer()
{
InitializeComponent();
this.radPanel1.Scroll += new ScrollEventHandler(radPanel1_Scroll);
this.panel1.Scroll += new ScrollEventHandler(panel1_Scroll);
}
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
Brush linearGradientBrush = new LinearGradientBrush(
new Rectangle(408, 34, this.panel1.Width, this.panel1.Height), Color.White, Color.Blue, 90);
g.FillRectangle(linearGradientBrush, new Rectangle(408, 34, this.panel1.Width, this.panel1.Height));
linearGradientBrush.Dispose();
}
void panel1_Scroll(object sender, ScrollEventArgs e)
{
this.panel1.Invalidate();
}
void radPanel1_Scroll(object sender, ScrollEventArgs e)
{
this.radPanel1.Invalidate();
}
}
}

Просмотреть файл

@ -0,0 +1,164 @@
namespace ResizingPanelsDoubleBuffer
{
partial class ControlsWithoutDoubleBuffer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.radPanel1 = new Telerik.WinControls.UI.RadPanel();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.panel1 = new System.Windows.Forms.Panel();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).BeginInit();
this.radPanel1.SuspendLayout();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
this.SuspendLayout();
//
// radPanel1
//
this.radPanel1.AutoScroll = true;
this.radPanel1.Controls.Add(this.groupBox2);
this.radPanel1.Controls.Add(this.groupBox1);
this.radPanel1.Location = new System.Drawing.Point(12, 34);
this.radPanel1.Name = "radPanel1";
this.radPanel1.Size = new System.Drawing.Size(390, 390);
this.radPanel1.TabIndex = 0;
this.radPanel1.ThemeName = "ControlDefault";
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor2 = System.Drawing.Color.Blue;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor3 = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor4 = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).GradientPercentage = 0.2101597F;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).GradientPercentage2 = 0.2323962F;
((Telerik.WinControls.Primitives.FillPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(0))).BackColor = System.Drawing.Color.White;
((Telerik.WinControls.Primitives.BorderPrimitive)(this.radPanel1.GetChildAt(0).GetChildAt(1))).Width = 0F;
//
// groupBox2
//
this.groupBox2.BackColor = System.Drawing.Color.Transparent;
this.groupBox2.Location = new System.Drawing.Point(150, 250);
this.groupBox2.Name = "groupBox2";
this.groupBox2.Size = new System.Drawing.Size(350, 250);
this.groupBox2.TabIndex = 1;
this.groupBox2.TabStop = false;
this.groupBox2.Text = "groupBox2";
//
// groupBox1
//
this.groupBox1.BackColor = System.Drawing.Color.Transparent;
this.groupBox1.Location = new System.Drawing.Point(150, 50);
this.groupBox1.Name = "groupBox1";
this.groupBox1.Size = new System.Drawing.Size(350, 150);
this.groupBox1.TabIndex = 0;
this.groupBox1.TabStop = false;
this.groupBox1.Text = "groupBox1";
//
// panel1
//
this.panel1.AutoScroll = true;
this.panel1.BackColor = System.Drawing.Color.Transparent;
this.panel1.Controls.Add(this.groupBox4);
this.panel1.Controls.Add(this.groupBox3);
this.panel1.Location = new System.Drawing.Point(408, 34);
this.panel1.Name = "panel1";
this.panel1.Size = new System.Drawing.Size(390, 390);
this.panel1.TabIndex = 1;
//
// groupBox4
//
this.groupBox4.BackColor = System.Drawing.Color.Transparent;
this.groupBox4.Location = new System.Drawing.Point(150, 50);
this.groupBox4.Name = "groupBox4";
this.groupBox4.Size = new System.Drawing.Size(350, 150);
this.groupBox4.TabIndex = 1;
this.groupBox4.TabStop = false;
this.groupBox4.Text = "groupBox4";
//
// groupBox3
//
this.groupBox3.BackColor = System.Drawing.Color.Transparent;
this.groupBox3.Location = new System.Drawing.Point(150, 250);
this.groupBox3.Name = "groupBox3";
this.groupBox3.Size = new System.Drawing.Size(350, 250);
this.groupBox3.TabIndex = 0;
this.groupBox3.TabStop = false;
this.groupBox3.Text = "groupBox3";
//
// radLabel1
//
this.radLabel1.Location = new System.Drawing.Point(12, 12);
this.radLabel1.Name = "radLabel1";
this.radLabel1.Size = new System.Drawing.Size(54, 14);
this.radLabel1.TabIndex = 2;
this.radLabel1.Text = "RadPanel";
//
// radLabel2
//
this.radLabel2.Location = new System.Drawing.Point(408, 12);
this.radLabel2.Name = "radLabel2";
this.radLabel2.Size = new System.Drawing.Size(33, 14);
this.radLabel2.TabIndex = 3;
this.radLabel2.Text = "Panel";
//
// ControlsWithoutDoubleBuffer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(810, 438);
this.Controls.Add(this.radLabel2);
this.Controls.Add(this.radLabel1);
this.Controls.Add(this.panel1);
this.Controls.Add(this.radPanel1);
this.Name = "ControlsWithoutDoubleBuffer";
this.Text = "ControlsWithoutDoubleBuffer: Scroll!";
((System.ComponentModel.ISupportInitialize)(this.radPanel1)).EndInit();
this.radPanel1.ResumeLayout(false);
this.panel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Telerik.WinControls.UI.RadPanel radPanel1;
private System.Windows.Forms.GroupBox groupBox1;
private System.Windows.Forms.GroupBox groupBox2;
private System.Windows.Forms.Panel panel1;
private System.Windows.Forms.GroupBox groupBox4;
private System.Windows.Forms.GroupBox groupBox3;
private Telerik.WinControls.UI.RadLabel radLabel1;
private Telerik.WinControls.UI.RadLabel radLabel2;
}
}

Просмотреть файл

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ResizingPanelsDoubleBuffer
{
public class CustomGroupBox : GroupBox
{
public CustomGroupBox()
{
this.DoubleBuffered = true;
}
}
}

Просмотреть файл

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ResizingPanelsDoubleBuffer
{
public class CustomPanel : Panel
{
public CustomPanel()
{
this.DoubleBuffered = true;
}
}
}

Просмотреть файл

@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace ResizingPanelsDoubleBuffer
{
public class CustomTableLayoutPanel : TableLayoutPanel
{
public CustomTableLayoutPanel()
{
this.DoubleBuffered = true;
}
}
}

Просмотреть файл

@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace ResizingPanelsDoubleBuffer
{
public partial class MainForm : Form
{
public MainForm()
{
InitializeComponent();
}
private void radButton1_Click(object sender, EventArgs e)
{
PanelsWithDoubleBuffer panelsDoubleBuff = new PanelsWithDoubleBuffer();
panelsDoubleBuff.Show();
}
private void radButton2_Click(object sender, EventArgs e)
{
PanelsWithoutDoubleBuffer panelsNotDoubleBuff = new PanelsWithoutDoubleBuffer();
panelsNotDoubleBuff.Show();
}
private void radButton3_Click(object sender, EventArgs e)
{
ControlsWithDoubleBuffer controlsDoubleBuff = new ControlsWithDoubleBuffer();
controlsDoubleBuff.Show();
}
private void radButton4_Click(object sender, EventArgs e)
{
ControlsWithoutDoubleBuffer controlsNotDoubleBuff = new ControlsWithoutDoubleBuffer();
controlsNotDoubleBuff.Show();
}
}
}

Просмотреть файл

@ -0,0 +1,112 @@
namespace ResizingPanelsDoubleBuffer
{
partial class MainForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.radButton1 = new Telerik.WinControls.UI.RadButton();
this.radButton2 = new Telerik.WinControls.UI.RadButton();
this.radButton3 = new Telerik.WinControls.UI.RadButton();
this.radButton4 = new Telerik.WinControls.UI.RadButton();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).BeginInit();
this.SuspendLayout();
//
// radButton1
//
this.radButton1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radButton1.Location = new System.Drawing.Point(13, 13);
this.radButton1.Name = "radButton1";
this.radButton1.Size = new System.Drawing.Size(218, 23);
this.radButton1.TabIndex = 0;
this.radButton1.Text = "Panels with DoubleBuffer (resize)";
this.radButton1.Click += new System.EventHandler(this.radButton1_Click);
//
// radButton2
//
this.radButton2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radButton2.Location = new System.Drawing.Point(13, 43);
this.radButton2.Name = "radButton2";
this.radButton2.Size = new System.Drawing.Size(218, 23);
this.radButton2.TabIndex = 1;
this.radButton2.Text = "Panels without DoubleBuffer (resize)";
this.radButton2.Click += new System.EventHandler(this.radButton2_Click);
//
// radButton3
//
this.radButton3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radButton3.Location = new System.Drawing.Point(13, 73);
this.radButton3.Name = "radButton3";
this.radButton3.Size = new System.Drawing.Size(218, 23);
this.radButton3.TabIndex = 2;
this.radButton3.Text = "Controls with DoubleBuffer (scroll)";
this.radButton3.Click += new System.EventHandler(this.radButton3_Click);
//
// radButton4
//
this.radButton4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.radButton4.Location = new System.Drawing.Point(13, 103);
this.radButton4.Name = "radButton4";
this.radButton4.Size = new System.Drawing.Size(218, 23);
this.radButton4.TabIndex = 3;
this.radButton4.Text = "Controls without DoubleBuffer (scroll)";
this.radButton4.Click += new System.EventHandler(this.radButton4_Click);
//
// MainForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(243, 133);
this.Controls.Add(this.radButton4);
this.Controls.Add(this.radButton3);
this.Controls.Add(this.radButton2);
this.Controls.Add(this.radButton1);
this.Name = "MainForm";
this.Text = "MainForm";
((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private Telerik.WinControls.UI.RadButton radButton1;
private Telerik.WinControls.UI.RadButton radButton2;
private Telerik.WinControls.UI.RadButton radButton3;
private Telerik.WinControls.UI.RadButton radButton4;
}
}

Просмотреть файл

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace ResizingPanelsDoubleBuffer
{
public partial class PanelsWithDoubleBuffer : Form
{
public PanelsWithDoubleBuffer()
{
InitializeComponent();
this.customTableLayoutPanel1.BackColor = Color.Transparent;
}
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
Brush linearGradientBrush = new LinearGradientBrush(
new Rectangle(0, 0, this.customTableLayoutPanel1.Width, this.customTableLayoutPanel1.Height), Color.White, Color.Blue, 90);
g.FillRectangle(linearGradientBrush, new Rectangle(0, 0, this.customTableLayoutPanel1.Width, this.customTableLayoutPanel1.Height));
linearGradientBrush.Dispose();
}
}
}

Просмотреть файл

@ -0,0 +1,120 @@
namespace ResizingPanelsDoubleBuffer
{
partial class PanelsWithDoubleBuffer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.customTableLayoutPanel1 = new CustomTableLayoutPanel();
this.radButton1 = new Telerik.WinControls.UI.RadButton();
this.radButton2 = new Telerik.WinControls.UI.RadButton();
this.radButton3 = new Telerik.WinControls.UI.RadButton();
this.radButton4 = new Telerik.WinControls.UI.RadButton();
this.customTableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).BeginInit();
this.SuspendLayout();
//
// customTableLayoutPanel1
//
this.customTableLayoutPanel1.ColumnCount = 2;
this.customTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.customTableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.customTableLayoutPanel1.Controls.Add(this.radButton1, 0, 0);
this.customTableLayoutPanel1.Controls.Add(this.radButton2, 1, 1);
this.customTableLayoutPanel1.Controls.Add(this.radButton3, 0, 1);
this.customTableLayoutPanel1.Controls.Add(this.radButton4, 1, 0);
this.customTableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.customTableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.customTableLayoutPanel1.Name = "customTableLayoutPanel1";
this.customTableLayoutPanel1.RowCount = 2;
this.customTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.customTableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.customTableLayoutPanel1.Size = new System.Drawing.Size(690, 371);
this.customTableLayoutPanel1.TabIndex = 0;
//
// radButton1
//
this.radButton1.Location = new System.Drawing.Point(3, 3);
this.radButton1.Name = "radButton1";
this.radButton1.Size = new System.Drawing.Size(75, 23);
this.radButton1.TabIndex = 0;
this.radButton1.Text = "radButton1";
//
// radButton2
//
this.radButton2.Location = new System.Drawing.Point(348, 188);
this.radButton2.Name = "radButton2";
this.radButton2.Size = new System.Drawing.Size(75, 23);
this.radButton2.TabIndex = 1;
this.radButton2.Text = "radButton2";
//
// radButton3
//
this.radButton3.Location = new System.Drawing.Point(3, 188);
this.radButton3.Name = "radButton3";
this.radButton3.Size = new System.Drawing.Size(75, 23);
this.radButton3.TabIndex = 2;
this.radButton3.Text = "radButton3";
//
// radButton4
//
this.radButton4.Location = new System.Drawing.Point(348, 3);
this.radButton4.Name = "radButton4";
this.radButton4.Size = new System.Drawing.Size(75, 23);
this.radButton4.TabIndex = 3;
this.radButton4.Text = "radButton4";
//
// PanelsWithDoubleBuffer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(690, 371);
this.Controls.Add(this.customTableLayoutPanel1);
this.Name = "PanelsWithDoubleBuffer";
this.Text = "PanelsWithDoubleBuffer: ResizeMe!";
this.customTableLayoutPanel1.ResumeLayout(false);
this.customTableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).EndInit();
this.ResumeLayout(false);
}
#endregion
private CustomTableLayoutPanel customTableLayoutPanel1;
private Telerik.WinControls.UI.RadButton radButton1;
private Telerik.WinControls.UI.RadButton radButton2;
private Telerik.WinControls.UI.RadButton radButton3;
private Telerik.WinControls.UI.RadButton radButton4;
}
}

Просмотреть файл

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Drawing.Drawing2D;
namespace ResizingPanelsDoubleBuffer
{
public partial class PanelsWithoutDoubleBuffer : Form
{
public PanelsWithoutDoubleBuffer()
{
InitializeComponent();
this.tableLayoutPanel1.BackColor = Color.Transparent;
}
protected override void OnPaint(PaintEventArgs e)
{
Graphics g = e.Graphics;
Brush linearGradientBrush = new LinearGradientBrush(
new Rectangle(0, 0, this.tableLayoutPanel1.Width, this.tableLayoutPanel1.Height), Color.White, Color.Blue, 90);
g.FillRectangle(linearGradientBrush, new Rectangle(0, 0, this.tableLayoutPanel1.Width, this.tableLayoutPanel1.Height));
linearGradientBrush.Dispose();
}
}
}

Просмотреть файл

@ -0,0 +1,119 @@
namespace ResizingPanelsDoubleBuffer
{
partial class PanelsWithoutDoubleBuffer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.radButton1 = new Telerik.WinControls.UI.RadButton();
this.radButton2 = new Telerik.WinControls.UI.RadButton();
this.radButton3 = new Telerik.WinControls.UI.RadButton();
this.radButton4 = new Telerik.WinControls.UI.RadButton();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).BeginInit();
this.SuspendLayout();
//
// tableLayoutPanel1
//
this.tableLayoutPanel1.ColumnCount = 2;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Controls.Add(this.radButton1, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.radButton2, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.radButton3, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.radButton4, 1, 0);
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(690, 371);
this.tableLayoutPanel1.TabIndex = 0;
//
// radButton1
//
this.radButton1.Location = new System.Drawing.Point(3, 3);
this.radButton1.Name = "radButton1";
this.radButton1.Size = new System.Drawing.Size(75, 23);
this.radButton1.TabIndex = 0;
this.radButton1.Text = "radButton1";
//
// radButton2
//
this.radButton2.Location = new System.Drawing.Point(348, 188);
this.radButton2.Name = "radButton2";
this.radButton2.Size = new System.Drawing.Size(75, 23);
this.radButton2.TabIndex = 1;
this.radButton2.Text = "radButton2";
//
// radButton3
//
this.radButton3.Location = new System.Drawing.Point(3, 188);
this.radButton3.Name = "radButton3";
this.radButton3.Size = new System.Drawing.Size(75, 23);
this.radButton3.TabIndex = 2;
this.radButton3.Text = "radButton3";
//
// radButton4
//
this.radButton4.Location = new System.Drawing.Point(348, 3);
this.radButton4.Name = "radButton4";
this.radButton4.Size = new System.Drawing.Size(75, 23);
this.radButton4.TabIndex = 3;
this.radButton4.Text = "radButton4";
//
// PanelsWithoutDoubleBuffer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(690, 371);
this.Controls.Add(this.tableLayoutPanel1);
this.Name = "PanelsWithoutDoubleBuffer";
this.Text = "PanelsWithoutDoubleBuffer: ResizeMe!";
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.radButton1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.radButton4)).EndInit();
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private Telerik.WinControls.UI.RadButton radButton1;
private Telerik.WinControls.UI.RadButton radButton2;
private Telerik.WinControls.UI.RadButton radButton3;
private Telerik.WinControls.UI.RadButton radButton4;
}
}

Просмотреть файл

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Windows.Forms;
namespace ResizingPanelsDoubleBuffer
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new MainForm());
}
}
}

Просмотреть файл

@ -0,0 +1,33 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("ResizingPanelsDoubleBuffer")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Telerik")]
[assembly: AssemblyProduct("ResizingPanelsDoubleBuffer")]
[assembly: AssemblyCopyright("Copyright © Telerik 2008")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("3cdf3075-068c-410e-af15-09e4d4a4c5f9")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]

Просмотреть файл

@ -0,0 +1,71 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ResizingPanelsDoubleBuffer.Properties
{
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "2.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources
{
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources()
{
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager
{
get
{
if ((resourceMan == null))
{
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("ResizingPanelsDoubleBuffer.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture
{
get
{
return resourceCulture;
}
set
{
resourceCulture = value;
}
}
}
}

Просмотреть файл

@ -0,0 +1,117 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -0,0 +1,30 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.3053
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace ResizingPanelsDoubleBuffer.Properties
{
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "8.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
public static Settings Default
{
get
{
return defaultInstance;
}
}
}
}

Просмотреть файл

@ -0,0 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
<Profiles>
<Profile Name="(Default)" />
</Profiles>
<Settings />
</SettingsFile>

Просмотреть файл

@ -0,0 +1,131 @@
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.50727</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{DC749145-4CED-4BC3-8CBA-412CED374BC6}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ResizingPanelsDoubleBuffer</RootNamespace>
<AssemblyName>ResizingPanelsDoubleBuffer</AssemblyName>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Deployment" />
<Reference Include="System.Design" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Telerik.WinControls, Version=8.1.0.0, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
<Reference Include="Telerik.WinControls.UI, Version=8.1.0.0, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
<Reference Include="TelerikCommon, Version=8.1.0.0, Culture=neutral, PublicKeyToken=5bb2a467cbec794e" />
</ItemGroup>
<ItemGroup>
<Compile Include="ControlsWithDoubleBuffer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ControlsWithDoubleBuffer.designer.cs">
<DependentUpon>ControlsWithDoubleBuffer.cs</DependentUpon>
</Compile>
<Compile Include="ControlsWithoutDoubleBuffer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="ControlsWithoutDoubleBuffer.designer.cs">
<DependentUpon>ControlsWithoutDoubleBuffer.cs</DependentUpon>
</Compile>
<Compile Include="CustomGroupBox.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CustomPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="CustomTableLayoutPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="MainForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="MainForm.designer.cs">
<DependentUpon>MainForm.cs</DependentUpon>
</Compile>
<Compile Include="PanelsWithDoubleBuffer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PanelsWithDoubleBuffer.designer.cs">
<DependentUpon>PanelsWithDoubleBuffer.cs</DependentUpon>
</Compile>
<Compile Include="PanelsWithoutDoubleBuffer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="PanelsWithoutDoubleBuffer.designer.cs">
<DependentUpon>PanelsWithoutDoubleBuffer.cs</DependentUpon>
</Compile>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<EmbeddedResource Include="ControlsWithDoubleBuffer.resx">
<DependentUpon>ControlsWithDoubleBuffer.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="ControlsWithoutDoubleBuffer.resx">
<DependentUpon>ControlsWithoutDoubleBuffer.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="MainForm.resx">
<DependentUpon>MainForm.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="PanelsWithDoubleBuffer.resx">
<DependentUpon>PanelsWithDoubleBuffer.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="PanelsWithoutDoubleBuffer.resx">
<DependentUpon>PanelsWithoutDoubleBuffer.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>