Exemple #1
0
            /// <summary>
            /// Конструктор - основной (без параметров)
            /// </summary>
            public HLabelCustomTecView(PanelTecViewBase.LabelViewProperties.BANK_DEFAULT bankName)
            {
                this.Dock        = DockStyle.Fill;
                this.Text        = s_msg;
                this.BorderStyle = BorderStyle.Fixed3D;
                this.TextAlign   = ContentAlignment.MiddleCenter;
                //this.AutoSize = false; // по умолчанию 'false'
                this.SetAutoSizeMode(AutoSizeMode.GrowOnly);
                _fontDefault    =
                    _fontActual =
                        this.Font;

                //m_listIdContextMenuItems = new List<int>();

                m_propView = new PanelTecViewBase.LabelViewProperties(bankName);

                ForeColorChanged += new EventHandler(onForeColorChanged);
                BackColorChanged += new EventHandler(onBackColorChanged);

                //this.SizeChanged += new EventHandler (onSizeChanged);
            }
Exemple #2
0
 /// <summary>
 /// Метод инициирующий возникновение события из-вне
 /// </summary>
 /// <param name="obj">Аргумент события</param>
 public void PerformRestruct(PanelTecViewBase.LabelViewProperties obj)
 {
     EventRestruct(obj);
 }