/// <summary> /// Infers the schema. /// </summary> private void InferSchema() { // Set user info toolStripStatusLabel.Text = Properties.Resources.WaitMessage; // Clear previous schema and errors textBoxSchema.Text = string.Empty; textBoxErrors.Text = string.Empty; // Create the Inference object Inference inference = new Inference(textBoxFile.Text); // Set the on complete listener inference.OnInferenceComplete += infererOutputDelegate; // Begin the inference process inference.Begin(); }