bug fixes

This commit is contained in:
chudov
2010-04-16 04:30:51 +00:00
parent a866b79341
commit 08722c0255
46 changed files with 1990 additions and 420 deletions

View File

@@ -29,12 +29,14 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Output));
this.mediaSliderVolume = new MediaSlider.MediaSlider();
this.peakMeterCtrl1 = new Ernzo.WinForms.Controls.PeakMeterCtrl();
this.buttonPause = new System.Windows.Forms.Button();
this.buttonPlay = new System.Windows.Forms.Button();
this.buttonStop = new System.Windows.Forms.Button();
this.timer1 = new System.Windows.Forms.Timer(this.components);
this.checkBoxMute = new System.Windows.Forms.CheckBox();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.outputBindingSource = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.outputBindingSource)).BeginInit();
this.SuspendLayout();
//
// mediaSliderVolume
@@ -61,7 +63,7 @@
this.mediaSliderVolume.Name = "mediaSliderVolume";
this.mediaSliderVolume.Orientation = System.Windows.Forms.Orientation.Vertical;
this.mediaSliderVolume.ShowButtonOnHover = false;
this.mediaSliderVolume.Size = new System.Drawing.Size(37, 114);
this.mediaSliderVolume.Size = new System.Drawing.Size(37, 101);
this.mediaSliderVolume.SliderFlyOut = MediaSlider.MediaSlider.FlyOutStyle.None;
this.mediaSliderVolume.SmallChange = 1;
this.mediaSliderVolume.SmoothScrolling = true;
@@ -91,63 +93,61 @@
this.peakMeterCtrl1.FalloffColor = System.Drawing.Color.Blue;
this.peakMeterCtrl1.GridColor = System.Drawing.Color.Gainsboro;
this.peakMeterCtrl1.LEDCount = 25;
this.peakMeterCtrl1.Location = new System.Drawing.Point(60, 9);
this.peakMeterCtrl1.Location = new System.Drawing.Point(46, 9);
this.peakMeterCtrl1.Margin = new System.Windows.Forms.Padding(0);
this.peakMeterCtrl1.Name = "peakMeterCtrl1";
this.peakMeterCtrl1.Size = new System.Drawing.Size(15, 109);
this.peakMeterCtrl1.Size = new System.Drawing.Size(15, 101);
this.peakMeterCtrl1.TabIndex = 13;
this.peakMeterCtrl1.Text = "peakMeterCtrl1";
//
// buttonPause
//
this.buttonPause.Image = global::CUEPlayer.Properties.Resources.control_pause_blue;
this.buttonPause.Location = new System.Drawing.Point(59, 130);
this.buttonPause.Name = "buttonPause";
this.buttonPause.Size = new System.Drawing.Size(25, 25);
this.buttonPause.TabIndex = 12;
this.buttonPause.UseVisualStyleBackColor = true;
this.buttonPause.Click += new System.EventHandler(this.buttonPause_Click);
//
// buttonPlay
//
this.buttonPlay.BackColor = System.Drawing.Color.Transparent;
this.buttonPlay.BackgroundImage = global::CUEPlayer.Properties.Resources.control_play_blue;
this.buttonPlay.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.buttonPlay.FlatAppearance.BorderSize = 0;
this.buttonPlay.Location = new System.Drawing.Point(9, 130);
this.buttonPlay.Name = "buttonPlay";
this.buttonPlay.Size = new System.Drawing.Size(25, 25);
this.buttonPlay.TabIndex = 10;
this.buttonPlay.UseVisualStyleBackColor = false;
this.buttonPlay.Click += new System.EventHandler(this.buttonPlay_Click);
//
// buttonStop
//
this.buttonStop.Image = global::CUEPlayer.Properties.Resources.control_stop_blue;
this.buttonStop.Location = new System.Drawing.Point(34, 130);
this.buttonStop.Name = "buttonStop";
this.buttonStop.Size = new System.Drawing.Size(25, 25);
this.buttonStop.TabIndex = 11;
this.buttonStop.UseVisualStyleBackColor = true;
this.buttonStop.Click += new System.EventHandler(this.buttonStop_Click);
//
// timer1
//
this.timer1.Enabled = true;
this.timer1.Interval = 50;
this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
//
// checkBoxMute
//
this.checkBoxMute.Appearance = System.Windows.Forms.Appearance.Button;
this.checkBoxMute.Checked = true;
this.checkBoxMute.CheckState = System.Windows.Forms.CheckState.Checked;
this.checkBoxMute.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.outputBindingSource, "Muted", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBoxMute.DataBindings.Add(new System.Windows.Forms.Binding("ImageIndex", this.outputBindingSource, "VolumeIcon", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
this.checkBoxMute.FlatAppearance.BorderSize = 0;
this.checkBoxMute.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent;
this.checkBoxMute.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.checkBoxMute.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.checkBoxMute.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.checkBoxMute.ImageIndex = 0;
this.checkBoxMute.ImageList = this.imageList1;
this.checkBoxMute.Location = new System.Drawing.Point(16, 110);
this.checkBoxMute.Name = "checkBoxMute";
this.checkBoxMute.Size = new System.Drawing.Size(22, 22);
this.checkBoxMute.TabIndex = 15;
this.checkBoxMute.UseVisualStyleBackColor = true;
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "sound_mute.png");
this.imageList1.Images.SetKeyName(1, "sound_none.png");
this.imageList1.Images.SetKeyName(2, "sound_low.png");
this.imageList1.Images.SetKeyName(3, "sound.png");
//
// outputBindingSource
//
this.outputBindingSource.DataSource = typeof(CUEPlayer.Output);
//
// Output
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(96, 168);
this.ClientSize = new System.Drawing.Size(74, 136);
this.ControlBox = false;
this.Controls.Add(this.checkBoxMute);
this.Controls.Add(this.mediaSliderVolume);
this.Controls.Add(this.peakMeterCtrl1);
this.Controls.Add(this.buttonPause);
this.Controls.Add(this.buttonPlay);
this.Controls.Add(this.buttonStop);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.MaximizeBox = false;
this.MinimizeBox = false;
@@ -155,6 +155,7 @@
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Output";
this.Load += new System.EventHandler(this.Output_Load);
((System.ComponentModel.ISupportInitialize)(this.outputBindingSource)).EndInit();
this.ResumeLayout(false);
}
@@ -163,9 +164,9 @@
private MediaSlider.MediaSlider mediaSliderVolume;
private Ernzo.WinForms.Controls.PeakMeterCtrl peakMeterCtrl1;
private System.Windows.Forms.Button buttonPause;
private System.Windows.Forms.Button buttonPlay;
private System.Windows.Forms.Button buttonStop;
private System.Windows.Forms.Timer timer1;
private System.Windows.Forms.CheckBox checkBoxMute;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.BindingSource outputBindingSource;
}
}