Beispiel #1
0
        //----------------------------------------------------------------------------//
        //     Property                                                               //
        //----------------------------------------------------------------------------//

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

            uih.DgvReadyNoRHeader();
            uih.NoSortable();

            DateTime dtNow = DateTime.Now;

            iniRCnt = Convert.ToInt32((dtNow.EndOfMonth()).Day) - 1;
            dataGridView1.Rows.Add(iniRCnt);

            edit_Labels();
            edit_TextBox();
            create_dtPicker();

            // 作業項目マスタの一覧作成
            EstPlanOp ep = new EstPlanOp();

            wid = ep.StoreWorkItemsData(ted.MemberCode);

            initialProcessing(0);

            nowMonth();
        }
Beispiel #2
0
        private void FormPlanningCont_Load(object sender, EventArgs e)
        {
            this.defaultCellStyle = new DataGridViewCellStyle();

            UiHandling uih = new UiHandling(dataGridView1);

            //並び替えができないようにする
            foreach (DataGridViewColumn c in dataGridView1.Columns)
            {
                c.SortMode = DataGridViewColumnSortMode.NotSortable;
            }
            // Assist Message クリア
            labelMsg.Text = "";

            dataGridView1.Rows.Add(iniRCnt);
            buttonNumbering();

            initialDisplayPlannignContData();

            create_cbEVersion();

            // 作業項目マスタの取込み
            EstPlanOp ep = new EstPlanOp();

            wid = ep.StoreWorkItemsData(ted.MemberCode);

            // I/Fデータ(plnd)の既存データ数確認と利用可能ボタンの設定
            setButtonEnabled();

            // 既存内訳データ読込
            if (endPoint > -1 && plnd[idx].PlanningID > 0)
            {
                loadPlanningContData(dataGridView1);
            }

            updateStat = false;
        }