Exemple #1
0
        public Form1()
        {
            InitializeComponent();
            pipeServer              = new PipeServer();
            pipeServer.PipeMessage += new DelegateMessage(PipesMessageHandler);

            //dataGridView1.ColumnCount = 4;
            //dataGridView1.Columns[0].Name = "1";
            //dataGridView1.Columns[1].Name = "2";
            //dataGridView1.Columns[2].Name = "3";
            //dataGridView1.Columns[3].Name = "4";

            //dataGridView1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
        }
Exemple #2
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     //pipeServer.PipeMessage -= new DelegateMessage(PipesMessageHandler);
     pipeServer = null;
 }