private void btn_AddPipe_Click(object sender, EventArgs e) { EnterPipeInfo enterPipeInfo = new EnterPipeInfo(structure); enterPipeInfo.Parent = this; enterPipeInfo.ShowDialog(); }
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; }
private void btnAddPipe_Click_1(object sender, EventArgs e) { EnterPipeInfo addPipe = new EnterPipeInfo(structure2); addPipe.ShowDialog(); }