Click here to Skip to main content
15,895,557 members
Home / Discussions / C#
   

C#

 
GeneralRe: Upload and delete server´s videos from client with webservices (C#) Pin
Hugo E.12-Jul-09 6:58
Hugo E.12-Jul-09 6:58 
QuestionHow to add scroll Horigental scroll bar in the call of DataGridView in window .net Pin
Member 46590013-Jul-09 2:22
Member 46590013-Jul-09 2:22 
AnswerRe: How to add scroll Horigental scroll bar in the call of DataGridView in window .net Pin
Manas Bhardwaj3-Jul-09 5:18
professionalManas Bhardwaj3-Jul-09 5:18 
QuestionTaborder in toolbar? Pin
netogg3-Jul-09 2:16
netogg3-Jul-09 2:16 
AnswerRe: Taborder in toolbar? Pin
Henry Minute3-Jul-09 3:11
Henry Minute3-Jul-09 3:11 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 3:39
netogg3-Jul-09 3:39 
GeneralRe: Taborder in toolbar? Pin
Henry Minute3-Jul-09 3:46
Henry Minute3-Jul-09 3:46 
AnswerRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 5:23
professionalDaveyM693-Jul-09 5:23 
It seems the answer is to extend the ToolStripControlHost class as suggested here[^].

I've just tried it with your 'steps to reproduce' above and it worked fine. Code I used below.
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public class ToolStripUserControl1 : ToolStripControlHost
    {
        public ToolStripUserControl1() : base(new UserControl1()) { }

        public UserControl1 UserControl1Control
        {
            get
            {
                return Control as UserControl1;
            }
        }

    }
}
toolStrip1.Items.Add(new ToolStripUserControl1());

Hmm... It was adding it at the end so it appeared to work. Using Insert instead of Add to place it inbetween the buttons produces the same result as before Confused | :confused:

Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
Why are you using VB6? Do you hate yourself? (Christian Graus)

GeneralRe: Taborder in toolbar? [modified] Pin
netogg3-Jul-09 6:05
netogg3-Jul-09 6:05 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 6:23
professionalDaveyM693-Jul-09 6:23 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 6:40
netogg3-Jul-09 6:40 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 9:11
professionalDaveyM693-Jul-09 9:11 
GeneralRe: Taborder in toolbar? Pin
netogg3-Jul-09 12:10
netogg3-Jul-09 12:10 
GeneralRe: Taborder in toolbar? Pin
DaveyM693-Jul-09 20:02
professionalDaveyM693-Jul-09 20:02 
GeneralRe: Taborder in toolbar? Pin
netogg4-Jul-09 0:35
netogg4-Jul-09 0:35 
GeneralRe: Taborder in toolbar? Pin
DaveyM694-Jul-09 11:50
professionalDaveyM694-Jul-09 11:50 
GeneralRe: Taborder in toolbar? Pin
DaveyM696-Jul-09 23:14
professionalDaveyM696-Jul-09 23:14 
GeneralRe: Taborder in toolbar? Pin
netogg7-Jul-09 8:07
netogg7-Jul-09 8:07 
GeneralRe: Taborder in toolbar? Pin
netogg7-Jul-09 9:16
netogg7-Jul-09 9:16 
GeneralRe: Taborder in toolbar? CanSelect? Pin
netogg7-Jul-09 9:57
netogg7-Jul-09 9:57 
Questionmssql version problem Pin
leone3-Jul-09 1:51
leone3-Jul-09 1:51 
AnswerRe: mssql version problem Pin
Manas Bhardwaj3-Jul-09 2:07
professionalManas Bhardwaj3-Jul-09 2:07 
GeneralRe: mssql version problem Pin
leone3-Jul-09 5:58
leone3-Jul-09 5:58 
AnswerRe: mssql version problem Pin
K03063-Jul-09 2:21
K03063-Jul-09 2:21 
GeneralRe: mssql version problem Pin
leone3-Jul-09 6:08
leone3-Jul-09 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.