Example #1
0
		protected internal void AddTab (TabPage page)
		{
			if (Loaded) {
				page.OnPreLoad (EventArgs.Empty);
				page.OnLoad (EventArgs.Empty);
				page.OnLoadComplete (EventArgs.Empty);
			}
			page.SetParent (this);
			inner.AddTab (page);
		}
Example #2
0
		internal void InsertTab (int index, TabPage page)
		{
			if (Loaded) {
				page.OnPreLoad (EventArgs.Empty);
				page.OnLoad (EventArgs.Empty);
				page.OnLoadComplete (EventArgs.Empty);
			}
			page.SetParent (this);
			handler.InsertTab (index, page);
		}
Example #3
0
        internal void InsertTab(int index, TabPage page)
        {
            var load = SetParent(page);

            Handler.InsertTab(index, page);
            if (load)
            {
                page.OnLoadComplete(EventArgs.Empty);
            }
        }
Example #4
0
 internal void InsertTab(int index, TabPage page)
 {
     if (Loaded)
     {
         page.OnPreLoad(EventArgs.Empty);
         page.OnLoad(EventArgs.Empty);
         page.OnLoadComplete(EventArgs.Empty);
     }
     page.SetParent(this);
     handler.InsertTab(index, page);
 }
Example #5
0
		internal void InsertTab(int index, TabPage page)
		{
			var load = SetParent(page);
			Handler.InsertTab(index, page);
			if (load)
				page.OnLoadComplete(EventArgs.Empty);
		}