public EditPanel(form1 masterform, MusicFileControl completedDownload, Point Location) { _completedDownload = completedDownload; _masterform = masterform; this.Location = Location; InitializeComponent(); }
private void button1_Click(object sender, EventArgs e) { if (radioButton1.Checked) { ProcessQueue.algo = "FirstFit"; } else if (radioButton2.Checked) { ProcessQueue.algo = "BestFit"; } else { ProcessQueue.algo = "NextFit"; } this.Hide(); form1 f1 = new form1(); f1.Show(); }
public EditPanel() { InitializeComponent(); _masterform = (form1)this.Parent; }
public MediaHandler(form1 masterForm) { _masterForm = masterForm; this.Initialize(); }