예제 #1
0
        private void barkodToolStripMenuItem_Click(object sender, EventArgs e)
        {
            string brf = null;
            Form   br  = new barkod(ref brf);

            br.MdiParent = this;
            br.Show();
        }
예제 #2
0
        private void tAMAMLAToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            string brf = etiket_NoTextBox.Text;

            bool hata = false;



            try
            {
                this.Validate();
                this.tamiregelenBindingSource1.EndEdit();
                this.tableAdapterManager.UpdateAll(this.cagbilDataSet);
                bindingNavigatorAddNewItem.Enabled = true;
            }
            catch (Exception err)
            {
                //   tamiregelenBindingSource.CancelEdit();
                //   tamiregelenBindingSource.Clear();
                hata = true; Program.izle("tamiregelen_button2click() | " + err.Message);
            }

            if (!hata && !musteri())
            {
                Form br = new barkod(ref brf);
                //  br.MdiParent = this;
                br.Show();

                yazdir();

                tamiregelenBindingSource1.AddNew();

                etiket_NoTextBox.Text = kodolustur();

                sahibiTextBox.Focus();
            }
        }