Member 13805445
using System;
using System.Drawing;
using System.Windows.Forms;
namespace testkhat
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Application.Exit();
}
public void Gosheha()
{
int a1 = 0;
int b1 = 0;
Graphics G4g = this.CreateGraphics();
Color myRgbColor70 = new Color();
Color myRgbColor80 = new Color();
Color myRgbColor90 = new Color();
myRgbColor70 = Color.FromArgb(63, 72, 204);
myRgbColor80 = Color.FromArgb(0, 162, 232);
myRgbColor90 = Color.FromArgb(153, 217, 234);
SolidBrush Brosh70 = new SolidBrush(myRgbColor70);
SolidBrush Brosh80 = new SolidBrush(myRgbColor80);
SolidBrush Brosh90 = new SolidBrush(myRgbColor90);
/////////////////////////////////////////////////////
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 1), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 2), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 3), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 4), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 5), (b1 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 1), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 2), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 3), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 4), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 5), (b1 + 1), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 1), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 2), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 3), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 4), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 5), (b1 + 2), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 1), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 2), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 3), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 4), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 5), (b1 + 3), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 1), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 2), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 3), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 4), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 5), (b1 + 4), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 0), (b1 + 5), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 1), (b1 + 5), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 2), (b1 + 5), 1, 1);
G4g.FillRectangle(Brosh90, (a1 + 3), (b1 + 5), 1, 1);
G4g.FillRectangle(Brosh80, (a1 + 4), (b1 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a1 + 5), (b1 + 5), 1, 1);
/////////////////////////////////////////////////////////
int a2 = this.Width - 6;
int b2 = 0;
G4g.FillRectangle(Brosh70, (a2 + 0), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 1), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 2), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 3), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 4), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 0), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 0), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 1), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 2), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 3), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 4), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 1), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 0), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 1), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 2), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 3), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 4), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 0), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 1), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 2), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 3), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 4), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 0), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 1), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 2), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 3), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 4), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 4), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 0), (b2 + 5), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 1), (b2 + 5), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 2), (b2 + 5), 1, 1);
G4g.FillRectangle(Brosh90, (a2 + 3), (b2 + 5), 1, 1);
G4g.FillRectangle(Brosh80, (a2 + 4), (b2 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a2 + 5), (b2 + 5), 1, 1);
/////////////////////////////////////////////////////////
int a3 = 0;
int b3 = this.Height - 6;
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 5), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 3), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 0), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 1), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 2), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 3), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 4), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a3 + 5), (b3 + 5), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 1), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 2), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 3), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 4), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 5), (b3 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 1), (b3 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 1), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 1), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 1), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 4), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 4), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a3 + 5), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 2), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 3), (b3 + 0), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 2), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 3), (b3 + 1), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 2), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 3), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 4), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 5), (b3 + 2), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 2), (b3 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 3), (b3 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 4), (b3 + 3), 1, 1);
G4g.FillRectangle(Brosh90, (a3 + 5), (b3 + 3), 1, 1);
//////////////////////////////////////////////////////
int a4 = this.Width - 6;
int b4 = this.Height - 6;
G4g.FillRectangle(Brosh70, (a4 + 0), (b4 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 4), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 0), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 1), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 2), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 3), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 4), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 5), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 0), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 1), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 2), 1, 1);
G4g.FillRectangle(Brosh70, (a4 + 5), (b4 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 1), (b4 + 0), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 4), (b4 + 0), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 0), (b4 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 1), (b4 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 4), (b4 + 1), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 4), (b4 + 2), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 4), (b4 + 3), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 0), (b4 + 4), 1, 1);
G4g.FillRectangle(Brosh80, (a4 + 1), (b4 + 4), 1, 1);
G4g.FillRectangle