Beispiel #1
0
        public DeviceTab(AudioDevice audioDevice)
        {
            AudioDevice = audioDevice;

            // tabPage
            //
            TabPage            = new System.Windows.Forms.TabPage(audioDevice.GetDisplayName());
            TabPage.AutoScroll = true;
            TabPage.Location   = new System.Drawing.Point(4, 22);
            TabPage.Name       = "tabPage_" + (audioDevice.GetHashCode().ToString());
            TabPage.Padding    = new System.Windows.Forms.Padding(3);
            TabPage.Size       = new System.Drawing.Size(899, 343);
            TabPage.TabIndex   = nextID;
            TabPage.UseVisualStyleBackColor = true;
        }