Ejemplo n.º 1
0
        private void toolStripButtonAdd_Click(object sender, EventArgs e)
        {
            Class_Services    S  = new Class_Services();
            Form_EditServices _f = new Form_EditServices(S);

            _f.ShowDialog();
            Load_Data();
        }
Ejemplo n.º 2
0
        private void toolStripBupdate_Click(object sender, EventArgs e)
        {
            Class_Services    S  = (Class_Services)BSServices.Current;
            Form_EditServices _f = new Form_EditServices(S);

            if (S != null)
            {
                _f.ShowDialog();
                Load_Data();
            }
            else
            {
                MessageBox.Show("Выберите услугу");
            }
        }