//************************************************************************************************************* private void OnLoad(object sender, EventArgs e) { ShellImageList.SetSmallImageList(LocalList); ShellImageList.SetSmallImageList(RemoteList); LocalList.Init(this); RemoteList.Init(this, remoteIO); QueueList.Init(this, remoteIO); localPinTip.SetToolTip(LocalPin, ""); remotePinTip.SetToolTip(RemotePin, ""); linkTip.SetToolTip(LinkPath, ""); }
//************************************************************************************************************* private void OnLoad(object sender, EventArgs e) { ShellImageList.SetSmallImageList(LocalList); ShellImageList.SetSmallImageList(RemoteList); statusMain.Items["statusMainLabel"].Text = ""; statusLocal.Items["statusLocalLabel"].Text = ""; statusRemote.Items["statusRemoteLabel"].Text = ""; LocalList.Init(this); RemoteList.Init(this, remoteIO); QueueList.Init(this, remoteIO); localPinTip.SetToolTip(LocalPin, ""); remotePinTip.SetToolTip(RemotePin, ""); linkTip.SetToolTip(LinkPath, ""); }
//******************************************************************************************** private void OnLoad(object sender, EventArgs e) { ShellImageList.SetSmallImageList(LocalList); ShellImageList.SetSmallImageList(RemoteList); /* * Don't remember why i did this * try * { * IPAddress[] addresses = Dns.GetHostAddresses(this.server.Host); * server.Host = addresses[0].ToString(); * } * catch { } */ LocalList.Init(this); RemoteList.Init(this, remoteIO); QueueList.Init(this, remoteIO); localPinTip.SetToolTip(LocalPin, ""); remotePinTip.SetToolTip(RemotePin, ""); linkTip.SetToolTip(LinkPath, ""); }
/// <summary> /// Once the handle is created we can assign the image list to the TreeView /// </summary> void BrowserTreeView_HandleCreated(object sender, EventArgs e) { ShellImageList.SetSmallImageList(this); }
void ExplorerTreeView_HandleCreated(object sender, EventArgs e) { imageList.SetSmallImageList(this); }
//*********************************************************************************************** public XwShellTree() { ShellImageList.SetSmallImageList(this); BeforeExpand += new TreeViewCancelEventHandler(this_BeforeExpand); AfterSelect += new TreeViewEventHandler(this_AfterSelect); }
/// <summary> /// Once the handle is created we can assign the image lists to the ListView /// </summary> void FileBrowserListView_HandleCreated(object sender, EventArgs e) { ShellImageList.SetSmallImageList(this); ShellImageList.SetLargeImageList(this); }