public Form1(string[] args) { InitializeComponent(); this.Icon = Icon.FromHandle(Properties.Resources.graph_icon.GetHicon()); DrawGraph.CreateGraphics(display); DrawTool.Initialize(this, args); }