private void listBox_DoubleClick(object sender, EventArgs e)
        {
            ListBox box = sender as ListBox;

            if (!(box.SelectedItem is ProjectDataBase))
            {
            }
            else if (box == listBoxSrc)
            {
                SourceEditorDialog form = new SourceEditorDialog(box.SelectedItem as SourceData);
                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    box.Items[box.SelectedIndex] = form.Source;
                }
            }
            else if (box == listBoxFlx)
            {
                FluxAnalysisEditorDialog form = new FluxAnalysisEditorDialog(box.SelectedItem as FluxAnalysisData);
                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    box.Items[box.SelectedIndex] = form.FluxAnalysis;
                }
            }
            else if (box == listBoxVis)
            {
                VisualizationOutputEditorDialog form = new VisualizationOutputEditorDialog(box.SelectedItem as VisualizationOutputData);
                if (form.ShowDialog(this) == DialogResult.OK)
                {
                    box.Items[box.SelectedIndex] = form.VisualizationOutput;
                }
            }
            else
            {
                return;
            }
        }
		private void listBox_DoubleClick(object sender, EventArgs e)
			{
			ListBox box = sender as ListBox;
			if( !( box.SelectedItem is ProjectDataBase ) ) { }
			else if( box == listBoxSrc )
				{
				SourceEditorDialog form = new SourceEditorDialog( box.SelectedItem as SourceData );
				if( form.ShowDialog( this ) == DialogResult.OK )
					box.Items[box.SelectedIndex] = form.Source;
				}
			else if( box == listBoxFlx )
				{
				FluxAnalysisEditorDialog form = new FluxAnalysisEditorDialog( box.SelectedItem as FluxAnalysisData );
				if( form.ShowDialog( this ) == DialogResult.OK )
					box.Items[box.SelectedIndex] = form.FluxAnalysis;
				}
			else if( box == listBoxVis )
				{
				VisualizationOutputEditorDialog form = new VisualizationOutputEditorDialog( box.SelectedItem as VisualizationOutputData );
				if( form.ShowDialog( this ) == DialogResult.OK )
					box.Items[box.SelectedIndex] = form.VisualizationOutput;
				}
			else return;
			}