示例#1
0
文件: Main.cs 项目: Pelsoft/fwk_10.3
        /// <summary>
        /// Abre el formulario para personalizar los templates
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void customizeTemplateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmTemplateSetting _FrmTemplateSetting = new FrmTemplateSetting();

            _FrmTemplateSetting.PropertyChange += new PropertyChangeHandler(_FrmTemplateSetting_PropertyChange);

            if (!String.IsNullOrEmpty(_LastAccessStorage.LastAccess.LastTemplateSettingFileName))
                _FrmTemplateSetting.FullFileName = _LastAccessStorage.LastAccess.LastTemplateSettingFileName;

            _TemplateSettingObject = _FrmTemplateSetting.TemplateSettingObject.Clone();


            _FrmTemplateSetting.Show(dockPanel1, Fwk.Controls.Win32.DockState.Document);
        }
示例#2
0
        /// <summary>
        /// Carga TemplateSettingObject sin mostrar el formulario FrmTemplateSetting
        /// Esto se hace al iniciar la aplicacion para cargar el ultimo setteing del usuario.
        /// </summary>
        void InitTemplateSettingObject()
        {
            FrmTemplateSetting _FrmTemplateSetting = new FrmTemplateSetting();


            if (!String.IsNullOrEmpty(_LastAccessStorage.LastAccess.LastTemplateSettingFileName))
            {
                _FrmTemplateSetting.FullFileName = _LastAccessStorage.LastAccess.LastTemplateSettingFileName;
                _FrmTemplateSetting.Refresh();
            }

            _TemplateSettingObject = _FrmTemplateSetting.TemplateSettingObject.Clone();
            _FrmTemplateSetting.Close();
            _FrmTemplateSetting.Dispose();
        }
示例#3
0
        /// <summary>
        /// Abre el formulario para personalizar los templates
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void customizeTemplateToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmTemplateSetting _FrmTemplateSetting = new FrmTemplateSetting();

            _FrmTemplateSetting.PropertyChange += new PropertyChangeHandler(_FrmTemplateSetting_PropertyChange);

            if (!String.IsNullOrEmpty(_LastAccessStorage.LastAccess.LastTemplateSettingFileName))
            {
                _FrmTemplateSetting.FullFileName = _LastAccessStorage.LastAccess.LastTemplateSettingFileName;
            }

            _TemplateSettingObject = _FrmTemplateSetting.TemplateSettingObject.Clone();


            _FrmTemplateSetting.Show(dockPanel1, Fwk.Controls.Win32.DockState.Document);
        }
示例#4
0
文件: Main.cs 项目: Pelsoft/fwk_10.3
        /// <summary>
        /// Carga TemplateSettingObject sin mostrar el formulario FrmTemplateSetting
        /// Esto se hace al iniciar la aplicacion para cargar el ultimo setteing del usuario.
        /// </summary>
        void InitTemplateSettingObject()
        {
            FrmTemplateSetting _FrmTemplateSetting = new FrmTemplateSetting();


            if (!String.IsNullOrEmpty(_LastAccessStorage.LastAccess.LastTemplateSettingFileName))
            {
                _FrmTemplateSetting.FullFileName = _LastAccessStorage.LastAccess.LastTemplateSettingFileName;
                _FrmTemplateSetting.Refresh();
            }

            _TemplateSettingObject = _FrmTemplateSetting.TemplateSettingObject.Clone();
            _FrmTemplateSetting.Close();
            _FrmTemplateSetting.Dispose();
        }