private void fromSqlToolStripMenuItem_Click(object sender, EventArgs e)
 {
     TrackingProfileStore profileStore = new TrackingProfileStore();
     string error;
     if (!profileStore.ValidateConnection(out error))
     {
         MessageBox.Show("Error establishing connection to SQL: " + error, "Error connecting to SQL");
         return;
     }
     Type workflowType;
     TrackingProfile profile;
     profileStore.LoadWorkflowAndProfile(out workflowType, out profile);
     if (workflowType != null && profile != null)
     {
         WorkflowType = workflowType;
         profileManager.TrackingProfile = profile;
         InitializeProfileDesigner(workflowType, profile);
     }
 }