Exemplo n.º 1
0
        private void onayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Genel.onayXF frm = new Genel.onayXF();
            string       islYtkCur, accYtkCur;

            Program.MF.IslAccCurYtk("M", OPMid, out islYtkCur, out accYtkCur);
            frm.curYTK = accYtkCur;
            frm.Tbl    = "OPMA";
            frm.TblPK  = OPMid;
            frm.ShowDialog();
            frm.Dispose();
        }
Exemplo n.º 2
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dvkGridView.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !dvkGridView.IsDataRow(dvkGridView.FocusedRowHandle))
            {
                return;
            }

            Save();
            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = dvkGridView.GetFocusedRowCellDisplayText(colONYYTK);
            frm.DvkDvz = dvkGridView.GetFocusedRowCellDisplayText(colDVZ);
            frm.DvkTrh = (DateTime)dvkGridView.GetFocusedRowCellValue(colTRH);
            frm.ShowDialog();
            frm.Dispose();
            this.dVKTableAdapter.Fill(this.accountDataSet.DVK, trhDateEdit.DateTime);
        }
Exemplo n.º 3
0
        private void onaylaCToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (tacGridView.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !tacGridView.IsDataRow(tacGridView.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)tacGridView.GetFocusedRowCellValue(colTACIDc);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = tafGridView.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "TAC";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();
        }
Exemplo n.º 4
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var view = afbGridView;

            if (view.FocusedRowHandle == DevExpress.XtraGrid.GridControl.NewItemRowHandle || !view.IsDataRow(view.FocusedRowHandle))
            {
                return;
            }

            int afbID = (int)view.GetFocusedRowCellValue(colAFBID);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = view.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "AFB";
            frm.TblPK  = afbID;
            frm.ShowDialog();
            frm.Dispose();
            this.afbTableAdapter.Fill(this.accountDataSet.AFB, string.Format("AFBid = {0}", afbID), Program.USR); //Refresh Clear=false
        }
Exemplo n.º 5
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var view = prtGridView;

            if (view.FocusedRowHandle == DevExpress.XtraGrid.GridControl.NewItemRowHandle || !view.IsDataRow(view.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)view.GetFocusedRowCellValue(colPRTID);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = view.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "PRT";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();
            this.prtTableAdapter.Fill(opsDataSet.PRT, $"PRTID = {PK}", Program.USR);
        }
Exemplo n.º 6
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var view = kkoGridView;

            if (view.FocusedRowHandle == DevExpress.XtraGrid.GridControl.NewItemRowHandle || !view.IsDataRow(view.FocusedRowHandle))
            {
                return;
            }

            int pk = (int)view.GetFocusedRowCellValue("KKOID");

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = view.GetFocusedRowCellDisplayText("ONYYTK");
            frm.Tbl    = "KKO";
            frm.TblPK  = pk;
            frm.ShowDialog();
            frm.Dispose();
            this.kkoTableAdapter.Fill(this.kkDataSet.KKO, string.Format("KKOID={0}", pk), Program.USR);
        }
Exemplo n.º 7
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            var view = afblGridView;

            if (!view.IsDataRow(view.FocusedRowHandle))
            {
                return;
            }

            //if (afblGridView.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !afblGridView.IsDataRow(afblGridView.FocusedRowHandle))
            //    return;

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = afblGridView.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "AFB";
            frm.TblPK  = (int)afblGridView.GetFocusedRowCellValue(colAFBIDb);
            frm.ShowDialog();
            frm.Dispose();
        }
Exemplo n.º 8
0
        private void onayAccountToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (opmGridView.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !opmGridView.IsDataRow(opmGridView.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)opmGridView.GetFocusedRowCellValue(colOPMID);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = opmGridView.GetFocusedRowCellDisplayText(colONYAYTK);
            frm.Tbl    = "OPMA";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();

            this.opmSelTableAdapter.ClearBeforeFill = false;
            this.opmSelTableAdapter.Fill(this.opsDataSet.OPM_SEL, string.Format("OPMid = {0}", PK), Program.USR);
        }
Exemplo n.º 9
0
        private void onaylaMtoolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (tamGridView.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !tamGridView.IsDataRow(tamGridView.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)tafGridView.GetFocusedRowCellValue(colTAMIDm);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = tamGridView.GetFocusedRowCellDisplayText(colONYYTKm);
            frm.Tbl    = "TAM";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();

            this.tamTableAdapter.ClearBeforeFill = false;
            this.tamTableAdapter.Fill(this.teklifDataSet.TAM, string.Format("TAMid = {0}", PK), Program.USR);
        }
Exemplo n.º 10
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            GridView view = tsbGridView;

            if (view.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !view.IsDataRow(view.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)view.GetFocusedRowCellValue(colTSBID);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = view.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "TSB";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();

            //this.tsbTableAdapter.FillByPK(this.teklifDataSet.TSB, PK);
        }
Exemplo n.º 11
0
        private void onaylaToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Save();

            if (gridView1.FocusedRowHandle == DevExpress.XtraGrid.GridControl.InvalidRowHandle || !gridView1.IsDataRow(gridView1.FocusedRowHandle))
            {
                return;
            }

            int PK = (int)gridView1.GetFocusedRowCellValue(colFRCAID);

            Genel.onayXF frm = new Genel.onayXF();
            frm.curYTK = gridView1.GetFocusedRowCellDisplayText(colONYYTK);
            frm.Tbl    = "FRCA";
            frm.TblPK  = PK;
            frm.ShowDialog();
            frm.Dispose();

            //this.tstTableAdapter.ClearBeforeFill = false;
            //this.tstTableAdapter.Fill(this.teklifDataSet.TST, string.Format("TSTid = {0}", PK), Program.USR);
        }