private void menuItem12_Click(object sender, System.EventArgs e)
        {
            Cari            c  = new Cari(CariNotextBox.Text, config);
            SiparisRaporlar sr = new SiparisRaporlar(config, c);

            sr.Show();
        }
 public SiparisIslemleri(Config config)
 {
     this.config    = config;
     this.cari      = cari;
     CeConn         = config.CeConn;
     cmd.Connection = CeConn;
 }
        private void menuItem20_Click(object sender, System.EventArgs e)
        {
            Cari        c  = new Cari(CariNotextBox.Text, config);
            ZiyaretForm zf = new ZiyaretForm(c, config);

            zf.Show();
        }
        private void menuItem18_Click(object sender, System.EventArgs e)
        {
            Cari c = new Cari(CariNotextBox.Text, config);
            TahsilatFormGiris tg = new TahsilatFormGiris(c, config);

            tg.Show();
        }
 public SiparisIslemleri(Config config, Cari cari)
 {
     this.config = config;
     this.cari   = cari;
     CeConn      = config.CeConn;
     CeConn.Open();
     cmd.Connection = CeConn;
 }
 public SiparisIslemleri(int SiparisNo, Config config, Cari cari)
 {
     this.SiparisNo = SiparisNo;
     this.config    = config;
     this.cari      = cari;
     CeConn         = config.CeConn;
     cmd.Connection = CeConn;
 }
        private void menuItem21_Click(object sender, System.EventArgs e)
        {
            Cari c = new Cari(CariNotextBox.Text, this.config);

            ZiyaretRaporForm zrf = new ZiyaretRaporForm(c, config);

            zrf.Show();
        }
        public ZiyaretRaporForm(Cari cari, Config config)
        {
            this.cari   = cari;
            this.config = config;
            InitializeComponent();

            ZiyaretdataGrid.DataSource = Ziyaretler(cari.carino).Tables[0];
        }
Exemple #9
0
        public SiparisRaporlar(Config config, Cari cari)
        {
            this.config = config;
            this.cari   = cari;
            si          = new SiparisIslemleri(config);

            InitializeComponent();
            SiparisdataGrid.DataSource = si.TumSiparisDetaylariSorgu(cari.carino).Tables[0];
            label1.Text = si.tumSiparisTutarlari(cari.carino).ToString();

            InitializeComponent();
        }
Exemple #10
0
        public ZiyaretForm(Cari cari, Config config)
        {
            this.cari   = cari;
            this.config = config;
            Ceconn      = config.CeConn;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
        public SiparisDetay(Config cf, int SiparisNo, Cari c, string OdemeSekli)
        {
            this.cf        = cf;
            this.SiparisNo = SiparisNo;
            this.cari      = c;
            IskontoField   = cf.GetVadeField(OdemeSekli, out MaxVadeValue);

            CeConn.StateChange += new StateChangeEventHandler(CeConn_StateChange);



            InitializeComponent();

            //BindSiparisGrid();
        }
Exemple #12
0
        public TahsilatFormGiris(Cari cari, Config config)
        {
            this.config    = config;
            this.cari      = cari;
            this.CeConn    = config.CeConn;
            cmd.Connection = CeConn;
            //
            // Required for Windows Form Designer support
            //
            InitializeComponent();

            //
            // TODO: Add any constructor code after InitializeComponent call
            //
        }
 public CariBilgiForm(string Carino, Config config)
 {
     InitializeComponent();
     c                 = new Cari(Carino, config);
     cariadi.Text      = c.cariadi;
     carino.Text       = Carino;
     vergidairesi.Text = c.vergidairesi;
     vergino.Text      = c.vergino;
     risklimiti.Text   = c.risklimiti;
     toplamrisk.Text   = c.toplamrisk;
     borcbakiye.Text   = c.borcbakiye;
     ortalamavade.Text = c.ortalamavade;
     ADres.Text        = c.cariadres1 + "\r\n" + c.cariadres2;
     telefon.Text      = c.caritel;
 }
Exemple #14
0
        public SiparisForm(string CariNo, Config cf)
        {
            this.cf = cf;
            InitializeComponent();
            c      = new Cari(CariNo, cf);
            Ceconn = cf.CeConn;

            cariadi.Text = c.cariadi;
            carino.Text  = CariNo;
            odemeSeklicomboBox.SelectedIndex = 0;


            toplamrisk.Text   = c.toplamrisk;
            borcbakiye.Text   = c.borcbakiye;
            ortalamavade.Text = c.ortalamavade;
        }
Exemple #15
0
        public TahsilatForm(Config config, Cari cari, int MakbuzNo, float kilometre)
        {
            this.config = config;
            this.cari   = cari;
            Ceconn      = config.CeConn;

            this.MakbuzNo  = MakbuzNo;
            this.kilometre = kilometre;



            InitializeComponent();
            dc = new DateCombos(Gun, Ay, Yil);
            odemeSeklicomboBox.SelectedIndex = 0;
            borclutextBox.Text = cari.cariadi;
        }