예제 #1
0
    public bool SetCurrentType(OperatingToolType t)
    {
        bool r = false;

        if (mapTools.ContainsKey(t))
        {
            currentTool = mapTools[t];
            r           = true;
        }
        return(r);
    }
예제 #2
0
 public void SetCurrentTool(OperatingToolType t)
 {
     optool.SetCurrentType(t);
 }