public void SaveMsil(MetadataDeclaration writeILDefinition) { if (this.saveMsilFileDialog.ShowDialog(this) == DialogResult.OK) { SaveMsilParameter parameter = new SaveMsilParameter(); parameter.Declaration = writeILDefinition; parameter.FileName = this.saveMsilFileDialog.FileName; WaitForm waitForm = new WaitForm(this.SaveMsil, parameter); waitForm.ShowDialog(this); } }
public void SaveMsil( MetadataDeclaration writeILDefinition ) { if ( this.saveMsilFileDialog.ShowDialog( this ) == DialogResult.OK ) { SaveMsilParameter parameter = new SaveMsilParameter(); parameter.Declaration = writeILDefinition; parameter.FileName = this.saveMsilFileDialog.FileName; WaitForm waitForm = new WaitForm( this.SaveMsil, parameter ); waitForm.ShowDialog( this ); } }