private void btn_AddPipe_Click(object sender, EventArgs e)
        {
            EnterPipeInfo enterPipeInfo = new EnterPipeInfo(structure);

            enterPipeInfo.Parent = this;
            enterPipeInfo.ShowDialog();
        }
Ejemplo n.º 2
0
        private void btnAddPipe_Click(object sender, EventArgs e)
        {
            EnterPipeInfo enterPipeInfo = new EnterPipeInfo(structure2);

            enterPipeInfo.ShowDialog();
            sketchArea2.Refresh();
        }
        private void btn_EditPipe_Click(object sender, EventArgs e)
        {
            PipeEnd       p             = (PipeEnd)lstbx_Pipes.SelectedItem;
            EnterPipeInfo enterPipeInfo = new EnterPipeInfo(structure, false, p);

            this.Hide();
            enterPipeInfo.Show();
            enterPipeInfo.Parent = this;
        }
Ejemplo n.º 4
0
        private void btnAddPipe_Click_1(object sender, EventArgs e)
        {
            EnterPipeInfo addPipe = new EnterPipeInfo(structure2);

            addPipe.ShowDialog();
        }