상속: NiCommandBarControl, INiCommandBarTextBox
예제 #1
0
        public HResult CreateCommandBarTextBox(Guid id, int priority, out INiCommandBarTextBox textBox)
        {
            textBox = null;

            try
            {
                textBox = new NiCommandBarTextBox(id, priority);

                _objects[id] = textBox;

                return(HResult.OK);
            }
            catch (Exception ex)
            {
                return(ErrorUtil.GetHResult(ex));
            }
        }
예제 #2
0
        public HResult CreateCommandBarTextBox(Guid id, int priority, out INiCommandBarTextBox textBox)
        {
            textBox = null;

            try
            {
                textBox = new NiCommandBarTextBox(id, priority);

                _objects[id] = textBox;

                return HResult.OK;
            }
            catch (Exception ex)
            {
                return ErrorUtil.GetHResult(ex);
            }
        }