Ejemplo n.º 1
0
        public ContractorEditForm(ContractorsListForm instance)
        {
            this.instance = instance;
            InitializeComponent();

            query = new QueryContractors();

            this.Text = Properties.Resources.Contractor;

            label1.Text = Properties.Resources.ContractorType;
            label2.Text = Properties.Resources.Title;

            comboBox1.DataSource = new List <String> {
                Properties.Resources.Customer, Properties.Resources.Provider
            };

            buttonCancel.Text = Properties.Resources.Cancel;
            buttonOK.Text     = Properties.Resources.OK;
        }
Ejemplo n.º 2
0
        private void buttonContragentsList_Click(object sender, EventArgs e)
        {
            ContractorsListForm f = new ContractorsListForm();

            f.ShowDialog();
        }
Ejemplo n.º 3
0
 public ContractorEditForm(ContractorsListForm instance, int Id) : this(instance)
 {
     this.Id = Id;
     addDataForUpdate();
 }