/// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmSelectAutoPartsZeroInventoryWindow_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            #region 获取PickAutoPartsFunc

            if (_viewParameters != null && _viewParameters.ContainsKey(PISViewParamKey.StocktakingBill.ToString()))
            {
                _stocktakingBill = _viewParameters[PISViewParamKey.StocktakingBill.ToString()] as StocktakingTaskManagerUIModel ??
                                   new StocktakingTaskManagerUIModel();
            }
            #endregion

            #endregion
        }
예제 #2
0
파일: FormFrame.cs 프로젝트: Jackjet/BIP
        /// <summary>
        /// 绑定上方功能菜单数据,从子系统开始绑定
        /// </summary>
        /// <param name="toolbar"></param>
        /// <param name="list"></param>
        private void BandMainMemu(UltraToolbarsManager toolbar, List <SysFunction> list)
        {
            if (toolbar.Tools.Count > 0)
            {
                toolbar.Toolbars[0].Tools.Clear();
                toolbar.Tools.Clear();
                //使菜单栏居右
                LabelTool labelTool = new LabelTool("blankTool");
                labelTool.SharedProps.Spring = true;
                toolbar.Tools.Add(labelTool);
                toolbar.Toolbars[0].Tools.AddTool("blankTool");

                //子系统
                List <SysFunction> subSystemList = list.FindAll(f => f.FunctionType.Equals("1012"));
                foreach (SysFunction subSystem in subSystemList)
                {
                    PopupMenuTool pmt = new PopupMenuTool(subSystem.FunctionId);
                    pmt.SharedProps.Caption = PadPopupMenuToolCaption(subSystem.FunctionName);
                    pmt.DropDownArrowStyle  = DropDownArrowStyle.None;
                    pmt.Tag = subSystem;
                    pmt.Settings.IconAreaAppearance.BackColor = Color.FromArgb(171, 206, 228);
                    //pmt.CustomizedDisplayStyle = ToolDisplayStyle.ImageAndText;
                    //pmt.CustomizedImage = Image.FromFile("./resource/image/mainMenu/directory.png");
                    toolbar.Tools.Add(pmt);
                    toolbar.Toolbars[0].Tools.AddTool(subSystem.FunctionId);
                    BandMainMenuSubNode(toolbar, pmt, list);
                }
            }
        }
예제 #3
0
        /// <summary>
        /// Restores a ToolbarManager using the provided byte-array.
        /// Prior to applying the settings the (shared) properties 'Caption' and 'ToolTip'
        /// of each element in the Tools-Collection
        /// saved  and restored after applying the settings from the byte-array.
        /// This avoids that strings from a different login-language are restored.
        /// No Exceptions are catched by this method.
        /// </summary>
        /// <param name="toolbarManager">UltraToolbarsManager</param>
        /// <param name="stream">Stream</param>
        /// <param name="mediator">The mediator.</param>
        public static void LoadToolbarManager(UltraToolbarsManager toolbarManager, Stream stream, CommandMediator mediator)
        {
            //First remember original (current language) strings
            Hashtable oCaptions = new Hashtable();

            for (int i = 0; i < toolbarManager.Tools.Count; i++)
            {
                ToolBase            oTool = toolbarManager.Tools[i];
                LocalizedProperties props = new LocalizedProperties(oTool);
                oCaptions.Add(oTool.Key, props);
            }

            //Now load the settings
            try {
                toolbarManager.LoadFromBinary(stream);
            }
            catch (Exception ex) {
                Trace.WriteLine("toolbarManager.LoadFrom...() failed: " + ex.Message);
                return;                 // use it as it was initialized on the original form
            }

            //The stream already has the captions stored, so overwrite them
            //with the current ones (could be different language)
            for (int i = 0; i < toolbarManager.Tools.Count; i++)
            {
                ToolBase oTool = toolbarManager.Tools[i];
                if (oCaptions.Contains(oTool.Key))
                {
                    LocalizedProperties props = (LocalizedProperties)oCaptions[oTool.Key];
                    props.Apply(oTool);
                }
                mediator.ReRegisterCommand(oTool as ICommand);
            }
        }
예제 #4
0
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmOrgQuery_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            if (_viewParameters != null)
            {
                if (_viewParameters.ContainsKey(ComViewParamKey.UserID.ToString()))
                {
                    txtWhere_User_ID.Text = Convert.ToString(_viewParameters[ComViewParamKey.UserID.ToString()]);
                }
            }
            #endregion
        }
 /// <summary>
 /// Saves the current state of a ToolbarManager (including images &amp; texts) to a (Xml) string.
 /// No exceptions are catched in this method
 /// </summary>
 public static string SaveControlStateToString(UltraToolbarsManager toolbarManager, bool saveUserCustomizations)
 {
     using (MemoryStream stream = SaveToolbarManager(toolbarManager, saveUserCustomizations, false)) {
         StreamReader r = new StreamReader(stream);
         return(r.ReadToEnd());
     }
 }
예제 #6
0
        /// <summary>
        /// Saves the current state of a ToolbarManager (including images &amp; texts) to a byte-array.
        /// No exceptions are catched in this method
        /// </summary>
        /// <param name="toolbarManager">UltraToolbarsManager</param>
        /// <param name="saveUserCustomizations">True, if user customizations should be included</param>
        public static MemoryStream SaveToolbarManager(UltraToolbarsManager toolbarManager, bool saveUserCustomizations)
        {
            MemoryStream stream = new MemoryStream();

            toolbarManager.SaveAsBinary(stream, saveUserCustomizations);

            stream.Seek(0, SeekOrigin.Begin);
            return(stream);
        }
예제 #7
0
        /// <summary>
        /// Saves the current state of a ToolbarManager (including images &amp; texts) to a (Xml) string.
        /// No exceptions are catched in this method
        /// </summary>
        public static string SaveControlStateToString(UltraToolbarsManager toolbarManager, bool saveUserCustomizations)
        {
            //using (MemoryStream stream = SaveToolbarManager(toolbarManager, saveUserCustomizations, false)) {
            //	StreamReader r = new StreamReader(stream);
            //	return r.ReadToEnd();
            //}

            return(Convert.ToBase64String(SaveControlStateToByte(toolbarManager, saveUserCustomizations)));
        }
예제 #8
0
        public static void Load(UltraToolbarsManager toolbar)
        {
            sy_HerramientasDataset data;

            data = businessrules.sy_Herramientas.GetList(ID_MAIN_MENU, Security.IdPerfil);
            LoadItems(new DataView(data.sy_Herramientas, "IsNull( IdHerramientaPadre, -1 ) = -1", "orden", DataViewRowState.OriginalRows), toolbar, null);

            data = businessrules.sy_Herramientas.GetList(ID_STANDAR_TOOLBAR, Security.IdPerfil);
            LoadItems(new DataView(data.sy_Herramientas, "IsNull( IdHerramientaPadre, -1 ) <> -1", "IdHerramientaPadre, orden", DataViewRowState.OriginalRows), toolbar);
        }
예제 #9
0
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmLogisticsBillQuery_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            if (_viewParameters != null)
            {
                #region 物流人员类型

                if (_viewParameters.ContainsKey(SDViewParamKey.DeliveryType.ToString()))
                {
                    _deliveryTypeList = _viewParameters[SDViewParamKey.DeliveryType.ToString()] as List <ComComboBoxDataSourceTC>;
                    if (_deliveryTypeList != null && _deliveryTypeList.Count > 0)
                    {
                        cbWhere_LB_SourceName.DisplayMember = SysConst.EN_TEXT;
                        cbWhere_LB_SourceName.ValueMember   = SysConst.EN_Code;
                        cbWhere_LB_SourceName.DataSource    = _deliveryTypeList;
                        cbWhere_LB_SourceName.DataBind();

                        cbWhere_LB_SourceName.Text  = _deliveryTypeList[0].Text;
                        cbWhere_LB_SourceName.Value = _deliveryTypeList[0].Code;

                        if (_deliveryTypeList.Count == 1)
                        {
                            cbWhere_LB_SourceName.Enabled = false;
                        }
                        else
                        {
                            cbWhere_LB_SourceName.Enabled = true;
                        }
                    }
                }

                #endregion
            }
            #endregion
        }
 /// <summary>
 /// 窗体加载事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void FrmAutoPartsArchiveQuery_Load(object sender, EventArgs e)
 {
     #region 固定
     //基类.工具栏(翻页)
     ToolBarPaging = toolBarManagerListTabPaging;
     //查询委托(基类控制翻页用)
     ExecuteQuery = QueryAction;
     //工具栏(翻页)单击事件
     toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
     //工具栏(翻页)[当前页]值改变事件
     toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
     //初始化【列表】Tab内控件
     InitializeListTabControls();
     #endregion
 }
        /// <summary>
        /// Restores a ToolbarManager using the provided byte-array.
        /// Prior to applying the settings the (shared) properties 'Caption' and 'ToolTip'
        /// of each element in the Tools-Collection
        /// saved  and restored after applying the settings from the byte-array.
        /// This avoids that strings from a different login-language are restored.
        /// No Exceptions are catched by this method.
        /// </summary>
        /// <param name="toolbarManager">UltraToolbarsManager</param>
        /// <param name="theSettings">string</param>
        /// <param name="mediator">The mediator.</param>
        public static void LoadControlStateFromString(UltraToolbarsManager toolbarManager, string theSettings, CommandMediator mediator)
        {
            if (string.IsNullOrEmpty(theSettings))
            {
                return;
            }

            using (Stream stream = new MemoryStream()) {
                StreamWriter writer = new StreamWriter(stream);
                writer.Write(theSettings);
                writer.Flush();
                stream.Seek(0, SeekOrigin.Begin);
                LoadToolbarManager(toolbarManager, stream, false, mediator);
            }
        }
        /// <summary>
        /// Restores a ToolbarManager using the provided byte-array.
        /// Prior to applying the settings the (shared) properties 'Caption' and 'ToolTip'
        /// of each element in the Tools-Collection
        /// saved  and restored after applying the settings from the byte-array.
        /// This avoids that strings from a different login-language are restored.
        /// No Exceptions are catched by this method.
        /// </summary>
        /// <param name="toolbarManager">UltraToolbarsManager</param>
        /// <param name="theSettings">byte[]</param>
        /// <param name="mediator">The mediator.</param>
        public static void LoadControlStateFromByte(UltraToolbarsManager toolbarManager, byte[] theSettings, CommandMediator mediator)
        {
            if (theSettings == null)
            {
                return;
            }
            if (theSettings.Length == 0)
            {
                return;
            }

            using (Stream stream = new MemoryStream(theSettings)) {
                LoadToolbarManager(toolbarManager, stream, true, mediator);
            }
        }
예제 #13
0
    public void Create(string listName_)
    {
      if (m_toolManager != null)
      {
        return;
      }

      ListName = listName_;
      AutoSize = true;

      m_toolManager = new UltraToolbarsManager();
      m_menu = new PopupMenuTool("blah");
      m_toolManager.Tools.Add(m_menu);
      this.PopupItem = m_menu;

      {
        var remove = new RemoveButtonTool(this);
        m_toolManager.Tools.Add(remove);
        m_menu.Tools.AddTool(remove.Key);
      }

      {
        var rename = new RenameButtonTool(this);
        m_toolManager.Tools.Add(rename);
        m_menu.Tools.AddTool(rename.Key);
      }

      {
        var addsets = new AddSetsButtonTool(this);
        m_toolManager.Tools.Add(addsets);
        m_menu.Tools.AddTool(addsets.Key);
      }


      m_toolManager.ToolClick += async (x, y) =>
      {
        var bbc = m_toolManager.Tools[y.Tool.Key] as BaseButtonClass;

        if (bbc != null)
        {
          var t = bbc.Action();
          if (t != null)
            await t;
        }
      };
    }
예제 #14
0
        private void ProcessRemoveControl(WorkItem workItem, Control control)
        {
            #region MdiTabWorkspace
            if (control is Form)
            {
                UltraMdiTabWorkspace mdiManager = MdiParentManager.GetTabbedMdiManager((Form)control) as UltraMdiTabWorkspace;

                if (mdiManager != null)
                {
                    this.RemoveItem(workItem, mdiManager);
                }
            }
            #endregion             //MdiTabWorkspace

            #region ToolbarsManagerWorkspace

            UltraToolbarsManagerWorkspace toolbarMgr = UltraToolbarsManager.FromContainer(control) as UltraToolbarsManagerWorkspace;

            if (toolbarMgr != null)
            {
                this.RemoveItem(workItem, toolbarMgr);
            }

            #endregion             //ToolbarsManagerWorkspace

            #region UltraDockWorkspace
            if (control is AutoHideControl)
            {
                // if there is an mdi tab workspace, register it using its name
                UltraDockWorkspace dockManager = ((AutoHideControl)control).Owner as UltraDockWorkspace;

                if (dockManager != null)
                {
                    this.RemoveItem(workItem, dockManager);

                    foreach (DockableControlPane pane in dockManager.ControlPanes)
                    {
                        if (null != pane.Control)
                        {
                            this.RemoveItem(workItem, pane.Control);
                        }
                    }
                }
            }
            #endregion             //UltraDockWorkspace
        }
예제 #15
0
 public static void SetToolBarAsReadOnly
 (
     UltraToolbarsManager tbmControl,
     string excludeToolItems = null)
 {
     foreach (ToolBase tool in tbmControl.Tools)
     {
         tool.SharedProps.Enabled = false;
         if (excludeToolItems == null)
         {
             continue;
         }
         if (excludeToolItems.Contains(tool.Key))
         {
             tool.SharedProps.Enabled = true;
         }
     }
 }
예제 #16
0
        /// <summary>初始化数据(InitializeCustomCode中调用该方法)</summary>
        /// <param name="csm1">接受从Epicor中传过来的CustomScriptManager对象</param>
        public void Initialize(Ice.Lib.Customization.CustomScriptManager csm1)
        {
            csm = csm1;
            //((Ice.Core.Session)(csm.GetGlobalInstance("oTrans")));//(Ice.Core.Session)(csm.GetGlobalInstance("oTrans"));//
            oTrans  = ((Erp.UI.App.POEntry.Transaction)(csm.GetGlobalInstance("oTrans")));
            session = (Ice.Core.Session)(oTrans.Session);
            edvUD01 = ((EpiDataView)(oTrans.EpiDataViews["POHeader"]));
            //oTrans.AdapterList[""];
            poAdapter           = new POAdapter(oTrans);
            baseToolbarsManager = ((UltraToolbarsManager)(csm.GetGlobalInstance("baseToolbarsManager")));
            standardTools       = baseToolbarsManager.Toolbars["Standard Tools"];
            TForm           = ((Erp.UI.App.POEntry.POEntryForm)(this.csm.GetGlobalInstance("POEntryForm")));
            epiBtNew        = GetControlByName <EpiButton>(TForm, "eb_sendPO");//获取UI界面的控件
            epiBtNew.Click += EpiBtNew_Click;

            ds_po       = oTrans.POData;
            dt_poheder  = ds_po.POHeader;
            dt_podetail = ds_po.PODetail;
        }
예제 #17
0
        /// <summary>
        /// Restores a ToolbarManager using the provided byte-array.
        /// Prior to applying the settings the (shared) properties 'Caption' and 'ToolTip'
        /// of each element in the Tools-Collection
        /// saved  and restored after applying the settings from the byte-array.
        /// This avoids that strings from a different login-language are restored.
        /// No Exceptions are catched by this method.
        /// </summary>
        /// <param name="toolbarManager">UltraToolbarsManager</param>
        /// <param name="theSettings">string</param>
        /// <param name="mediator">The mediator.</param>
        public static void LoadControlStateFromString(UltraToolbarsManager toolbarManager, string theSettings, CommandMediator mediator)
        {
            if (string.IsNullOrEmpty(theSettings))
            {
                return;
            }


            var bytes = Convert.FromBase64String(theSettings);

            LoadControlStateFromByte(toolbarManager, bytes, mediator);

            //using (Stream stream = new MemoryStream()) {
            //	StreamWriter writer = new StreamWriter(stream);
            //	writer.Write(theSettings);
            //	writer.Flush();
            //	stream.Seek(0, SeekOrigin.Begin);
            //	LoadToolbarManager(toolbarManager, stream, mediator);
            //}
        }
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmAutoFactoryOrgQuery_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            if (_viewParameters != null)
            {
                #region 汽修商户编码

                if (_viewParameters.ContainsKey(ComViewParamKey.AutoFactoryCode.ToString()))
                {
                    txtWhere_AutoFactoryCode.Text    = _viewParameters[ComViewParamKey.AutoFactoryCode.ToString()] as string;
                    txtWhere_AutoFactoryCode.Enabled = false;
                }
                #endregion

                #region 汽修商户名称

                if (_viewParameters.ContainsKey(ComViewParamKey.AutoFactoryName.ToString()))
                {
                    txtWhere_AutoFactoryName.Text    = _viewParameters[ComViewParamKey.AutoFactoryName.ToString()] as string;
                    txtWhere_AutoFactoryName.Enabled = false;
                }
                #endregion
            }
            #endregion
        }
예제 #19
0
파일: FormFrame.cs 프로젝트: Jackjet/BIP
        /// <summary>
        /// 绑定上方功能菜单子系统以下节点
        /// </summary>
        /// <param name="toolbar"></param>
        /// <param name="pmt"></param>
        /// <param name="list"></param>
        private void BandMainMenuSubNode(UltraToolbarsManager toolbar, PopupMenuTool pmt, List <SysFunction> list)
        {
            List <SysFunction> subList = list.FindAll(f => !string.IsNullOrEmpty(f.ParentId) && f.ParentId.Equals(pmt.Key));//根据上级节点获取子节点数据

            foreach (SysFunction subNode in subList)
            {
                if (subNode.FunctionType.Equals("1014"))
                {
                    ButtonTool bt = new ButtonTool(subNode.FunctionId);
                    bt.SharedProps.Caption = subNode.FunctionName;
                    bt.Tag = subNode;
                    if (!string.IsNullOrEmpty(subNode.Image))
                    {
                        bt.CustomizedDisplayStyle = ToolDisplayStyle.ImageAndText;
                        bt.CustomizedImage        = Image.FromFile("./resource/image/mainMenu/" + subNode.Image + ".png");
                    }

                    toolbar.Tools.Add(bt);
                    pmt.Tools.AddTool(subNode.FunctionId);
                }
                else
                {
                    PopupMenuTool subPmt = new PopupMenuTool(subNode.FunctionId);
                    subPmt.SharedProps.Caption = subNode.FunctionName;
                    subPmt.DropDownArrowStyle  = DropDownArrowStyle.None;
                    subPmt.Tag = subNode;
                    subPmt.Settings.IconAreaAppearance.BackColor = Color.FromArgb(171, 206, 228);
                    if (!string.IsNullOrEmpty(subNode.Image))
                    {
                        subPmt.CustomizedDisplayStyle = ToolDisplayStyle.ImageAndText;
                        subPmt.CustomizedImage        = Image.FromFile("./resource/image/mainMenu/" + subNode.Image + ".png");
                    }
                    toolbar.Tools.Add(subPmt);
                    pmt.Tools.AddTool(subNode.FunctionId);
                    BandMainMenuSubNode(toolbar, subPmt, list);
                }
            }
        }
예제 #20
0
        public static void ThemMoi(C1FlexGrid _flx, int trangthai, UltraToolbarsManager _ultratoolbar, int CotEdit)
        {
            string loi = "";

            try
            {
                loi = "";
                //AnHienDieuKhien(_ultratoolbar, trangthai);
                _flx.Rows.Add();
                _flx.SetUserData(_flx.Rows.Count - 1, 0, "");
                //bo danh dau
                for (int i = 1; i <= _flx.Rows.Count - 1; i++)
                {
                    //loi = _flx.GetUserData(i, 0).ToString();
                    if (string.IsNullOrEmpty(loi) == true)
                    {
                        _flx.Rows[i].Style = null;
                    }
                }
                int k = _flx.Rows.Count - 1;
                _flx.Row = k;
                _flx[_flx.Rows.Count - 1, 0] = _flx.Rows.Count - 1;
                _flx[k, _flx.Cols.Count - 1] = trangthai;
                for (int i = 1; i <= _flx.Cols.Count - 2; i++)
                {
                    _flx[_flx.Rows.Count - 1, i] = "";
                }
                _flx.AllowEditing = true;
                _flx.Rows[_flx.Rows.Count - 1].Selected = true;
                _flx.TopRow = _flx.Rows.Count - 1;
                _flx.StartEditing(_flx.Rows.Count - 1, CotEdit);
                //_flx.Cols[3].Selected = true;
                k = _flx.RowSel;
                int n = _flx.Rows.Count - 1;
                _flx.KeyActionEnter = KeyActionEnum.MoveAcross;
            }
            catch { }
        }
예제 #21
0
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmStockOutBillQuery_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            if (_viewParameters != null)
            {
                #region 审核状态
                if (_viewParameters.ContainsKey(ComViewParamKey.ApprovalStatus.ToString()))
                {
                    cbWhere_SOB_ApprovalStatusName.Text    = Convert.ToString(_viewParameters[ComViewParamKey.ApprovalStatus.ToString()]);
                    cbWhere_SOB_ApprovalStatusName.Enabled = false;
                }
                #endregion

                #region 来源类型
                if (_viewParameters.ContainsKey(ComViewParamKey.SourceType.ToString()))
                {
                    cbWhere_SOB_SourceTypeName.Text    = Convert.ToString(_viewParameters[ComViewParamKey.SourceType.ToString()]);
                    cbWhere_SOB_SourceTypeName.Enabled = false;
                }
                #endregion
            }
            #endregion
        }
예제 #22
0
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmOrgAndOrgAmountTransReport_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(动作)
            base.ToolBarActionAndNavigate = toolBarActionAndNavigate;
            //工具栏(翻页)
            base.ToolBarPaging    = this.toolBarPagingTotal;
            ToolBarPagingOfTotal  = this.toolBarPagingTotal;
            ToolBarPagingOfDetail = this.toolBarPagingDetail;
            //查询委托(基类控制翻页用)
            base.ExecuteQuery = QueryAction;
            //工具栏(动作)单击事件
            this.toolBarActionAndNavigate.ToolClick += new ToolClickEventHandler(base.toolBarActionAndNavigate_ToolClick);
            //工具栏(翻页)单击事件
            this.toolBarPagingTotal.ToolClick  += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            this.toolBarPagingDetail.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            this.toolBarPagingTotal.ToolValueChanged  += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            this.toolBarPagingDetail.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //设置总页数
            SetTotalPageCountAndTotalRecordCountOfTotal(0);
            SetTotalPageCountAndTotalRecordCountOfDetail(0);

            #region 设置页面大小文本框
            TextBoxTool pageSizeOfTotalTextBox = null;
            foreach (var loopToolControl in this.toolBarPagingTotal.Tools)
            {
                if (loopToolControl.Key == SysConst.EN_PAGESIZE)
                {
                    pageSizeOfTotalTextBox = (TextBoxTool)loopToolControl;
                }
            }
            if (pageSizeOfTotalTextBox != null)
            {
                pageSizeOfTotalTextBox.Text = PageSizeOfTotal.ToString();
                pageSizeOfTotalTextBox.AfterToolExitEditMode += PageSizeTextBoxTool_AfterToolExitEditMode;
            }

            TextBoxTool pageSizeOfDetailTextBox = null;
            foreach (var loopToolControl in this.toolBarPagingDetail.Tools)
            {
                if (loopToolControl.Key == SysConst.EN_PAGESIZE)
                {
                    pageSizeOfDetailTextBox = (TextBoxTool)loopToolControl;
                }
            }
            if (pageSizeOfDetailTextBox != null)
            {
                pageSizeOfDetailTextBox.Text = PageSizeOfDetail.ToString();
                pageSizeOfDetailTextBox.AfterToolExitEditMode += PageSizeTextBoxTool_AfterToolExitEditMode;
            }
            #endregion

            //初始化【列表】Tab内控件
            InitializeListTabControls();

            //设置【列表】Tab为选中状态
            tabControlFull.Tabs[SysConst.EN_LIST].Selected = true;
            //根据选中的Tab,设置动作按钮[是否可用](在系统权限的基础上进行控制)
            var exportEnable = MenuGroupActionList.FirstOrDefault(x => x.Act_Key == SystemActionEnum.Code.EXPORT) !=
                               null ? true : false;
            SetActionEnable(SystemActionEnum.Code.EXPORT, exportEnable);
            SetActionEnable(SystemActionEnum.Code.QUERY, true);
            #endregion
        }
예제 #23
0
        /// <summary>
        /// 窗体加载事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void FrmPurchaseOrderQuery_Load(object sender, EventArgs e)
        {
            #region 固定
            //基类.工具栏(翻页)
            ToolBarPaging = toolBarManagerListTabPaging;
            //查询委托(基类控制翻页用)
            ExecuteQuery = QueryAction;
            //工具栏(翻页)单击事件
            toolBarManagerListTabPaging.ToolClick += new ToolClickEventHandler(ToolBarPaging_ToolClick);
            //工具栏(翻页)[当前页]值改变事件
            toolBarManagerListTabPaging.ToolValueChanged += new ToolEventHandler(ToolBarPaging_ToolValueChanged);
            //初始化【列表】Tab内控件
            InitializeListTabControls();
            #endregion

            #region 处理参数

            if (_viewParameters != null)
            {
                if (_viewParameters.ContainsKey(ComViewParamKey.DocumentStatus.ToString()))
                {
                    cbWhere_PO_StatusName.Text    = Convert.ToString(_viewParameters[ComViewParamKey.DocumentStatus.ToString()]);
                    cbWhere_PO_StatusName.Enabled = false;
                }
                #region 单据状态

                if (_viewParameters.ContainsKey(ComViewParamKey.DocumentStatus.ToString()))
                {
                    _purchaseOrderStatusList = _viewParameters[ComViewParamKey.DocumentStatus.ToString()] as List <ComComboBoxDataSourceTC>;
                    if (_purchaseOrderStatusList != null && _purchaseOrderStatusList.Count > 0)
                    {
                        cbWhere_PO_StatusName.DisplayMember = SysConst.EN_TEXT;
                        cbWhere_PO_StatusName.ValueMember   = SysConst.EN_Code;
                        cbWhere_PO_StatusName.DataSource    = _purchaseOrderStatusList;
                        cbWhere_PO_StatusName.DataBind();

                        cbWhere_PO_StatusName.Text  = _purchaseOrderStatusList[0].Text;
                        cbWhere_PO_StatusName.Value = _purchaseOrderStatusList[0].Code;

                        if (_purchaseOrderStatusList.Count == 1)
                        {
                            cbWhere_PO_StatusName.Enabled = false;
                        }
                        else
                        {
                            cbWhere_PO_StatusName.Enabled = true;
                        }
                    }
                }

                #endregion

                #region 审核状态

                if (_viewParameters.ContainsKey(ComViewParamKey.ApprovalStatus.ToString()))
                {
                    _approvalStatusList = _viewParameters[ComViewParamKey.ApprovalStatus.ToString()] as List <ComComboBoxDataSourceTC>;
                    if (_approvalStatusList != null && _approvalStatusList.Count > 0)
                    {
                        cbWhere_PO_ApprovalStatusName.DisplayMember = SysConst.EN_TEXT;
                        cbWhere_PO_ApprovalStatusName.ValueMember   = SysConst.EN_Code;
                        cbWhere_PO_ApprovalStatusName.DataSource    = _approvalStatusList;
                        cbWhere_PO_ApprovalStatusName.DataBind();

                        cbWhere_PO_ApprovalStatusName.Text  = _approvalStatusList[0].Text;
                        cbWhere_PO_ApprovalStatusName.Value = _approvalStatusList[0].Code;

                        if (_approvalStatusList.Count == 1)
                        {
                            cbWhere_PO_ApprovalStatusName.Enabled = false;
                        }
                        else
                        {
                            cbWhere_PO_ApprovalStatusName.Enabled = true;
                        }
                    }
                }

                #endregion
            }
            #endregion
        }
예제 #24
0
 public ToolbarHelper(UltraToolbarsManager toolbarsManager, string toolbarName, string panelName)
 {
     _toolbarsManager = toolbarsManager;
     _toolbarName = toolbarName;
     _panelName = panelName;
 }
예제 #25
0
 internal ToolsCollectionKey(UltraToolbarsManager manager, string ownerKey)
 {
     this.ownerKey = ownerKey;
     this.manager  = new WeakReference(manager);
 }
예제 #26
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("MainToolbar");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(WorkWithModalForm));
     this.ultraDockWorkspace1 = new Infragistics.Practices.CompositeUI.WinForms.UltraDockWorkspace(this.components);
     this._WorkWithModalShellUnpinnedTabAreaLeft   = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaRight  = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaTop    = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._WorkWithModalShellAutoHideControl       = new Infragistics.Win.UltraWinDock.AutoHideControl();
     this.ultraToolbarsManager1        = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this.imageListExplorerbar         = new System.Windows.Forms.ImageList(this.components);
     this.WorkWithModalForm_Fill_Panel = new System.Windows.Forms.Panel();
     this._WorkWithModalForm_Toolbars_Dock_Area_Left   = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     this.SuspendLayout();
     //
     // ultraDockWorkspace1
     //
     this.ultraDockWorkspace1.HostControl   = this;
     this.ultraDockWorkspace1.WorkspaceName = "DockWorkWith";
     //
     // _WorkWithModalShellUnpinnedTabAreaLeft
     //
     this._WorkWithModalShellUnpinnedTabAreaLeft.Dock     = System.Windows.Forms.DockStyle.Left;
     this._WorkWithModalShellUnpinnedTabAreaLeft.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 17);
     this._WorkWithModalShellUnpinnedTabAreaLeft.Name     = "_WorkWithModalShellUnpinnedTabAreaLeft";
     this._WorkWithModalShellUnpinnedTabAreaLeft.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaLeft.Size     = new System.Drawing.Size(0, 441);
     this._WorkWithModalShellUnpinnedTabAreaLeft.TabIndex = 0;
     //
     // _WorkWithModalShellUnpinnedTabAreaRight
     //
     this._WorkWithModalShellUnpinnedTabAreaRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this._WorkWithModalShellUnpinnedTabAreaRight.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaRight.Location = new System.Drawing.Point(512, 17);
     this._WorkWithModalShellUnpinnedTabAreaRight.Name     = "_WorkWithModalShellUnpinnedTabAreaRight";
     this._WorkWithModalShellUnpinnedTabAreaRight.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaRight.Size     = new System.Drawing.Size(0, 441);
     this._WorkWithModalShellUnpinnedTabAreaRight.TabIndex = 1;
     //
     // _WorkWithModalShellUnpinnedTabAreaTop
     //
     this._WorkWithModalShellUnpinnedTabAreaTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this._WorkWithModalShellUnpinnedTabAreaTop.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 17);
     this._WorkWithModalShellUnpinnedTabAreaTop.Name     = "_WorkWithModalShellUnpinnedTabAreaTop";
     this._WorkWithModalShellUnpinnedTabAreaTop.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaTop.Size     = new System.Drawing.Size(512, 0);
     this._WorkWithModalShellUnpinnedTabAreaTop.TabIndex = 2;
     //
     // _WorkWithModalShellUnpinnedTabAreaBottom
     //
     this._WorkWithModalShellUnpinnedTabAreaBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._WorkWithModalShellUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 458);
     this._WorkWithModalShellUnpinnedTabAreaBottom.Name     = "_WorkWithModalShellUnpinnedTabAreaBottom";
     this._WorkWithModalShellUnpinnedTabAreaBottom.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(512, 0);
     this._WorkWithModalShellUnpinnedTabAreaBottom.TabIndex = 3;
     //
     // _WorkWithModalShellAutoHideControl
     //
     this._WorkWithModalShellAutoHideControl.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
     this._WorkWithModalShellAutoHideControl.Location = new System.Drawing.Point(0, 0);
     this._WorkWithModalShellAutoHideControl.Name     = "_WorkWithModalShellAutoHideControl";
     this._WorkWithModalShellAutoHideControl.Owner    = this.ultraDockWorkspace1;
     this._WorkWithModalShellAutoHideControl.Size     = new System.Drawing.Size(0, 0);
     this._WorkWithModalShellAutoHideControl.TabIndex = 4;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 0;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.LockToolbars = true;
     this.ultraToolbarsManager1.RuntimeCustomizationOptions = Infragistics.Win.UltraWinToolbars.RuntimeCustomizationOptions.None;
     this.ultraToolbarsManager1.ShowFullMenusDelay          = 500;
     this.ultraToolbarsManager1.ShowQuickCustomizeButton    = false;
     ultraToolbar1.DockedColumn               = 0;
     ultraToolbar1.DockedRow                  = 0;
     ultraToolbar1.Settings.AllowCustomize    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom   = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockTop      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding       = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.None;
     ultraToolbar1.Settings.GrabHandleStyle   = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.None;
     ultraToolbar1.Text = "MainToolbar";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1
     });
     this.ultraToolbarsManager1.UseFlatMode = Infragistics.Win.DefaultableBoolean.True;
     //
     // imageListExplorerbar
     //
     this.imageListExplorerbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageListExplorerbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListExplorerbar.TransparentColor = System.Drawing.Color.Transparent;
     //
     // WorkWithModalForm_Fill_Panel
     //
     this.WorkWithModalForm_Fill_Panel.AutoSize = true;
     this.WorkWithModalForm_Fill_Panel.Cursor   = System.Windows.Forms.Cursors.Default;
     this.WorkWithModalForm_Fill_Panel.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.WorkWithModalForm_Fill_Panel.Location = new System.Drawing.Point(0, 17);
     this.WorkWithModalForm_Fill_Panel.Name     = "WorkWithModalForm_Fill_Panel";
     this.WorkWithModalForm_Fill_Panel.Size     = new System.Drawing.Size(512, 441);
     this.WorkWithModalForm_Fill_Panel.TabIndex = 5;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Left
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Left";
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 441);
     this._WorkWithModalForm_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Right
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(512, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Right";
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 441);
     this._WorkWithModalForm_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Top
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Top";
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(512, 17);
     this._WorkWithModalForm_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _WorkWithModalForm_Toolbars_Dock_Area_Bottom
     //
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 458);
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Name            = "_WorkWithModalForm_Toolbars_Dock_Area_Bottom";
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(512, 0);
     this._WorkWithModalForm_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // WorkWithModalForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(512, 458);
     this.Controls.Add(this._WorkWithModalShellAutoHideControl);
     this.Controls.Add(this.WorkWithModalForm_Fill_Panel);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaTop);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaBottom);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaLeft);
     this.Controls.Add(this._WorkWithModalShellUnpinnedTabAreaRight);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._WorkWithModalForm_Toolbars_Dock_Area_Bottom);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "WorkWithModalForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text          = "WorkWithModalShell";
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #27
0
 public static void SetToolBarAsReadOnly(
     UltraToolbarsManager tbmControl,
     string excludeToolItems = null)
 {
     foreach (ToolBase tool in tbmControl.Tools)
     {
         tool.SharedProps.Enabled = false;
         if (excludeToolItems == null)
         {
             continue;
         }
         if (excludeToolItems.Contains(tool.Key))
         {
             tool.SharedProps.Enabled = true;
         }
     }
 }
예제 #28
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar2 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("MainToolbar");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(MainShell));
     this.statusStrip1          = new System.Windows.Forms.StatusStrip();
     this.ultraMdiTabWorkspace1 = new Infragistics.Practices.CompositeUI.WinForms.UltraMdiTabWorkspace(this.components);
     this.imageListExplorerbar  = new System.Windows.Forms.ImageList(this.components);
     this._MainShell_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this._MainShell_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._MainShell_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._MainShell_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraDockWorkspace1             = new Infragistics.Practices.CompositeUI.WinForms.UltraDockWorkspace(this.components);
     this._MainShellUnpinnedTabAreaLeft   = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaRight  = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaTop    = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellUnpinnedTabAreaBottom = new Infragistics.Win.UltraWinDock.UnpinnedTabArea();
     this._MainShellAutoHideControl       = new Infragistics.Win.UltraWinDock.AutoHideControl();
     ((System.ComponentModel.ISupportInitialize)(this.ultraMdiTabWorkspace1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).BeginInit();
     this.SuspendLayout();
     //
     // statusStrip1
     //
     this.statusStrip1.Location = new System.Drawing.Point(0, 428);
     this.statusStrip1.Name     = "statusStrip1";
     this.statusStrip1.Size     = new System.Drawing.Size(678, 22);
     this.statusStrip1.TabIndex = 1;
     this.statusStrip1.Text     = "statusStrip1";
     //
     // ultraMdiTabWorkspace1
     //
     this.ultraMdiTabWorkspace1.MdiParent = this;
     //
     // imageListExplorerbar
     //
     this.imageListExplorerbar.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageListExplorerbar.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageListExplorerbar.TransparentColor = System.Drawing.Color.Transparent;
     //
     // _MainShell_Toolbars_Dock_Area_Left
     //
     this._MainShell_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._MainShell_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 40);
     this._MainShell_Toolbars_Dock_Area_Left.Name            = "_MainShell_Toolbars_Dock_Area_Left";
     this._MainShell_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 388);
     this._MainShell_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 1;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageListExplorerbar;
     this.ultraToolbarsManager1.LockToolbars       = true;
     this.ultraToolbarsManager1.ShowFullMenusDelay = 500;
     ultraToolbar1.DockedColumn              = 0;
     ultraToolbar1.DockedRow                 = 0;
     ultraToolbar1.IsMainMenuBar             = true;
     ultraToolbar1.Text                      = "UltraToolbar1";
     ultraToolbar2.DockedColumn              = 0;
     ultraToolbar2.DockedRow                 = 1;
     ultraToolbar2.Settings.AllowFloating    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar2.Settings.AllowHiding      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar2.Settings.FillEntireRow    = Infragistics.Win.DefaultableBoolean.True;
     ultraToolbar2.Settings.ToolDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageOnlyOnToolbars;
     ultraToolbar2.Text                      = "MainToolbar";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1,
         ultraToolbar2
     });
     this.ultraToolbarsManager1.UseFlatMode = Infragistics.Win.DefaultableBoolean.True;
     //
     // _MainShell_Toolbars_Dock_Area_Right
     //
     this._MainShell_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._MainShell_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(678, 40);
     this._MainShell_Toolbars_Dock_Area_Right.Name            = "_MainShell_Toolbars_Dock_Area_Right";
     this._MainShell_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 388);
     this._MainShell_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _MainShell_Toolbars_Dock_Area_Top
     //
     this._MainShell_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._MainShell_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._MainShell_Toolbars_Dock_Area_Top.Name            = "_MainShell_Toolbars_Dock_Area_Top";
     this._MainShell_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(678, 40);
     this._MainShell_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _MainShell_Toolbars_Dock_Area_Bottom
     //
     this._MainShell_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._MainShell_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._MainShell_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._MainShell_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._MainShell_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 428);
     this._MainShell_Toolbars_Dock_Area_Bottom.Name            = "_MainShell_Toolbars_Dock_Area_Bottom";
     this._MainShell_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(678, 0);
     this._MainShell_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraDockWorkspace1
     //
     this.ultraDockWorkspace1.DragWindowStyle = Infragistics.Win.UltraWinDock.DragWindowStyle.LayeredWindowWithIndicators;
     this.ultraDockWorkspace1.HostControl     = this;
     this.ultraDockWorkspace1.WorkspaceName   = "Dock";
     //
     // _MainShellUnpinnedTabAreaLeft
     //
     this._MainShellUnpinnedTabAreaLeft.Dock     = System.Windows.Forms.DockStyle.Left;
     this._MainShellUnpinnedTabAreaLeft.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaLeft.Location = new System.Drawing.Point(0, 40);
     this._MainShellUnpinnedTabAreaLeft.Name     = "_MainShellUnpinnedTabAreaLeft";
     this._MainShellUnpinnedTabAreaLeft.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaLeft.Size     = new System.Drawing.Size(0, 388);
     this._MainShellUnpinnedTabAreaLeft.TabIndex = 5;
     //
     // _MainShellUnpinnedTabAreaRight
     //
     this._MainShellUnpinnedTabAreaRight.Dock     = System.Windows.Forms.DockStyle.Right;
     this._MainShellUnpinnedTabAreaRight.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaRight.Location = new System.Drawing.Point(678, 40);
     this._MainShellUnpinnedTabAreaRight.Name     = "_MainShellUnpinnedTabAreaRight";
     this._MainShellUnpinnedTabAreaRight.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaRight.Size     = new System.Drawing.Size(0, 388);
     this._MainShellUnpinnedTabAreaRight.TabIndex = 6;
     //
     // _MainShellUnpinnedTabAreaTop
     //
     this._MainShellUnpinnedTabAreaTop.Dock     = System.Windows.Forms.DockStyle.Top;
     this._MainShellUnpinnedTabAreaTop.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaTop.Location = new System.Drawing.Point(0, 40);
     this._MainShellUnpinnedTabAreaTop.Name     = "_MainShellUnpinnedTabAreaTop";
     this._MainShellUnpinnedTabAreaTop.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaTop.Size     = new System.Drawing.Size(678, 0);
     this._MainShellUnpinnedTabAreaTop.TabIndex = 7;
     //
     // _MainShellUnpinnedTabAreaBottom
     //
     this._MainShellUnpinnedTabAreaBottom.Dock     = System.Windows.Forms.DockStyle.Bottom;
     this._MainShellUnpinnedTabAreaBottom.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellUnpinnedTabAreaBottom.Location = new System.Drawing.Point(0, 428);
     this._MainShellUnpinnedTabAreaBottom.Name     = "_MainShellUnpinnedTabAreaBottom";
     this._MainShellUnpinnedTabAreaBottom.Owner    = this.ultraDockWorkspace1;
     this._MainShellUnpinnedTabAreaBottom.Size     = new System.Drawing.Size(678, 0);
     this._MainShellUnpinnedTabAreaBottom.TabIndex = 8;
     //
     // _MainShellAutoHideControl
     //
     this._MainShellAutoHideControl.Font     = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this._MainShellAutoHideControl.Location = new System.Drawing.Point(0, 0);
     this._MainShellAutoHideControl.Name     = "_MainShellAutoHideControl";
     this._MainShellAutoHideControl.Owner    = this.ultraDockWorkspace1;
     this._MainShellAutoHideControl.Size     = new System.Drawing.Size(0, 0);
     this._MainShellAutoHideControl.TabIndex = 9;
     //
     // MainShell
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(678, 450);
     this.Controls.Add(this._MainShellAutoHideControl);
     this.Controls.Add(this._MainShellUnpinnedTabAreaTop);
     this.Controls.Add(this._MainShellUnpinnedTabAreaBottom);
     this.Controls.Add(this._MainShellUnpinnedTabAreaLeft);
     this.Controls.Add(this._MainShellUnpinnedTabAreaRight);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._MainShell_Toolbars_Dock_Area_Bottom);
     this.Controls.Add(this.statusStrip1);
     this.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F);
     this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name = "MainShell";
     this.Text = "MainShell";
     ((System.ComponentModel.ISupportInitialize)(this.ultraMdiTabWorkspace1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ultraDockWorkspace1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
예제 #29
0
        public EditContextMenu()
        {
            toolbarsManager = new UltraToolbarsManager();

            this.createDrawContextMenu();
        }
        public void CallEventForToolButton(UltraToolbarsManager objToolMgr, ToolBase objTool, string strEventName)
        {
            Logger.logBegin("CallEventForToolButton");
            if (objToolMgr == null) return;
            var objE = objToolMgr.GetType().GetEvent(strEventName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance);
            Type objDlgt = objE.EventHandlerType;

            BindingFlags b = BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static;
            MethodInfo objMethodMgr = objToolMgr.GetType().GetMethod(strEventName, b);
            MethodInfo objMethodBar = objTool.GetType().GetMethod(strEventName, b);

            Delegate objDMgr = Delegate.CreateDelegate(objDlgt, objMethodMgr);
            Delegate objDBar = Delegate.CreateDelegate(objDlgt, objMethodBar);

            var objED = (MulticastDelegate)objToolMgr.GetType().GetField(strEventName, BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public).GetValue(objToolMgr);
            if (objED != null)
            {
                foreach (var handler in objED.GetInvocationList())
                {
                    handler.Method.Invoke(handler.Target, new object[] { objToolMgr, new ToolClickEventArgs(objTool, null) });
                }
            }
            Logger.logEnd("CallEventForToolButton");
        }
예제 #31
0
        private void ProcessAddControl(WorkItem workItem, Control control)
        {
            // replace any place holders
            if (control is ISmartPartPlaceholder)
            {
                this.ReplacePlaceHolder(workItem, control as ISmartPartPlaceholder);
            }

            #region MdiTabWorkspace
            if (control is Form)
            {
                // if there is an mdi tab workspace, register it using its name
                UltraMdiTabWorkspace mdiManager = MdiParentManager.GetTabbedMdiManager((Form)control) as UltraMdiTabWorkspace;

                if (mdiManager != null)
                {
                    this.AddItem(workItem, mdiManager, mdiManager.WorkspaceName);
                }
            }
            #endregion             //MdiTabWorkspace

            #region ToolbarsManagerWorkspace
            UltraToolbarsManagerWorkspace toolbarMgr = UltraToolbarsManager.FromContainer(control) as UltraToolbarsManagerWorkspace;

            if (toolbarMgr != null)
            {
                // be sure to add it as workspace if it is one
                this.AddItem(workItem, toolbarMgr, toolbarMgr.WorkspaceName);
            }
            #endregion             //ToolbarsManagerWorkspace

            #region UltraDockWorkspace
            if (control is AutoHideControl)
            {
                // if there is an mdi tab workspace, register it using its name
                UltraDockWorkspace dockManager = ((AutoHideControl)control).Owner as UltraDockWorkspace;

                if (dockManager != null)
                {
                    this.AddItem(workItem, dockManager, dockManager.WorkspaceName);

                    foreach (DockableControlPane pane in dockManager.ControlPanes)
                    {
                        if (null != pane.Control)
                        {
                            this.ProcessAddControl(workItem, pane.Control);
                        }
                    }
                }
            }
            #endregion             //UltraDockWorkspace

            // account for other info - placeholder, smart part, etc.
            if (this.AddItem(workItem, control, control.Name) == false)
            {
                // iterate the children
                foreach (Control child in control.Controls)
                {
                    ProcessAddControl(workItem, child);
                }
            }
        }
예제 #32
0
파일: frmMain.cs 프로젝트: gipasoft/Sfera
        private void initializeComponent()
        {
            components = new Container();
            var buttonTool9 = new ButtonTool("cmdOpen");
            var buttonTool10 = new ButtonTool("cmdSave");
            var buttonTool11 = new ButtonTool("cmdClose");
            var buttonTool12 = new ButtonTool("cmdExit");
            var ribbonTab1 = new RibbonTab("tabMain");
            var ribbonGroup1 = new RibbonGroup("ribbonGroup1");
            var buttonTool1 = new ButtonTool("cmdOpen");
            var buttonTool2 = new ButtonTool("cmdSave");
            var buttonTool3 = new ButtonTool("cmdClose");
            var buttonTool4 = new ButtonTool("cmdOpen");
            var appearance1 = new Appearance();
            var appearance2 = new Appearance();
            var buttonTool5 = new ButtonTool("cmdSave");
            var appearance3 = new Appearance();
            var appearance4 = new Appearance();
            var buttonTool6 = new ButtonTool("cmdClose");
            var appearance5 = new Appearance();
            var appearance6 = new Appearance();
            var buttonTool8 = new ButtonTool("cmdExit");
            var resources = new ComponentResourceManager(typeof(FrmMain));
            ultraToolbarsManager = new UltraToolbarsManager(components);
            _frmMain_Toolbars_Dock_Area_Left = new UltraToolbarsDockArea();
            _frmMain_Toolbars_Dock_Area_Right = new UltraToolbarsDockArea();
            _frmMain_Toolbars_Dock_Area_Top = new UltraToolbarsDockArea();
            _frmMain_Toolbars_Dock_Area_Bottom = new UltraToolbarsDockArea();
            openFileDialog = new OpenFileDialog();
            ((ISupportInitialize)(ultraToolbarsManager)).BeginInit();
            SuspendLayout();
            // 
            // ultraToolbarsManager
            // 
            ultraToolbarsManager.DesignerFlags = 0;
            ultraToolbarsManager.DockWithinContainer = this;
            ultraToolbarsManager.DockWithinContainerBaseType = typeof(Form);
            ultraToolbarsManager.FormDisplayStyle = FormDisplayStyle.StandardWithRibbon;
            buttonTool11.InstanceProps.IsFirstInGroup = true;
            buttonTool12.InstanceProps.IsFirstInGroup = true;
            ultraToolbarsManager.Ribbon.ApplicationMenu.ToolAreaLeft.NonInheritedTools.AddRange(new ToolBase[] {
            buttonTool9,
            buttonTool10,
            buttonTool11,
            buttonTool12});
            ultraToolbarsManager.Ribbon.ApplicationMenuButtonImage = Resources.sfera_trasparente;
            ribbonTab1.Caption = @"Assemblea Offline";
            ribbonGroup1.Caption = @"Generale";
            buttonTool1.InstanceProps.PreferredSizeOnRibbon = RibbonToolSize.Large;
            buttonTool2.InstanceProps.PreferredSizeOnRibbon = RibbonToolSize.Large;
            buttonTool3.InstanceProps.IsFirstInGroup = true;
            buttonTool3.InstanceProps.PreferredSizeOnRibbon = RibbonToolSize.Large;
            ribbonGroup1.Tools.AddRange(new ToolBase[] {
            buttonTool1,
            buttonTool2,
            buttonTool3});
            ribbonTab1.Groups.AddRange(new[] {
            ribbonGroup1});
            ultraToolbarsManager.Ribbon.NonInheritedRibbonTabs.AddRange(new[] {
            ribbonTab1});
            ultraToolbarsManager.Ribbon.Visible = true;
            ultraToolbarsManager.ShowFullMenusDelay = 500;
            appearance1.Image = Resources.folder;
            buttonTool4.SharedPropsInternal.AppearancesLarge.Appearance = appearance1;
            appearance2.Image = Resources.folder1;
            buttonTool4.SharedPropsInternal.AppearancesSmall.Appearance = appearance2;
            buttonTool4.SharedPropsInternal.Caption = @"Apri";
            appearance3.Image = Resources.disk;
            buttonTool5.SharedPropsInternal.AppearancesLarge.Appearance = appearance3;
            appearance4.Image = Resources.disk1;
            buttonTool5.SharedPropsInternal.AppearancesSmall.Appearance = appearance4;
            buttonTool5.SharedPropsInternal.Caption = @"Salva";
            appearance5.Image = Resources.door_out;
            buttonTool6.SharedPropsInternal.AppearancesLarge.Appearance = appearance5;
            appearance6.Image = Resources.door_out1;
            buttonTool6.SharedPropsInternal.AppearancesSmall.Appearance = appearance6;
            buttonTool6.SharedPropsInternal.Caption = @"Chiudi";
            buttonTool8.SharedPropsInternal.Caption = @"Esci";
            buttonTool8.SharedPropsInternal.CustomizerCaption = @"Esci";
            ultraToolbarsManager.Tools.AddRange(new ToolBase[] {
            buttonTool4,
            buttonTool5,
            buttonTool6,
            buttonTool8});
            ultraToolbarsManager.ToolClick += ultraToolbarsManager_ToolClick;
            // 
            // _frmMain_Toolbars_Dock_Area_Left
            // 
            _frmMain_Toolbars_Dock_Area_Left.AccessibleRole = AccessibleRole.Grouping;
            _frmMain_Toolbars_Dock_Area_Left.BackColor = Color.FromArgb(191, 219, 255);
            _frmMain_Toolbars_Dock_Area_Left.DockedPosition = DockedPosition.Left;
            _frmMain_Toolbars_Dock_Area_Left.ForeColor = SystemColors.ControlText;
            _frmMain_Toolbars_Dock_Area_Left.InitialResizeAreaExtent = 8;
            _frmMain_Toolbars_Dock_Area_Left.Location = new Point(0, 162);
            _frmMain_Toolbars_Dock_Area_Left.Name = "_frmMain_Toolbars_Dock_Area_Left";
            _frmMain_Toolbars_Dock_Area_Left.Size = new Size(8, 403);
            _frmMain_Toolbars_Dock_Area_Left.ToolbarsManager = ultraToolbarsManager;
            // 
            // _frmMain_Toolbars_Dock_Area_Right
            // 
            _frmMain_Toolbars_Dock_Area_Right.AccessibleRole = AccessibleRole.Grouping;
            _frmMain_Toolbars_Dock_Area_Right.BackColor = Color.FromArgb(191, 219, 255);
            _frmMain_Toolbars_Dock_Area_Right.DockedPosition = DockedPosition.Right;
            _frmMain_Toolbars_Dock_Area_Right.ForeColor = SystemColors.ControlText;
            _frmMain_Toolbars_Dock_Area_Right.InitialResizeAreaExtent = 8;
            _frmMain_Toolbars_Dock_Area_Right.Location = new Point(943, 162);
            _frmMain_Toolbars_Dock_Area_Right.Name = "_frmMain_Toolbars_Dock_Area_Right";
            _frmMain_Toolbars_Dock_Area_Right.Size = new Size(8, 403);
            _frmMain_Toolbars_Dock_Area_Right.ToolbarsManager = ultraToolbarsManager;
            // 
            // _frmMain_Toolbars_Dock_Area_Top
            // 
            _frmMain_Toolbars_Dock_Area_Top.AccessibleRole = AccessibleRole.Grouping;
            _frmMain_Toolbars_Dock_Area_Top.BackColor = Color.FromArgb(191, 219, 255);
            _frmMain_Toolbars_Dock_Area_Top.DockedPosition = DockedPosition.Top;
            _frmMain_Toolbars_Dock_Area_Top.ForeColor = SystemColors.ControlText;
            _frmMain_Toolbars_Dock_Area_Top.Location = new Point(0, 0);
            _frmMain_Toolbars_Dock_Area_Top.Name = "_frmMain_Toolbars_Dock_Area_Top";
            _frmMain_Toolbars_Dock_Area_Top.Size = new Size(951, 162);
            _frmMain_Toolbars_Dock_Area_Top.ToolbarsManager = ultraToolbarsManager;
            // 
            // _frmMain_Toolbars_Dock_Area_Bottom
            // 
            _frmMain_Toolbars_Dock_Area_Bottom.AccessibleRole = AccessibleRole.Grouping;
            _frmMain_Toolbars_Dock_Area_Bottom.BackColor = Color.FromArgb(191, 219, 255);
            _frmMain_Toolbars_Dock_Area_Bottom.DockedPosition = DockedPosition.Bottom;
            _frmMain_Toolbars_Dock_Area_Bottom.ForeColor = SystemColors.ControlText;
            _frmMain_Toolbars_Dock_Area_Bottom.InitialResizeAreaExtent = 8;
            _frmMain_Toolbars_Dock_Area_Bottom.Location = new Point(0, 565);
            _frmMain_Toolbars_Dock_Area_Bottom.Name = "_frmMain_Toolbars_Dock_Area_Bottom";
            _frmMain_Toolbars_Dock_Area_Bottom.Size = new Size(951, 8);
            _frmMain_Toolbars_Dock_Area_Bottom.ToolbarsManager = ultraToolbarsManager;
            // 
            // openFileDialog
            // 
            openFileDialog.DefaultExt = "SferaAssembleaOffline";
            openFileDialog.Filter = @"Pacchetto assemblea offline (*.SferaAssembleaOffline)|*.SferaAssembleaOffline";
            // 
            // frmMain
            // 
            ClientSize = new Size(951, 573);
            Controls.Add(_frmMain_Toolbars_Dock_Area_Left);
            Controls.Add(_frmMain_Toolbars_Dock_Area_Right);
            Controls.Add(_frmMain_Toolbars_Dock_Area_Bottom);
            Controls.Add(_frmMain_Toolbars_Dock_Area_Top);
            Icon = ((Icon)(resources.GetObject("$this.Icon")));
            IsMdiContainer = true;
            Name = "FrmMain";
            Text = @"Sfera - Assemblea Offline";
            WindowState = FormWindowState.Maximized;
            MdiChildActivate += frmMain_MdiChildActivate;
            ((ISupportInitialize)(ultraToolbarsManager)).EndInit();
            ResumeLayout(false);

        }
예제 #33
0
        // Constructors

        protected internal MacroEditorFormCommandbarManager(UltraToolbarsManager toolbarsManager) : base(toolbarsManager)
        {
        }
예제 #34
0
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("UltraToolbar1");
     System.ComponentModel.ComponentResourceManager resources     = new System.ComponentModel.ComponentResourceManager(typeof(InstanceModalForm));
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.panel1     = new System.Windows.Forms.Panel();
     this._ModalFormShell_Toolbars_Dock_Area_Left   = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Right  = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Top    = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ModalFormShell_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.ultraStatusBar1       = new Infragistics.Win.UltraWinStatusBar.UltraStatusBar();
     this.ultraToolbarsManager1 = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).BeginInit();
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 16);
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     //
     // panel1
     //
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(0, 17);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(184, 21);
     this.panel1.TabIndex = 1;
     this.panel1.Enter   += new System.EventHandler(this.panel1_Enter);
     //
     // _ModalFormShell_Toolbars_Dock_Area_Left
     //
     this._ModalFormShell_Toolbars_Dock_Area_Left.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Left.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Left.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._ModalFormShell_Toolbars_Dock_Area_Left.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Left.Location        = new System.Drawing.Point(0, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Left.Name            = "_ModalFormShell_Toolbars_Dock_Area_Left";
     this._ModalFormShell_Toolbars_Dock_Area_Left.Size            = new System.Drawing.Size(0, 21);
     this._ModalFormShell_Toolbars_Dock_Area_Left.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Right
     //
     this._ModalFormShell_Toolbars_Dock_Area_Right.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Right.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Right.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._ModalFormShell_Toolbars_Dock_Area_Right.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Right.Location        = new System.Drawing.Point(184, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Right.Name            = "_ModalFormShell_Toolbars_Dock_Area_Right";
     this._ModalFormShell_Toolbars_Dock_Area_Right.Size            = new System.Drawing.Size(0, 21);
     this._ModalFormShell_Toolbars_Dock_Area_Right.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Top
     //
     this._ModalFormShell_Toolbars_Dock_Area_Top.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Top.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Top.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._ModalFormShell_Toolbars_Dock_Area_Top.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Top.Location        = new System.Drawing.Point(0, 0);
     this._ModalFormShell_Toolbars_Dock_Area_Top.Name            = "_ModalFormShell_Toolbars_Dock_Area_Top";
     this._ModalFormShell_Toolbars_Dock_Area_Top.Size            = new System.Drawing.Size(184, 17);
     this._ModalFormShell_Toolbars_Dock_Area_Top.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // _ModalFormShell_Toolbars_Dock_Area_Bottom
     //
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.AccessibleRole  = System.Windows.Forms.AccessibleRole.Grouping;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.BackColor       = System.Drawing.SystemColors.Control;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.DockedPosition  = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.ForeColor       = System.Drawing.SystemColors.ControlText;
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Location        = new System.Drawing.Point(0, 38);
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Name            = "_ModalFormShell_Toolbars_Dock_Area_Bottom";
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.Size            = new System.Drawing.Size(184, 0);
     this._ModalFormShell_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.ultraToolbarsManager1;
     //
     // ultraStatusBar1
     //
     this.ultraStatusBar1.Location = new System.Drawing.Point(0, 38);
     this.ultraStatusBar1.Name     = "ultraStatusBar1";
     this.ultraStatusBar1.Size     = new System.Drawing.Size(184, 23);
     this.ultraStatusBar1.TabIndex = 0;
     //
     // ultraToolbarsManager1
     //
     this.ultraToolbarsManager1.DesignerFlags               = 1;
     this.ultraToolbarsManager1.DockWithinContainer         = this;
     this.ultraToolbarsManager1.DockWithinContainerBaseType = typeof(System.Windows.Forms.Form);
     this.ultraToolbarsManager1.ImageListLarge              = this.imageList1;
     this.ultraToolbarsManager1.ImageListSmall              = this.imageList1;
     this.ultraToolbarsManager1.LockToolbars = true;
     this.ultraToolbarsManager1.RuntimeCustomizationOptions = Infragistics.Win.UltraWinToolbars.RuntimeCustomizationOptions.None;
     this.ultraToolbarsManager1.ShowFullMenusDelay          = 500;
     this.ultraToolbarsManager1.ShowQuickCustomizeButton    = false;
     ultraToolbar1.DockedColumn               = 0;
     ultraToolbar1.DockedRow                  = 0;
     ultraToolbar1.IsMainMenuBar              = true;
     ultraToolbar1.Settings.AllowCustomize    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom   = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight    = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockTop      = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating     = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding       = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.None;
     ultraToolbar1.Settings.GrabHandleStyle   = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.None;
     ultraToolbar1.Settings.ToolDisplayStyle  = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.ImageAndText;
     ultraToolbar1.Text = "UltraToolbar1";
     this.ultraToolbarsManager1.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
         ultraToolbar1
     });
     //
     // InstanceModalForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSize            = true;
     this.ClientSize          = new System.Drawing.Size(184, 61);
     this.Controls.Add(this.panel1);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Left);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Right);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Top);
     this.Controls.Add(this._ModalFormShell_Toolbars_Dock_Area_Bottom);
     this.Controls.Add(this.ultraStatusBar1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "InstanceModalForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "ModalFormShell";
     this.Load         += new System.EventHandler(this.ModalFormShell_Load);
     ((System.ComponentModel.ISupportInitialize)(this.ultraToolbarsManager1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #35
0
 public ToolbarsManagerBatchUpdateableControl(UltraToolbarsManager control)
 {
     this.m_ToolBase = control;
 }
예제 #36
0
 /// <summary>
 /// Erforderliche Methode für die Designerunterstützung. 
 /// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Infragistics.Win.UltraWinToolbars.UltraToolbar ultraToolbar1 = new Infragistics.Win.UltraWinToolbars.UltraToolbar("editorToolBar");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool1 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool2 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool3 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool4 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool5 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool6 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool1 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool8 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool7 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool17 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance14 = new Infragistics.Win.Appearance();
     Infragistics.Win.Appearance appearance16 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool9 = new Infragistics.Win.UltraWinToolbars.ButtonTool("bold");
     Infragistics.Win.Appearance appearance11 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool10 = new Infragistics.Win.UltraWinToolbars.ButtonTool("italic");
     Infragistics.Win.Appearance appearance12 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool11 = new Infragistics.Win.UltraWinToolbars.ButtonTool("refrain");
     Infragistics.Win.Appearance appearance13 = new Infragistics.Win.Appearance();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool12 = new Infragistics.Win.UltraWinToolbars.ButtonTool("special");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool13 = new Infragistics.Win.UltraWinToolbars.ButtonTool("tab");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool14 = new Infragistics.Win.UltraWinToolbars.ButtonTool("indent");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool15 = new Infragistics.Win.UltraWinToolbars.ButtonTool("Seitenumbruch");
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool16 = new Infragistics.Win.UltraWinToolbars.ButtonTool("jumpmark");
     Infragistics.Win.UltraWinToolbars.ComboBoxTool comboBoxTool2 = new Infragistics.Win.UltraWinToolbars.ComboBoxTool("indentCombo");
     Infragistics.Win.ValueList valueList1 = new Infragistics.Win.ValueList(0);
     Infragistics.Win.ValueListItem valueListItem1 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem2 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem3 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem4 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.ValueListItem valueListItem5 = new Infragistics.Win.ValueListItem();
     Infragistics.Win.UltraWinToolbars.ButtonTool buttonTool18 = new Infragistics.Win.UltraWinToolbars.ButtonTool("undo");
     Infragistics.Win.Appearance appearance15 = new Infragistics.Win.Appearance();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Editor));
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.textBox2 = new System.Windows.Forms.TextBox();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.richTextBox1 = new System.Windows.Forms.RichTextBox();
     this.listBox1 = new System.Windows.Forms.ListBox();
     this.label7 = new System.Windows.Forms.Label();
     this.textBox3 = new System.Windows.Forms.TextBox();
     this.checkBox1 = new System.Windows.Forms.CheckBox();
     this.textBox4 = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.trackBar1 = new System.Windows.Forms.TrackBar();
     this.checkBox2 = new System.Windows.Forms.CheckBox();
     this.label9 = new System.Windows.Forms.Label();
     this.label10 = new System.Windows.Forms.Label();
     this.label11 = new System.Windows.Forms.Label();
     this.toolbars = new Infragistics.Win.UltraWinToolbars.UltraToolbarsManager(this.components);
     this.toolbarPanel = new Infragistics.Win.Misc.UltraPanel();
     this.ClientArea_Fill_Panel = new System.Windows.Forms.Panel();
     this._ClientArea_Toolbars_Dock_Area_Left = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Right = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Top = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this._ClientArea_Toolbars_Dock_Area_Bottom = new Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea();
     this.Editor_Fill_Panel = new System.Windows.Forms.Panel();
     this.previewBtn = new System.Windows.Forms.PictureBox();
     this.pictureBox1 = new System.Windows.Forms.PictureBox();
     this.button12 = new Lyra2.LyraShell.LyraButtonControl();
     this.button10 = new Lyra2.LyraShell.LyraButtonControl();
     this.button2 = new Lyra2.LyraShell.LyraButtonControl();
     this.button1 = new Lyra2.LyraShell.LyraButtonControl();
     this.button14 = new Lyra2.LyraShell.LyraButtonControl();
     this.button16 = new Lyra2.LyraShell.LyraButtonControl();
     this.button17 = new Lyra2.LyraShell.LyraButtonControl();
     this.button13 = new Lyra2.LyraShell.LyraButtonControl();
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).BeginInit();
     this.toolbarPanel.ClientArea.SuspendLayout();
     this.toolbarPanel.SuspendLayout();
     this.ClientArea_Fill_Panel.SuspendLayout();
     this.Editor_Fill_Panel.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
     this.SuspendLayout();
     //
     // textBox1
     //
     this.textBox1.Location = new System.Drawing.Point(240, 38);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(384, 20);
     this.textBox1.TabIndex = 1;
     this.textBox1.Text = "textBox1";
     //
     // textBox2
     //
     this.textBox2.Enabled = false;
     this.textBox2.Location = new System.Drawing.Point(102, 38);
     this.textBox2.MaxLength = 4;
     this.textBox2.Name = "textBox2";
     this.textBox2.Size = new System.Drawing.Size(40, 20);
     this.textBox2.TabIndex = 0;
     this.textBox2.Text = "textBox2";
     //
     // label1
     //
     this.label1.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label1.ForeColor = System.Drawing.Color.SlateGray;
     this.label1.Location = new System.Drawing.Point(8, 8);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(160, 16);
     this.label1.TabIndex = 4;
     this.label1.Text = "Lyra Songtext Editor";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label2.Location = new System.Drawing.Point(24, 40);
     this.label2.Name = "label2";
     this.label2.Size = new System.Drawing.Size(78, 13);
     this.label2.TabIndex = 5;
     this.label2.Text = "Liednummer:";
     //
     // label3
     //
     this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label3.Location = new System.Drawing.Point(206, 40);
     this.label3.Name = "label3";
     this.label3.Size = new System.Drawing.Size(32, 16);
     this.label3.TabIndex = 6;
     this.label3.Text = "Titel:";
     //
     // label4
     //
     this.label4.AutoSize = true;
     this.label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label4.Location = new System.Drawing.Point(24, 72);
     this.label4.Name = "label4";
     this.label4.Size = new System.Drawing.Size(36, 13);
     this.label4.TabIndex = 7;
     this.label4.Text = "Text:";
     //
     // richTextBox1
     //
     this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.richTextBox1.Location = new System.Drawing.Point(0, 0);
     this.richTextBox1.Name = "richTextBox1";
     this.richTextBox1.Size = new System.Drawing.Size(685, 209);
     this.richTextBox1.TabIndex = 2;
     this.richTextBox1.Text = "richTextBox1";
     //
     // listBox1
     //
     this.listBox1.Location = new System.Drawing.Point(24, 465);
     this.listBox1.Name = "listBox1";
     this.listBox1.Size = new System.Drawing.Size(600, 69);
     this.listBox1.TabIndex = 25;
     //
     // label7
     //
     this.label7.AutoSize = true;
     this.label7.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label7.ForeColor = System.Drawing.Color.Black;
     this.label7.Location = new System.Drawing.Point(24, 441);
     this.label7.Name = "label7";
     this.label7.Size = new System.Drawing.Size(92, 13);
     this.label7.TabIndex = 12;
     this.label7.Text = "Übersetzungen";
     //
     // textBox3
     //
     this.textBox3.Enabled = false;
     this.textBox3.Location = new System.Drawing.Point(200, 64);
     this.textBox3.MaxLength = 3;
     this.textBox3.Name = "textBox3";
     this.textBox3.Size = new System.Drawing.Size(40, 20);
     this.textBox3.TabIndex = 28;
     this.textBox3.Text = "---";
     //
     // checkBox1
     //
     this.checkBox1.Location = new System.Drawing.Point(104, 65);
     this.checkBox1.Name = "checkBox1";
     this.checkBox1.Size = new System.Drawing.Size(104, 16);
     this.checkBox1.TabIndex = 29;
     this.checkBox1.Text = "Bemerkungen:";
     this.checkBox1.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged);
     //
     // textBox4
     //
     this.textBox4.Location = new System.Drawing.Point(117, 341);
     this.textBox4.Name = "textBox4";
     this.textBox4.Size = new System.Drawing.Size(384, 20);
     this.textBox4.TabIndex = 1;
     this.textBox4.TextChanged += new System.EventHandler(this.textBox4_TextChanged);
     //
     // label8
     //
     this.label8.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label8.Location = new System.Drawing.Point(24, 344);
     this.label8.Name = "label8";
     this.label8.Size = new System.Drawing.Size(168, 16);
     this.label8.TabIndex = 6;
     this.label8.Text = "Hintergrundbild:";
     //
     // trackBar1
     //
     this.trackBar1.AutoSize = false;
     this.trackBar1.Enabled = false;
     this.trackBar1.LargeChange = 10;
     this.trackBar1.Location = new System.Drawing.Point(304, 368);
     this.trackBar1.Maximum = 100;
     this.trackBar1.Name = "trackBar1";
     this.trackBar1.Size = new System.Drawing.Size(104, 16);
     this.trackBar1.TabIndex = 30;
     this.trackBar1.TickFrequency = 25;
     this.trackBar1.ValueChanged += new System.EventHandler(this.trackBar1_ValueChanged);
     //
     // checkBox2
     //
     this.checkBox2.Enabled = false;
     this.checkBox2.Location = new System.Drawing.Point(116, 368);
     this.checkBox2.Name = "checkBox2";
     this.checkBox2.Size = new System.Drawing.Size(104, 16);
     this.checkBox2.TabIndex = 29;
     this.checkBox2.Text = "Bild strecken";
     //
     // label9
     //
     this.label9.Enabled = false;
     this.label9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label9.Location = new System.Drawing.Point(232, 368);
     this.label9.Name = "label9";
     this.label9.Size = new System.Drawing.Size(168, 16);
     this.label9.TabIndex = 6;
     this.label9.Text = "Transparenz:";
     //
     // label10
     //
     this.label10.Enabled = false;
     this.label10.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label10.Location = new System.Drawing.Point(305, 388);
     this.label10.Name = "label10";
     this.label10.Size = new System.Drawing.Size(168, 16);
     this.label10.TabIndex = 6;
     this.label10.Text = "0%         50%       100%";
     //
     // label11
     //
     this.label11.AutoSize = true;
     this.label11.BackColor = System.Drawing.Color.Transparent;
     this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.label11.ForeColor = System.Drawing.Color.DimGray;
     this.label11.Location = new System.Drawing.Point(653, 68);
     this.label11.Name = "label11";
     this.label11.Size = new System.Drawing.Size(52, 13);
     this.label11.TabIndex = 5;
     this.label11.Text = "Vorschau";
     //
     // toolbars
     //
     this.toolbars.DesignerFlags = 1;
     this.toolbars.DockWithinContainer = this.toolbarPanel.ClientArea;
     this.toolbars.ShowFullMenusDelay = 500;
     ultraToolbar1.DockedColumn = 0;
     ultraToolbar1.DockedRow = 0;
     buttonTool3.InstanceProps.IsFirstInGroup = true;
     buttonTool5.InstanceProps.IsFirstInGroup = true;
     buttonTool8.InstanceProps.IsFirstInGroup = true;
     buttonTool17.InstanceProps.IsFirstInGroup = true;
     ultraToolbar1.NonInheritedTools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool1,
     buttonTool2,
     buttonTool3,
     buttonTool4,
     buttonTool5,
     buttonTool6,
     comboBoxTool1,
     buttonTool8,
     buttonTool7,
     buttonTool17});
     ultraToolbar1.Settings.AllowCustomize = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockBottom = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockLeft = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowDockRight = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowFloating = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.AllowHiding = Infragistics.Win.DefaultableBoolean.False;
     ultraToolbar1.Settings.FillEntireRow = Infragistics.Win.DefaultableBoolean.True;
     ultraToolbar1.Settings.GrabHandleStyle = Infragistics.Win.UltraWinToolbars.GrabHandleStyle.NoGlyph;
     ultraToolbar1.Settings.ToolDisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.TextOnlyAlways;
     ultraToolbar1.Text = "editorToolBar";
     this.toolbars.Toolbars.AddRange(new Infragistics.Win.UltraWinToolbars.UltraToolbar[] {
     ultraToolbar1});
     this.toolbars.ToolbarSettings.BorderStyleDocked = Infragistics.Win.UIElementBorderStyle.Etched;
     appearance14.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     appearance14.BackColor2 = System.Drawing.Color.Silver;
     appearance14.BackGradientStyle = Infragistics.Win.GradientStyle.GlassTop37;
     appearance14.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.DockedAppearance = appearance14;
     appearance16.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(178)))));
     appearance16.BackColor2 = System.Drawing.Color.Silver;
     appearance16.BackGradientStyle = Infragistics.Win.GradientStyle.VerticalWithGlassLeft50;
     appearance16.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(64)))), ((int)(((byte)(64)))));
     this.toolbars.ToolbarSettings.HotTrackAppearance = appearance16;
     appearance11.FontData.BoldAsString = "True";
     buttonTool9.SharedPropsInternal.AppearancesSmall.Appearance = appearance11;
     buttonTool9.SharedPropsInternal.Caption = "F";
     appearance12.FontData.ItalicAsString = "True";
     buttonTool10.SharedPropsInternal.AppearancesSmall.Appearance = appearance12;
     buttonTool10.SharedPropsInternal.Caption = "K";
     appearance13.FontData.BoldAsString = "True";
     appearance13.FontData.ItalicAsString = "True";
     appearance13.FontData.Name = "Times New Roman";
     buttonTool11.SharedPropsInternal.AppearancesSmall.Appearance = appearance13;
     buttonTool11.SharedPropsInternal.Caption = "Refrain";
     buttonTool12.SharedPropsInternal.Caption = "Spezial";
     buttonTool13.SharedPropsInternal.Caption = "Tab";
     buttonTool14.SharedPropsInternal.Caption = "Einrücken um";
     buttonTool15.SharedPropsInternal.Caption = "Seitenumbruch";
     buttonTool16.SharedPropsInternal.Caption = "Sprungmarke";
     comboBoxTool2.SharedPropsInternal.Width = 50;
     valueList1.DisplayStyle = Infragistics.Win.ValueListDisplayStyle.DisplayText;
     valueListItem1.DataValue = "ValueListItem0";
     valueListItem1.DisplayText = "8";
     valueListItem2.DataValue = "ValueListItem1";
     valueListItem2.DisplayText = "16";
     valueListItem3.DataValue = "ValueListItem2";
     valueListItem3.DisplayText = "24";
     valueListItem4.DataValue = "ValueListItem3";
     valueListItem4.DisplayText = "32";
     valueListItem5.DataValue = "ValueListItem4";
     valueListItem5.DisplayText = "40";
     valueList1.ValueListItems.AddRange(new Infragistics.Win.ValueListItem[] {
     valueListItem1,
     valueListItem2,
     valueListItem3,
     valueListItem4,
     valueListItem5});
     comboBoxTool2.ValueList = valueList1;
     appearance15.Image = global::Lyra2.LyraShell.Properties.Resources.undo_icon;
     buttonTool18.SharedPropsInternal.AppearancesSmall.Appearance = appearance15;
     buttonTool18.SharedPropsInternal.Caption = "Undo";
     buttonTool18.SharedPropsInternal.DisplayStyle = Infragistics.Win.UltraWinToolbars.ToolDisplayStyle.DefaultForToolType;
     this.toolbars.Tools.AddRange(new Infragistics.Win.UltraWinToolbars.ToolBase[] {
     buttonTool9,
     buttonTool10,
     buttonTool11,
     buttonTool12,
     buttonTool13,
     buttonTool14,
     buttonTool15,
     buttonTool16,
     comboBoxTool2,
     buttonTool18});
     //
     // toolbarPanel
     //
     //
     // toolbarPanel.ClientArea
     //
     this.toolbarPanel.ClientArea.Controls.Add(this.ClientArea_Fill_Panel);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Left);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Right);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Top);
     this.toolbarPanel.ClientArea.Controls.Add(this._ClientArea_Toolbars_Dock_Area_Bottom);
     this.toolbarPanel.Location = new System.Drawing.Point(27, 88);
     this.toolbarPanel.Name = "toolbarPanel";
     this.toolbarPanel.Size = new System.Drawing.Size(685, 240);
     this.toolbarPanel.TabIndex = 34;
     //
     // ClientArea_Fill_Panel
     //
     this.ClientArea_Fill_Panel.Controls.Add(this.richTextBox1);
     this.ClientArea_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.ClientArea_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ClientArea_Fill_Panel.Location = new System.Drawing.Point(0, 31);
     this.ClientArea_Fill_Panel.Name = "ClientArea_Fill_Panel";
     this.ClientArea_Fill_Panel.Size = new System.Drawing.Size(685, 209);
     this.ClientArea_Fill_Panel.TabIndex = 0;
     //
     // _ClientArea_Toolbars_Dock_Area_Left
     //
     this._ClientArea_Toolbars_Dock_Area_Left.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Left.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Left.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Left;
     this._ClientArea_Toolbars_Dock_Area_Left.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Left.Location = new System.Drawing.Point(0, 31);
     this._ClientArea_Toolbars_Dock_Area_Left.Name = "_ClientArea_Toolbars_Dock_Area_Left";
     this._ClientArea_Toolbars_Dock_Area_Left.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Left.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Right
     //
     this._ClientArea_Toolbars_Dock_Area_Right.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Right.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Right.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Right;
     this._ClientArea_Toolbars_Dock_Area_Right.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Right.Location = new System.Drawing.Point(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Right.Name = "_ClientArea_Toolbars_Dock_Area_Right";
     this._ClientArea_Toolbars_Dock_Area_Right.Size = new System.Drawing.Size(0, 209);
     this._ClientArea_Toolbars_Dock_Area_Right.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Top
     //
     this._ClientArea_Toolbars_Dock_Area_Top.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Top.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Top.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Top;
     this._ClientArea_Toolbars_Dock_Area_Top.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Top.Location = new System.Drawing.Point(0, 0);
     this._ClientArea_Toolbars_Dock_Area_Top.Name = "_ClientArea_Toolbars_Dock_Area_Top";
     this._ClientArea_Toolbars_Dock_Area_Top.Size = new System.Drawing.Size(685, 31);
     this._ClientArea_Toolbars_Dock_Area_Top.ToolbarsManager = this.toolbars;
     //
     // _ClientArea_Toolbars_Dock_Area_Bottom
     //
     this._ClientArea_Toolbars_Dock_Area_Bottom.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this._ClientArea_Toolbars_Dock_Area_Bottom.BackColor = System.Drawing.SystemColors.Control;
     this._ClientArea_Toolbars_Dock_Area_Bottom.DockedPosition = Infragistics.Win.UltraWinToolbars.DockedPosition.Bottom;
     this._ClientArea_Toolbars_Dock_Area_Bottom.ForeColor = System.Drawing.SystemColors.ControlText;
     this._ClientArea_Toolbars_Dock_Area_Bottom.Location = new System.Drawing.Point(0, 240);
     this._ClientArea_Toolbars_Dock_Area_Bottom.Name = "_ClientArea_Toolbars_Dock_Area_Bottom";
     this._ClientArea_Toolbars_Dock_Area_Bottom.Size = new System.Drawing.Size(685, 0);
     this._ClientArea_Toolbars_Dock_Area_Bottom.ToolbarsManager = this.toolbars;
     //
     // Editor_Fill_Panel
     //
     this.Editor_Fill_Panel.Controls.Add(this.toolbarPanel);
     this.Editor_Fill_Panel.Controls.Add(this.label11);
     this.Editor_Fill_Panel.Controls.Add(this.previewBtn);
     this.Editor_Fill_Panel.Controls.Add(this.pictureBox1);
     this.Editor_Fill_Panel.Controls.Add(this.trackBar1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox3);
     this.Editor_Fill_Panel.Controls.Add(this.label7);
     this.Editor_Fill_Panel.Controls.Add(this.label4);
     this.Editor_Fill_Panel.Controls.Add(this.label2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox2);
     this.Editor_Fill_Panel.Controls.Add(this.textBox1);
     this.Editor_Fill_Panel.Controls.Add(this.textBox4);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button12);
     this.Editor_Fill_Panel.Controls.Add(this.listBox1);
     this.Editor_Fill_Panel.Controls.Add(this.button10);
     this.Editor_Fill_Panel.Controls.Add(this.label1);
     this.Editor_Fill_Panel.Controls.Add(this.label3);
     this.Editor_Fill_Panel.Controls.Add(this.button2);
     this.Editor_Fill_Panel.Controls.Add(this.button1);
     this.Editor_Fill_Panel.Controls.Add(this.button14);
     this.Editor_Fill_Panel.Controls.Add(this.button16);
     this.Editor_Fill_Panel.Controls.Add(this.button17);
     this.Editor_Fill_Panel.Controls.Add(this.label8);
     this.Editor_Fill_Panel.Controls.Add(this.button13);
     this.Editor_Fill_Panel.Controls.Add(this.checkBox2);
     this.Editor_Fill_Panel.Controls.Add(this.label9);
     this.Editor_Fill_Panel.Controls.Add(this.label10);
     this.Editor_Fill_Panel.Cursor = System.Windows.Forms.Cursors.Default;
     this.Editor_Fill_Panel.Dock = System.Windows.Forms.DockStyle.Fill;
     this.Editor_Fill_Panel.Location = new System.Drawing.Point(0, 0);
     this.Editor_Fill_Panel.Name = "Editor_Fill_Panel";
     this.Editor_Fill_Panel.Size = new System.Drawing.Size(736, 544);
     this.Editor_Fill_Panel.TabIndex = 0;
     //
     // previewBtn
     //
     this.previewBtn.Cursor = System.Windows.Forms.Cursors.Hand;
     this.previewBtn.Image = ((System.Drawing.Image)(resources.GetObject("previewBtn.Image")));
     this.previewBtn.Location = new System.Drawing.Point(648, 5);
     this.previewBtn.Name = "previewBtn";
     this.previewBtn.Size = new System.Drawing.Size(64, 64);
     this.previewBtn.TabIndex = 33;
     this.previewBtn.TabStop = false;
     this.previewBtn.Click += new System.EventHandler(this.previewButton_Click);
     //
     // pictureBox1
     //
     this.pictureBox1.Enabled = false;
     this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
     this.pictureBox1.Location = new System.Drawing.Point(440, 368);
     this.pictureBox1.Name = "pictureBox1";
     this.pictureBox1.Size = new System.Drawing.Size(48, 48);
     this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.pictureBox1.TabIndex = 31;
     this.pictureBox1.TabStop = false;
     //
     // button12
     //
     this.button12.Enabled = false;
     this.button12.Location = new System.Drawing.Point(149, 38);
     this.button12.Name = "button12";
     this.button12.Size = new System.Drawing.Size(53, 20);
     this.button12.TabIndex = 27;
     this.button12.Text = "ändern";
     this.button12.Click += new System.EventHandler(this.button12_Click);
     //
     // button10
     //
     this.button10.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button10.Location = new System.Drawing.Point(24, 401);
     this.button10.Name = "button10";
     this.button10.Size = new System.Drawing.Size(160, 24);
     this.button10.TabIndex = 21;
     this.button10.Text = "Übersetzungen >>";
     this.button10.Click += new System.EventHandler(this.button10_Click);
     //
     // button2
     //
     this.button2.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button2.Location = new System.Drawing.Point(608, 401);
     this.button2.Name = "button2";
     this.button2.Size = new System.Drawing.Size(72, 24);
     this.button2.TabIndex = 20;
     this.button2.Text = "Abbrechen";
     this.button2.Click += new System.EventHandler(this.button2_Click);
     //
     // button1
     //
     this.button1.BackColorInternal = System.Drawing.SystemColors.Control;
     this.button1.Location = new System.Drawing.Point(688, 401);
     this.button1.Name = "button1";
     this.button1.Size = new System.Drawing.Size(40, 24);
     this.button1.TabIndex = 19;
     this.button1.Text = "Ok";
     this.button1.Click += new System.EventHandler(this.button1_Click);
     //
     // button14
     //
     this.button14.Location = new System.Drawing.Point(688, 505);
     this.button14.Name = "button14";
     this.button14.Size = new System.Drawing.Size(40, 24);
     this.button14.TabIndex = 24;
     this.button14.Text = "Del";
     this.button14.Click += new System.EventHandler(this.button14_Click);
     //
     // button16
     //
     this.button16.Location = new System.Drawing.Point(632, 473);
     this.button16.Name = "button16";
     this.button16.Size = new System.Drawing.Size(96, 24);
     this.button16.TabIndex = 22;
     this.button16.Text = "Neu…";
     this.button16.Click += new System.EventHandler(this.button16_Click);
     //
     // button17
     //
     this.button17.Location = new System.Drawing.Point(632, 505);
     this.button17.Name = "button17";
     this.button17.Size = new System.Drawing.Size(40, 24);
     this.button17.TabIndex = 23;
     this.button17.Text = "Edit";
     this.button17.Click += new System.EventHandler(this.button17_Click);
     //
     // button13
     //
     this.button13.Location = new System.Drawing.Point(512, 342);
     this.button13.Name = "button13";
     this.button13.Size = new System.Drawing.Size(88, 20);
     this.button13.TabIndex = 27;
     this.button13.Text = "durchsuchen…";
     this.button13.Click += new System.EventHandler(this.button13_Click);
     //
     // Editor
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.ClientSize = new System.Drawing.Size(736, 544);
     this.ControlBox = false;
     this.Controls.Add(this.Editor_Fill_Panel);
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
     this.Name = "Editor";
     this.ShowInTaskbar = false;
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text = "Editor";
     this.Activated += new System.EventHandler(this.MeGotFocus);
     ((System.ComponentModel.ISupportInitialize)(this.trackBar1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.toolbars)).EndInit();
     this.toolbarPanel.ClientArea.ResumeLayout(false);
     this.toolbarPanel.ResumeLayout(false);
     this.ClientArea_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.ResumeLayout(false);
     this.Editor_Fill_Panel.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.previewBtn)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
     this.ResumeLayout(false);
 }