Ejemplo n.º 1
0
        //--------------------------------------------------------------------------//
        //     Property                                                             //
        //--------------------------------------------------------------------------//

        //--------------------------------------------------------------------------//
        //     Method                                                               //
        //--------------------------------------------------------------------------//
        private void FormTaskSummary_Load(object sender, EventArgs e)
        {
            UiHandling uih = new UiHandling(dataGridView1);

            uih.DgvReadyNoRHeader();
            uih.DgvNotSortable(dataGridView1);

            initializeScreen();
            Conv.OfficeAndDepartZ(comboBoxOffice, comboBoxDepartment);
        }
Ejemplo n.º 2
0
        //--------------------------------------------------------------------------//
        //     Property                                                             //
        //--------------------------------------------------------------------------//

        //--------------------------------------------------------------------------//
        //     Method                                                               //
        //--------------------------------------------------------------------------//
        private void FormInputCostData_Load(object sender, EventArgs e)
        {
            this.defaultCellStyle = new DataGridViewCellStyle();
            UiHandling uih = new UiHandling(dataGridView1);

            uih.DgvReadyNoRHeader();
            uih.DgvNotSortable(dataGridView1);

            viewModeProperty();
            //reverseProperty();
            initializeScreen();
            initialDisplay();
            calculateAmount();
        }
Ejemplo n.º 3
0
        //--------------------------------------------------------------------------//
        //     SubRoutine                                                           //
        //--------------------------------------------------------------------------//
        private void initializeScreen()
        {
            labelMessage.Text = "";

            dataGridView1.Rows.Clear();
            dataGridView1.Rows.Add(iniRCnt);
            UiHandling uih = new UiHandling(dataGridView1);

            uih.DgvReadyNoRHeader();
            uih.DgvNotSortable(dataGridView1);
            uih.DgvColumnsWrapModeON();

            create_cbOffice();
            comboBoxOffice.Text = hp.OfficeName;
            create_cbDepart();
            comboBoxDepart.Text = hp.DepartName;        // 初期値

            create_cbMonth();

            init_dateTimePicker();
        }