|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace CodeAnalysisTools
{
public partial class Main : Form
{
public Main()
{
InitializeComponent();
}
private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
NotUsed notUsed = new NotUsed();
notUsed.ShowDialog(this);
}
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
FindDuplicates findDups = new FindDuplicates();
findDups.ShowDialog(this);
}
private void lnkCurcularDependency_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MessageBox.Show(this, "Got it coded in a prototype, but just not added to this tool collection", "Doah!", MessageBoxButtons.OK);
}
private void lnkNamespace_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MessageBox.Show(this, "Got it coded in a prototype, but just not added to this tool collection", "Doah!", MessageBoxButtons.OK);
}
private void lnkExtractClass_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
MessageBox.Show(this, "Still trying to figure out how to do this :-)", "Doah!", MessageBoxButtons.OK);
}
private void lnkThreadingAnalysis_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
{
//look for blocking IO...ports, files
//look for classes that have BeginX functions...and suggest Async Programming Model
//look for algorithms that spin on a loop, that could split array into chucks and operate on each chunk
MessageBox.Show(this, "Still trying to figure out how to do this :-)", "Doah!", MessageBoxButtons.OK);
}
private void Main_Load(object sender, EventArgs e)
{
//MessageBox.Show("prototype async file IO improvements!!!!!!!!!! maybe md5 hash 10,000 files");
///spin 10000 files and calc md5 hash on them
///test with threads = 1*proc count
///test with threads = 2*proc count
///test with WaitOne
///test with Sync read
///
///http://blogs.msdn.com/michen/archive/2006/04/01/566621.aspx
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I have been a professional developer since 1996. My experience comes from many different industries; Data Mining Software, Consulting, E-Commerce, Wholesale Operations, Clinical Software, Insurance, Energy.
I started programming in the military, trying to find better ways to analyze database data, eventually automating my entire job. Later, in college, I automated my way out of another job. This gave me the great idea to switch majors to the only thing that seemed natural…Programming!