示例#1
0
        private Tuple <int, int> GetMatrixDimensions(Control sender)
        {
            var          location = sender.PointToScreen(new Point(sender.Width, 0));
            frmDimension frm      = new frmDimension(true, location);

            frm.ShowDialog(this);

            return(frm.MatrixOrder);
        }
示例#2
0
        private int?GetVectorDimensions(Control sender)
        {
            var          location = sender.PointToScreen(new Point(sender.Width, 0));
            frmDimension frm      = new frmDimension(false, location);

            frm.ShowDialog(this);

            return(frm.Dimensions);
        }