private void frmMusteriAra_Load(object sender, EventArgs e)
        {
            //DataTable dt = DB.GetData("select top 1 * from Sirketler");
            //if (dt.Rows.Count>0)
            //{
            //    if (dt.Rows[0]["BonusYuzde"].ToString()=="0")
            //    gcBonus.Visible = false;
            //}
            musteriara();

            Yazdirma_islemleri yi = new Yazdirma_islemleri();

            yi.GridTasarimYukle(gridView1, "MusteriAraSiparisGrid");
        }
Exemple #2
0
        private void ucCekListesi_Load(object sender, EventArgs e)
        {
            MenuOlustur();
            ceklistesi();

            Yazdirma_islemleri yi = new Yazdirma_islemleri();

            yi.GridTasarimYukle(gridView1, "CeklerGrid");
            //string Dosya = DB.exeDizini + "\\CeklerGrid.xml";

            //if (File.Exists(Dosya))
            //{
            //    gridView1.RestoreLayoutFromXml(Dosya);
            //    gridView1.ActiveFilter.Clear();
            //}
        }
        private void ucBankaListesi_Load(object sender, EventArgs e)
        {
            taksitlistesi();

            if (this.Tag != null)
            {
                if (this.Tag.ToString() != "")
                {
                    DevExpress.XtraGrid.Views.Base.ColumnView view = gridView1;
                    view.ActiveFilter.Add(view.Columns["Firmaadi"],
                                          new DevExpress.XtraGrid.Columns.ColumnFilterInfo("[Firmaadi] Like '" + this.Tag.ToString() + "'", ""));
                }
            }

            Yazdirma_islemleri yi = new Yazdirma_islemleri();

            yi.GridTasarimYukle(gridView1, "SenetlerGrid");

            gridView1.ExpandAllGroups();
            gridView1.ExpandGroupRow(0);
            //gridView1.ActiveFilterString = this.Tag.ToString();
        }
        private void ucKasaHareketleri_Load(object sender, EventArgs e)
        {
            if (!formislemleri.SifreIste())
            {
                Close();
                return;
            }

            DataTable dt = DB.GetData("SELECT * FROM Kasalar with(nolock) where Aktif=1");

            lueKasa.Properties.DataSource    = dt;
            lueKasa.Properties.ValueMember   = "pkKasalar";
            lueKasa.Properties.DisplayMember = "KasaAdi";
            lueKasa.EditValue = 1;

            cbTarihAraligi.SelectedIndex = 0;

            btnListele_Click(sender, e);
            //ilkdate.DateTime = DateTime.Today;
            //sondate.DateTime = DateTime.Today;

            //Thread.Sleep(1000);
            //Thread islem = new Thread(new ThreadStart(Kasadakipara));
            //islem.Start();
            Kasadakipara();

            //Thread.Sleep(1000);
            System.Windows.Forms.Form.CheckForIllegalCrossThreadCalls = false;
            Thread islem = new Thread(new ThreadStart(DevirGetir));

            islem.Start();

            Yazdirma_islemleri yi = new Yazdirma_islemleri();

            yi.GridTasarimYukle(gridView2, "KasaHareketleriGrid");
        }