Beispiel #1
0
 public Deleter(string name_recipe, string image_path, MainApplicationForm mainApplicationForm)
 {
     InitializeComponent();
     this.name_recipe         = name_recipe;
     this.image_path          = image_path;
     this.mainApplicationForm = mainApplicationForm;
 }
Beispiel #2
0
        public Carts(string name_recipe, string image_path, MainApplicationForm mainApplicationForm)
        {
            InitializeComponent();

            Deleter del = new Deleter(name_recipe, image_path, mainApplicationForm);

            del.Location = new Point(271, 3);
            del.Size     = new Size(25, 25);
            del.Click   += new System.EventHandler(del_Click);
            metroTile1.Controls.Add(del);
        }
 public AddNewRecipeForm(MainApplicationForm form)
 {
     InitializeComponent();
     this.form = form;
 }
        private void UpdateForm(MainApplicationForm form)
        {
            form.flowLayoutPanel1.Controls.Clear();

            form.getRecipes();
        }
Beispiel #5
0
 public FormWithRecipe(MainApplicationForm form)
 {
     InitializeComponent();
     this.mainForm = form;
 }