Exemple #1
0
        public static MSGF_Cell copyMSGF_Cell(MSGF_Cell c)
        {
            MSGF_Cell tmp_c = new MSGF_Cell
            {
                state          = c.state,
                elem           = c.elem,
                mouseEvent     = c.mouseEvent,
                sendMouseEvent = c.sendMouseEvent
            };

            return(tmp_c);
        }
Exemple #2
0
        public static bool isEqual_MSGF_Cell(MSGF_Cell c1, MSGF_Cell c2)
        {
            if (c1.state != c2.state)
            {
                return(false);
            }
            if (c1.sendMouseEvent != c2.sendMouseEvent)
            {
                return(false);
            }

            return(true);
        }