using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;
namespace WindowsFormsApplication31{public partial class Form1 : Form{public Form1(){InitializeComponent();}
private void A(object sender, EventArgs e){
int row, column;
for (row = 0; row <= 6; row++){for (column = 0; column <= 6; column++){if ((column == 1 && row != 0 && row != 6) || ((row == 0 || row == 6) && column > 1 && column < 5) || (row == 3 && column > 2 && column < 6) || (column == 5 && row != 0 && row != 2 && row != 6))textBox1.AppendText("*");elsetextBox1.AppendText(" ");}textBox1.AppendText(Environment.NewLine);}textBox1.AppendText(Environment.NewLine);}}}