예제 #1
0
 protected virtual void OnAdvancedOptionsChecked(BoolChangedEventArgs e)
 {
     if (AdvancedOptionsChecked != null)
     {
         AdvancedOptionsChecked(this, e);
     }
 }
예제 #2
0
 protected virtual void OnRotateCheckboxChanged(BoolChangedEventArgs e)
 {
     if (RotateCheckboxChanged != null)
     {
         RotateCheckboxChanged(this, e);
     }
 }
예제 #3
0
        public void ToolbarIsVisibleChanged(object sender, BoolChangedEventArgs e)
        {
            List <ToolbarItem> items = new List <ToolbarItem>();

            foreach (Sveit.Controls.HideableToolbarItem toolbarItem in ToolbarItems)
            {
                if (toolbarItem.IsVisible == false)
                {
                    items.Add(toolbarItem);
                }
            }
            foreach (Sveit.Controls.HideableToolbarItem toolbarItem in items)
            {
                ToolbarItems.Remove(toolbarItem);
            }
        }
예제 #4
0
        /// <summary>
        /// Handles the RotateCheckboxChanged event of the behaviorSettings1 control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="Backround_Cycler.EventArguments.BoolChangedEventArgs"/> instance containing the event data.</param>
        private void behaviorSettings1_RotateCheckboxChanged(object sender, BoolChangedEventArgs e)
        {
            if (e.Enabled)
            {
                this.changebackroundtimer.Enabled = true;
                this.CalculateTime();

                debug1.ChangeTimeLable(true);
            }
            else
            {
                this.changebackroundtimer.Enabled = false;

                debug1.ChangeTimeLable(false);
            }
        }
예제 #5
0
 /// <summary>
 /// Handles the AdvancedOptionsChecked event of the behaviorSettings1 control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Backround_Cycler.EventArguments.BoolChangedEventArgs"/>
 /// instance containing the event data.</param>
 private void behaviorSettings1_AdvancedOptionsChecked(object sender,
                                                       BoolChangedEventArgs e)
 {
     DebugOptions(e.Enabled);
 }