public MainForm() { InitializeComponent(); WorkingDialog wd = new WorkingDialog(); wd.Show(); listFiles.AfterLabelEdit += new LabelEditEventHandler(listFiles_AfterLabelEdit); listFiles.MouseDoubleClick += new MouseEventHandler(listFiles_MouseDoubleClick); listFiles.MouseClick += new MouseEventHandler(listFiles_MouseClick); textAddress.KeyUp += new KeyEventHandler(textAddress_OnKey); textAddress.GotFocus += new EventHandler(textAddress_GotFocus); InitLanguageFilesAndFillLanguageMenu();//fill language menu ChangeMenuAndToolbarStatus(); I18N.LoadLanguage(); FillList(); UpdateLanguage(); listFiles.SmallImageList = smallIcon; listFiles.LargeImageList = largeIcon; smallIcon.ColorDepth = ColorDepth.Depth32Bit; largeIcon.ColorDepth = ColorDepth.Depth32Bit; smallIcon.ImageSize = new Size(16, 16); largeIcon.ImageSize = new Size(48, 48); Log.CleanLog(); }