コード例 #1
0
ファイル: AnaMenu.cs プロジェクト: EmreBHDR/Goto724
        private void elementMusListe_Click(object sender, EventArgs e)
        {
            MusteriListesi form = new MusteriListesi();

            form.MdiParent     = this;
            form.StartPosition = FormStartPosition.CenterScreen;
            form.Show();
        }
コード例 #2
0
 private void tileItem2_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
 {
     try
     {
         MusteriListesi musteriListesi = new MusteriListesi();
         musteriListesi.Show();
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }
コード例 #3
0
ファイル: Banka.cs プロジェクト: FeyzaTopcu/BANKAOTOMASYONU
        public void MusteriEkle(Musteri m)
        {
            bool kontrol = true;

            foreach (Musteri ms in MusteriListesi)
            {
                if (ms.MusteriNo == m.MusteriNo)
                {
                    kontrol = false;
                }
            }
            if (kontrol == true)
            {
                MusteriListesi.Add(m);
            }
            else
            {
                System.Windows.Forms.MessageBox.Show("Aynı numaraya sahip müşteri var!");
            }
        }
コード例 #4
0
ファイル: AnaMenu.cs プロジェクト: EmreBHDR/Goto724
        private void LblMusteriListesi_Click(object sender, EventArgs e)
        {
            /*List<string> fieldList = new List<string>();
             * List<string> fieldHeaderList = new List<string>();
             *
             * fieldList.Add("MUSTERI_KODU");
             * fieldList.Add("MUSTERI_ADI");
             * fieldList.Add("TIP_TANIMI");
             * fieldList.Add("ULKE");
             * fieldList.Add("UST_NO");
             * fieldList.Add("TEL_NO");
             * fieldList.Add("CEP_TEL");
             * fieldList.Add("E_POSTA");
             * fieldList.Add("WEB_SITE");
             * fieldList.Add("PUAN");
             * fieldList.Add("PASIF_MI");
             *
             * fieldHeaderList.Add("Müşteri Kodu");
             * fieldHeaderList.Add("Müşteri Adı");
             * fieldHeaderList.Add("Müşteri Tipi");
             * fieldHeaderList.Add("Ülke");
             * fieldHeaderList.Add("Ust No");
             * fieldHeaderList.Add("Telefon");
             * fieldHeaderList.Add("Cep Telefon");
             * fieldHeaderList.Add("E Posta");
             * fieldHeaderList.Add("Web Site");
             * fieldHeaderList.Add("Puan");
             * fieldHeaderList.Add("Pasif Mi");
             *
             * string defWhereStr = "TIP.MUSTERI_TIPI = MUS.MUSTERI_TIPI";
             * string gridSQL = "SELECT MUSTERI_KODU, MUSTERI_ADI, TIP.TIP_TANIMI, ULKE, UST_NO, TEL_NO, CEP_TEL, E_POSTA, WEB_SITE, PASIF_MI, PUAN = ISNULL((SELECT CAST(SUM(TUTAR) / 100 AS INT) AS PUAN FROM TBLSIPARIS SIP WHERE SIP.MUSTERI_KODU = MUS.MUSTERI_KODU AND ISNULL(DURUM, 0) = 1), 0) FROM TBLMUSTERI MUS, TBLMUSTERITIP TIP";
             * OpenListeRapor("Müşteri Listesi", fieldList, fieldHeaderList, gridSQL, defWhereStr);*/
            MusteriListesi form = new MusteriListesi();

            form.MdiParent     = this;
            form.StartPosition = FormStartPosition.CenterScreen;
            form.Show();
        }