예제 #1
0
 public frmMazmin(statusKind sta, mazminim mUpdate)
 {
     InitializeComponent();
     this.myMazmin    = mUpdate;
     this.myMazminims = new mazminimTable();
     this.statusFrm   = sta;
 }
예제 #2
0
        public frmHazmana(statusKind sta)
        {
            InitializeComponent();
            this.myHazmana   = new hazmanot();
            this.myHazmanots = new hazmanotTable();
            myMazmin         = new mazminim();
            myMazminims      = new mazminimTable();
            this.statusfrm   = sta;

            cmbMazmin.DataSource    = new mazminimTable().getFullName();
            cmbMazmin.DisplayMember = "fullName"; //"nameOfMazmin";"fullName";
            cmbMazmin.ValueMember   = "kodMaznim";
            //לא מועיל //cmbMazmin.Text = "-בחר מזמין-";
        }
예제 #3
0
        private void frmListMazminim_Load(object sender, EventArgs e)
        {
            mazminimTable allMaz     = new mazminimTable();
            DataTable     dtMazminim = allMaz.GetTableTrue();

            dgvMazminim.DataSource            = dtMazminim;
            dgvMazminim.Columns[0].Visible    = false;
            dgvMazminim.Columns[1].HeaderText = "שם פרטי";
            dgvMazminim.Columns[2].HeaderText = "שפ משפחה";
            dgvMazminim.Columns[3].HeaderText = "מספר טלפון";
            dgvMazminim.Columns[4].HeaderText = "טלפון נוסף";
            dgvMazminim.Columns[5].HeaderText = "רחוב";
            dgvMazminim.Columns[6].HeaderText = "מספר בית";
            dgvMazminim.Columns[7].HeaderText = "עיר";
            dgvMazminim.Columns[8].Visible    = false;
        }