public StorageEditForm(StoragesListForm instance) { this.instance = instance; InitializeComponent(); query = new QueryStore(); this.Text = Properties.Resources.Storage; label1.Text = Properties.Resources.Title; label2.Text = Properties.Resources.Address; buttonCancel.Text = Properties.Resources.Cancel; buttonOK.Text = Properties.Resources.OK; }
public StorageEditForm(StoragesListForm instance, int Id) : this(instance) { this.Id = Id; addDataForUpdate(); }
private void buttonStoragesList_Click(object sender, EventArgs e) { StoragesListForm f = new StoragesListForm(); f.ShowDialog(); }