public ListParameterBase(IMaintainData maintainData)
 {
     InitializeComponent();
     buttonClose.Click += ButtonCloseClick;
     buttonApply.Click += ButtonApplyClick;
     buttonOk.Click += ButtonOkClick;
     buttonClear.Click += ButtonClearClick;
     MaintainData = maintainData;
 }
 public ListParameterBase(IMaintainData maintainData)
 {
     InitializeComponent();
     buttonClose.Click += ButtonCloseClick;
     buttonApply.Click += ButtonApplyClick;
     buttonOk.Click    += ButtonOkClick;
     buttonClear.Click += ButtonClearClick;
     MaintainData       = maintainData;
 }
 internal void Edit(Form form, int id, IMaintainData maintaianControl)
 {
     MaintainData = maintaianControl;
     DataStatus = 2;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Edit Employee Position", "");
         PopulateInterfaceFromModel(id);
         SetEditButton();
         editor.ShowDialogEditor(form, this);
     }
 }
 internal void Delete(Form form, int id, IMaintainData maintaianControl)
 {
     MaintainData = maintaianControl;
     DataStatus   = 3;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Delete Employee Position", "");
         PopulateInterfaceFromModel(id);
         SetDeleteButton();
         editor.ShowDialogEditor(form, this);
     }
 }
Beispiel #5
0
 internal void Edit(Form form, int id, IMaintainData maintaianControl)
 {
     MaintainData = maintaianControl;
     DataStatus   = 2;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Edit Payroll Group", "");
         PopulateInterfaceFromModel(id);
         SetEditButton();
         editor.ShowDialogEditor(form, this);
     }
 }
 internal void Create(Form form, IMaintainData maintaianControl)
 {
     MaintainData = maintaianControl;
     var maintainData = form as IMainConfiguration;
     if (maintainData != null)
     {
         createdBy.Text = maintainData.CurrentUserName;
         createdDate.Value = DateTime.Now;
     }
     DataStatus = 1;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Create New Employee Position", "");
         SetCreateButton();
         editor.ShowDialogEditor(form, this);
     }
 }
        internal void Create(Form form, IMaintainData maintaianControl)
        {
            MaintainData = maintaianControl;
            var maintainData = form as IMainConfiguration;

            if (maintainData != null)
            {
                createdBy.Text    = maintainData.CurrentUserName;
                createdDate.Value = DateTime.Now;
            }
            DataStatus = 1;
            using (var editor = new BlankForm())
            {
                Text = string.Format("{0}Create New Employee Position", "");
                SetCreateButton();
                editor.ShowDialogEditor(form, this);
            }
        }
Beispiel #8
0
 internal void Edit(Form form, int id, IMaintainData maintaianControl)
 {
     MaintainData = maintaianControl;
     DataStatus   = 2;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Edit Employee", "");
         PopulateInterfaceFromModel(id);
         var maintainData = form as IMainConfiguration;
         if (maintainData != null)
         {
             modifiedBy.Text    = maintainData.CurrentUserName;
             modifiedDate.Value = DateTime.Now;
         }
         SetEditButton();
         editor.ShowDialogEditor(form, this);
     }
 }
        internal DialogResult Create(Form form, IMaintainData maintaianControl)
        {
            MaintainData = maintaianControl;
            var maintainData = form as IMainConfiguration;
            if (maintainData != null)
            {
                //createdBy.Text = maintainData.CurrentUserName;
                //createdDate.Value = DateTime.Now;
            }
            DataStatus = 1;

            using (var editor = new BlankForm())
            {
                Text = string.Format("{0}Add Payroll Item", "");
                SetCreateButton();
                editor.ShowDialogEditor(form, this);
                return DialogResult;
            }
        }
 internal void Create(Form form, IMaintainData maintaianControl)
 {
     MaintainData      = maintaianControl;
     mainConfiguration = form as IMainConfiguration;
     DataStatus        = 1;
     using (var editor = new BlankForm())
     {
         Text = string.Format("{0}Create New Payroll Group", "");
         SetCreateButton();
         recordId.Text     = DefaultValue.AUTO_GENERATE_TEXT;
         recordId.ReadOnly = true;
         LoadComboItem();
         //kDataGridView1.UserAddedRow += KDataGridView1UserAddedRow;
         kDataGridView1.RowsAdded       += KDataGridView1RowsAdded;
         kDataGridView1.CellEndEdit     += KDataGridView1CellEndEdit;
         kDataGridView1.UserDeletingRow += KDataGridView1UserDeletingRow;
         editor.ShowDialogEditor(form, this);
     }
 }
        internal DialogResult Create(Form form, IMaintainData maintaianControl)
        {
            MaintainData = maintaianControl;
            var maintainData = form as IMainConfiguration;

            if (maintainData != null)
            {
                //createdBy.Text = maintainData.CurrentUserName;
                //createdDate.Value = DateTime.Now;
            }
            DataStatus = 1;

            using (var editor = new BlankForm())
            {
                Text = string.Format("{0}Add Payroll Item", "");
                SetCreateButton();
                editor.ShowDialogEditor(form, this);
                return(DialogResult);
            }
        }
Beispiel #12
0
 public PositionParameterList(IMaintainData maintainData)
     : base(maintainData)
 {
     InitializeComponent();
 }
Beispiel #13
0
 public PayrollGroupParameterList(IMaintainData maintainData)
     : base(maintainData)
 {
     InitializeComponent();
 }
 public PositionParameterList(IMaintainData maintainData)
     : base(maintainData)
 {
     InitializeComponent();
 }
 public EmployeeParameterList(IMaintainData maintainData)
     : base(maintainData)
 {
     InitializeComponent();
     SetLikeOperator();
 }
 public CityParameterList(IMaintainData maintainData)
     : base(maintainData)
 {
     InitializeComponent();
     SetLikeOperator();
 }