Пример #1
0
        private void DocTitleForm_Load(object sender, EventArgs e)
        {
            clientNameTextBox.Text  = shadow.GetClientName();
            projectNameTextBox.Text = shadow.GetProjectName();

            string imageData = shadow.GetLogoData();

            if (imageData.Length > 0)
            {
                Image image = Common.Base64ToImage(imageData);
                logoPictureBox.Image = image;
            }

            logoPictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
        }