private void button_connect_with_segment_Click(object sender, EventArgs e)
 {
     ActiveDocument.ConnectSelectedSideToMarkedWithSegment();
 }