returnValue() private method

private returnValue ( ) : int
return int
示例#1
0
        public static int GetValue(PCCPackage p, int index)
        {
            Nameselect prompt = new Nameselect();
            prompt.Init(p, index);

            return prompt.ShowDialog() == DialogResult.OK ? prompt.returnValue() : -1;
        }
示例#2
0
        public static int GetValue(PCCPackage p, int index)
        {
            Nameselect prompt = new Nameselect();

            prompt.Init(p, index);

            return(prompt.ShowDialog() == DialogResult.OK ? prompt.returnValue() : -1);
        }