コード例 #1
0
ファイル: F36090.cs プロジェクト: CSSAdmin/TScan
 /// <summary>
 /// Initializes a new instance of the <see cref="T:F84721"/> class.
 /// </summary>
 /// <param name="masterform">The masterform.</param>
 /// <param name="formNo">The form no.</param>
 /// <param name="keyID">The key ID.</param>
 /// <param name="red">The red.</param>
 /// <param name="green">The green.</param>
 /// <param name="blue">The blue.</param>
 /// <param name="tabText">The tab text.</param>
 /// <param name="permissionEdit">if set to <c>true</c> [permission edit].</param>
 public F36090(int masterform, int formNo, int keyID, int red, int green, int blue, string tabText, bool permissionEdit)
 {
     this.InitializeComponent();
     this.masterFormNo                 = masterform;
     this.Tag                          = formNo;
     this.IncomeSourceID               = keyID;
     this.formMasterPermissionEdit     = permissionEdit;
     this.sectionIndicatorText         = tabText;
     this.redColor                     = red;
     this.greenColor                   = green;
     this.blueColor                    = blue;
     this.IncomeSourcePictureBox.Image = ExtendedGraphics.GenerateVerticalImageWithSmallFont(this.IncomeSourcePictureBox.Height, this.IncomeSourcePictureBox.Width, this.sectionIndicatorText, this.redColor, this.greenColor, this.blueColor);
 }