public MiscEditor() { InitializeComponent(); ToolTip toolTip1 = new ToolTip(); // Set up the delays for the ToolTip. toolTip1.AutoPopDelay = 5000; toolTip1.InitialDelay = 1000; toolTip1.ReshowDelay = 500; // Force the ToolTip text to be displayed whether or not the form is active. toolTip1.ShowAlways = true; toolTip1.SetToolTip(this.ComboAlign, "Item's Align"); toolTip1.SetToolTip(this.ComboInterlace, "Interlace type"); toolTip1.SetToolTip(this.ComboPlayMode, "Play Mode"); toolTip1.SetToolTip(this.ComboScale, "Scale Type"); toolTip1.SetToolTip(this.SpinnerEdgeSmooth, "Edge Smooth"); toolTip1.SetToolTip(this.SpinnerPixelAR, "Pixel AR"); m_bChangedByUI = false; ComboScale.DataSource = ObservableCollections.GetScaleTypes(); ComboAlign.DataSource = ObservableCollections.GetAligns(); ComboInterlace.DataSource = ObservableCollections.GetInterlaceTypes(); ComboPlayMode.DataSource = ObservableCollections.GetPlayModes(); m_bChangedByUI = true; m_bAceptExternalUpdate = true; this.Enabled = false; }
public BlurEditor() { InitializeComponent(); ToolTip toolTip1 = new ToolTip(); // Set up the delays for the ToolTip. toolTip1.AutoPopDelay = 5000; toolTip1.InitialDelay = 1000; toolTip1.ReshowDelay = 500; // Force the ToolTip text to be displayed whether or not the form is active. toolTip1.ShowAlways = true; toolTip1.SetToolTip(this.ComboBlurAlign, "Blur Align"); toolTip1.SetToolTip(this.SpinnerBlurSizeX, "Blur's Width"); toolTip1.SetToolTip(this.SpinnerBlurSizeY, "Blur's Height"); toolTip1.SetToolTip(this.ToggleBlur, "Enable/Disable Blur"); m_bChangedByUI = false; ComboBlurAlign.DataSource = ObservableCollections.GetAligns(); m_bChangedByUI = true; m_bAceptExternalUpdate = true; this.Enabled = false; }