Exemple #1
0
        public static bool AskForHalfYeeCells(Form owner, ref UInt32 HalfYeeCells)
        {
            FormParam frm = new FormParam();

            frm.N = HalfYeeCells;
            frm.DisableLh();
            if (frm.ShowDialog(owner) == System.Windows.Forms.DialogResult.OK)
            {
                HalfYeeCells = frm.N;
                return(true);
            }
            return(false);
        }
Exemple #2
0
        public static bool AskForGeometry(Form owner, ref UInt32 HalfYeeCells, ref double HalfFFTrange)
        {
            FormParam frm = new FormParam();

            frm.N  = HalfYeeCells;
            frm.Lh = HalfFFTrange;
            if (frm.ShowDialog(owner) == System.Windows.Forms.DialogResult.OK)
            {
                HalfYeeCells = frm.N;
                HalfFFTrange = frm.Lh;
                return(true);
            }
            return(false);
        }