public FormReversalGauss(CParamsReversalGaussn P) { InitializeComponent(); this.Text = m_szTitle; m_p = P; m_initializing = true; MeanCntTextBox.Text = "" + P.meanCnt; StdCntTextBox.Text = "" + P.stdCnt; GaussProbTextBox.Text = "" + P.prob; GaussMeanTimeTextBox.Text = "" + P.meanTime; GaussStdTimeTextBox.Text = "" + P.stdTime; m_initializing = false; }
//-----------------------// // Class Methods //-----------------------// public CParamsReversalGaussn GetCopy() { CParamsReversalGaussn c = new CParamsReversalGaussn(); c.m_meanCnt = m_meanCnt; c.m_stdCnt = m_stdCnt; c.m_prob = m_prob; c.m_meanTime = m_meanTime; c.m_stdTime = m_stdTime; return c; }