Ken Lin

DataBinding in second, third…TabPages

I have experience in few months ago. I was working on a WinForm application. I placed a TabControl with multiple TabPages. However, I found out that the dataBinding does not work on the second, third or later TabPage controls. After getting some error and test. I found out that the controls in these tabPage are not being loaded until it is "showed".

 

So I have some code sample to resolve this, you may try to place it under Page.Load event handling,


    foreach (TabPage tp in tabControl1.TabPages)
    {
        tp.Show();
    }
    this.tabControl1.SelectedTab = this.tabPage2;

 

// here I am going to make sure that the dataBinding is completed before select into other tabPages.
// You may try to loop this one by one tabPage if you have more tabPages
    this.tabPage2.BindingContextChanged += (object sender, EventArgs e) => {
        this.tabControl1.SelectedTab = this.tabPage1;
    };

    this.tabControl1.SelectedTab = this.tabPage1;


Hope this article could help you a bit.

 

 

Microsoft Learning Download Center has moved to Cloud!

mocl

If you are MCT, you must know that the URL of the MOC Download Center is https://mocl.one.microsoft.com/cwdl/cwdl_home.asp.

Today, when I browse to this url and it shows an image and telling you that "Microsoft Learning Download Center has moved to Cloud! You are automatically being redirected, please click here to go the new website directly." And your webpage will be redirect to the new portal after few seconds.

So you'd better to update favorites in your Browser and point to the new URL now.
New URL is:
https://learningdownloadcenter.microsoft.com

Useful links to learn Windows 10 and VS2015

images images
I am sure that you all are new to Win10 and VS2015. You may be looking for learning resource. Here I listed some of the sample site for you and so you could get some learning on these 2 new products.

Opportunity URLs Remarks
Developer Tools Download https://www.visualstudio.com/ Download any Visual Studio skus, including VS 2015
Developer for Windows 10  -What’s New
Get Started
Design
Develop
Publish
https://dev.windows.com/en-us/getstarted/whats-new-windows-10/
https://dev.windows.com/en-us/getstarted/
https://dev.windows.com/en-us/design/
https://dev.windows.com/en-us/develop/
https://dev.windows.com/en-us/publish/
All the info developers may need to write apps
Windows 10 courses in MVA https://www.microsoftvirtualacademy.com/en-US/training-courses/getting-started-with-windows-10-for-it-professionals-10629/ Great site to get online courses on Windows 10
Channel https://channel9.msdn.com/windows/ Another great online resource for Windows 10 related videos
Windows 10 Jumpstart http://www.microsoftvirtualacademy.com/liveevents/preparing-your-enterprise-for-windows-10-as-a-service/ A live event on August 14th

Windows 10 is ready in MSDN Subscription

Win10.is.released

Win10.On.MSDN

As many of you might be waiting for this "Windows 10 ISO" for long time. A good news that it is now ready in MSDN Subscription. If you are MSDN subscriber, you are ready to download and install or update to Windows 10 now.

Visual Studio 2015 is released

VS2015.is.born

VS2015.is.born

As many of you might know that VS2015 is already released on 20th July 2015. If you are MSDN Subscriptor, you could download and install it now. For the Team Foundation Server 2015, you might have to wait for a little bit longer.

Watch the keynote on demand below to learn about the latest features and technologies. You can also watch the Visual Studio developer team create an end-to-end solution for an open-source project and see how they tackled problems along the way.

For more Visual Studio 2015 deep dive videos, please visit https://channel9.msdn.com/Series/ConnectOn-Demand

To download Visual Studio 2015, please visit https://www.visualstudio.com/downloads/download-visual-studio-vs

For more information about Visual Studio 2015, please visit https://www.visualstudio.com/vs-2015-product-editions