Constructor Execution Prioritization

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vshu131
    New Member
    • May 2014
    • 1

    Constructor Execution Prioritization

    Code:
    public FrmMain()
    {
    InitializeComponent();
    //Some functionality 
    }
    
    public FrmMain(string Account) : this ()
    {
    
    //this code should execute first and then the code in FrmMain().
    }
    Is this possible??

    Please help.
    Last edited by Rabbit; May 16 '14, 04:02 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
Working...