Ejemplo n.º 1
0
        public bool ShowDesign(WordsModuleDesign wordModuleDesign, IWin32Window owner)
        {
            _wordModuleDesign = wordModuleDesign;

            toolsConfig1.InitToolDesign(_wordModuleDesign.ToolsDesign);

            this.ShowDialog(owner);

            return(_isOk);
        }
Ejemplo n.º 2
0
        protected override void ReloadCustomDesign(string customContext)
        {
            if (string.IsNullOrEmpty(customContext))
            {
                return;
            }

            _wordModuleDesign = JsonHelper.DeserializeObject <WordsModuleDesign>(customContext);

            LoadDesign();
        }
Ejemplo n.º 3
0
        public WordsControl()
        {
            InitializeComponent();

            _wordModuleDesign = new WordsModuleDesign();

            _wordModuleDesign.ButWordLocateVisible = true;
            _wordModuleDesign.ButWordWriteVisible  = true;

            _wordModuleDesign.ToolsDesign.Visible = true;

            _wordModuleDesign.ToolsDesign.Size = toolStrip1.Height;

            _wordModuleDesign.ToolsDesign.BackColor  = toolStrip1.BackColor;
            _wordModuleDesign.ToolsDesign.ForceColor = toolStrip1.ForeColor;
        }