Beispiel #1
0
 public EditPanel(form1 masterform, MusicFileControl completedDownload, Point Location)
 {
     _completedDownload = completedDownload;
     _masterform = masterform;
     this.Location = Location;
     InitializeComponent();
 }
Beispiel #2
0
        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();
        }
Beispiel #3
0
 public EditPanel()
 {
     InitializeComponent();
     _masterform = (form1)this.Parent;
 }
Beispiel #4
0
 public MediaHandler(form1 masterForm)
 {
     _masterForm = masterForm;
     this.Initialize();
 }