public Addition(WhichForm whichForm, Displayer displayer) { InitializeComponent(); this.whichForm = whichForm; this.displayer = displayer; Design(); }
public Editing(WhichForm whichForm, string id, Displayer displayer) { InitializeComponent(); this.whichForm = whichForm; this.displayer = displayer; Design(); IdCB.DropDownStyle = ComboBoxStyle.Simple; IdCB.Text = id; IdCB.Enabled = false; }
private void button5_Click(object sender, EventArgs e) { displayer = new Displayer(WhichForm.Defendant); displayer.ShowDialog(); }
private void button4_Click(object sender, EventArgs e) { displayer = new Displayer(WhichForm.Plaintiff); displayer.ShowDialog(); }
private void button3_Click(object sender, EventArgs e) { displayer = new Displayer(WhichForm.Judge); displayer.ShowDialog(); }