예제 #1
0
        private void BGo_Click(object sender, EventArgs e)
        {
            // objekt pro prenost parametru do druheho formulare
            LinkClass LinkParams = CreateLink();

            // spusteni procesu ve vlaknu background workera
            FrmBGProcess BGProcess = new FrmBGProcess();
            DialogResult DResult   = BGProcess.ShowDialog(this, LinkParams);
        }
예제 #2
0
 ////////////////////////////////////////////////////////////////////////////////////////////////////
 //
 public new DialogResult ShowDialog(IWin32Window owner, LinkClass LinkParams)
 {
     this.LinkParams = LinkParams;
     return(base.ShowDialog(owner));
 }