예제 #1
0
        //================================================================================================================================================//
        // ADD HOURS FOR CONTRACTOR                                                                                                                       //
        //================================================================================================================================================//
        private void Btn_C_NewWW_Click(object sender, EventArgs e)
        {
            if (isFiltered)
            {
                RemoveFilter();
            }

            send = sender;

            using (HoursAdd frmHA = new HoursAdd())
                frmHA.ShowDialog(this);

            LoadHours();
        }
예제 #2
0
        //================================================================================================================================================//
        // EDIT HOURS FOR CONTRACTOR                                                                                                                       //
        //================================================================================================================================================//
        private void Dgv_Contractors_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            if (isFiltered)
            {
                RemoveFilter();
            }

            send          = sender;
            SELECTED_HOUR = e.RowIndex;

            using (HoursAdd frmHA = new HoursAdd())
                frmHA.ShowDialog(this);

            LoadHours();
        }