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 TextGradientEditor() { 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.ComboGradientType, "Gradient Type"); toolTip1.SetToolTip(this.SpinnerGradientAngle, "Gradient Angle"); toolTip1.SetToolTip(this.buttonAddGradient, "Add Color to Gradient"); m_bChangedByUI = false; CPColor0.BackColor = Color.Transparent; CPColor0.Width = 28; CPColor0.Height = 16; CPColor0.Click += CPColor0_Click; StackColors.Controls.Add(CPColor0); m_bChangedByUI = true; m_bAceptExternalUpdate = true; this.Enabled = false; ComboGradientType.DataSource = ObservableCollections.GetGradientTypes(); }
public FontEditor() { 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.ComboFlip, "Text Flip Type"); toolTip1.SetToolTip(this.ComboFontFamily, "Font Family"); toolTip1.SetToolTip(this.ComboFontTypeface, "Font Type"); toolTip1.SetToolTip(this.SpinnerFontSize, "Font Size"); toolTip1.SetToolTip(this.ToggleNoTabs, "No Tabs"); toolTip1.SetToolTip(this.ToggleRightToLeft, "Right To Left"); toolTip1.SetToolTip(this.ToggleStrikeout, "Strikeout"); toolTip1.SetToolTip(this.ToggleUnderline, "Underline"); toolTip1.SetToolTip(this.ToggleVertical, "Vertical"); toolTip1.SetToolTip(this.ToggleWordWrap, "Word Wrap"); m_bChangedByUI = false; FillFontFamilies(); m_bChangedByUI = true; m_bAceptExternalUpdate = true; this.Enabled = false; //Set collections ComboFlip.DataSource = ObservableCollections.GetFlipModes(); }
public ShapeEditor() { 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.ComboShapeType, "Shape Type"); toolTip1.SetToolTip(this.SpinnerNSides, "Number of Sides"); toolTip1.SetToolTip(this.SpinnerRotate, "Rotate Angle"); toolTip1.SetToolTip(this.SpinnerRoundCorners, "Round Corners"); m_bChangedByUI = true; m_bAceptExternalUpdate = true; this.Enabled = false; ComboShapeType.DataSource = ObservableCollections.GetShapeTypes(); }
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; }