Пример #1
0
        private void btn_New_Click(object sender, EventArgs e)
        {
            BinCard mc = new BinCard();

            mc.Bin_ID = "-1";
            NavBar.Navigate(mc, Globals.GetParent(this.Parent.Parent), this);

            Close();
        }
Пример #2
0
        private void btn_Card_Click(object sender, EventArgs e)
        {
            if (radGridView1.SelectedRows.Count < 1)
            {
                MessageBox.Show("Изберете ред!");
                return;
            }
            BinCard mc = new BinCard();

            mc.Bin_ID = radGridView1.SelectedRows[0].Cells[Bin_table.Bin_ID].Value.MakeString();

            NavBar.Navigate(mc, Globals.GetParent(this.Parent.Parent), this);
            Close();
        }