CSReportEditor.fMain.setEditAlignTextState C# (CSharp) Method

setEditAlignTextState() public method

public setEditAlignTextState ( bool status ) : void
status bool
return void
        public void setEditAlignTextState(bool status)
        {
            var buttons = this.tbMain.Items;

            buttons[cGlobals.c_BTN_ALIGN_CENTER].Enabled = status;
            buttons[cGlobals.c_BTN_ALIGN_LEFT].Enabled = status;
            buttons[cGlobals.c_BTN_ALIGN_RIGHT].Enabled = status;
            buttons[cGlobals.c_BTN_FONT_BOLD].Enabled = status;
        }

Usage Example

Example #1
0
 public static void setEditAlignTextState(bool status)
 {
     fmain.setEditAlignTextState(status);
 }
fMain