Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27435

VS 2015 Want to show form when form load is complete

$
0
0
Hi there,

I have a form with Functions, to initialize it i placed it in form load event.

Code:

        Call MakeFormUnSizeable()
        Call SetRegionalDate()
        Call OpenGlobalTable()
        Call SetGridColumnOnFormLoad()  '' Format All Cells and Footer Panel to default decimal places
        Call SetGridColorsToTransparent()
        Call FindLastColumn()
        Call NormalMode()
        Call FillCombo()
        Call HideUnhideFields()


To call these functions it takes almost seconds, a jumbled form appears for 3 seconds and once all call's complete form appears properly. I also tried following code but this also creates problem when i parallel open more forms.

Code:


Public Sub  New()

        InitializeComponent()

        Call MakeFormUnSizeable()
        Call SetRegionalDate()
        Call OpenGlobalTable()
        Call SetGridColumnOnFormLoad()  '' Format All Cells and Footer Panel to default decimal places
        Call SetGridColorsToTransparent()
        Call FindLastColumn()
        Call NormalMode()
        Call FillCombo()
        Call HideUnhideFields()


End Sub


I don't want to use Public Sub New. Please provide me some help that forms only appears when it completes all initialization functions.

Thanks
Ladak

Viewing all articles
Browse latest Browse all 27435

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>