Exemple #1
0
        void IDeviceSpecificDesigner.InitHeader(int mergingContext)
        {
            HeaderPanel panel          = new HeaderPanel();
            HeaderLabel lblDescription = new HeaderLabel();

            lblDescription.TabIndex = 0;
            lblDescription.Text     = SR.GetString(SR.MobileControl_SettingGenericChoiceDescription);

            panel.Height = lblDescription.Height;
            panel.Width  = lblDescription.Width;
            panel.Controls.Add(lblDescription);
            _header = panel;
        }
        void IDeviceSpecificDesigner.InitHeader(int mergingContext)
        {
            HeaderPanel panel = new HeaderPanel();
            HeaderLabel lblDescription = new HeaderLabel();

            lblDescription.TabIndex = 0;
            lblDescription.Text = SR.GetString(SR.MobileControl_SettingGenericChoiceDescription);
            
            panel.Height = lblDescription.Height;
            panel.Width = lblDescription.Width;
            panel.Controls.Add(lblDescription);
            _header = panel;
        }