コード例 #1
0
        internal void StartLocateCommand(string unparsed = "")
        {
            LocateCommand1 command = new LocateCommand1();

            BCOM.CommandState commandState = Program.MSApp.CommandState;
            commandState.StartLocate(command);

            // Record the name that is saved in the Undo buffer and shown as the prompt.
            Program.MSApp.CommandState.CommandName = "Locate Command";
        }
コード例 #2
0
        public static void LocateCommand1Keyin(string unparsed)
        {
            LocateCommand1 tool = new LocateCommand1();

            tool.StartLocateCommand(unparsed);
        }