コード例 #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;
 }
コード例 #2
0
ファイル: Carts.cs プロジェクト: ArthurZhilinskiy/Cookbook
        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);
        }
コード例 #3
0
 public AddNewRecipeForm(MainApplicationForm form)
 {
     InitializeComponent();
     this.form = form;
 }
コード例 #4
0
        private void UpdateForm(MainApplicationForm form)
        {
            form.flowLayoutPanel1.Controls.Clear();

            form.getRecipes();
        }
コード例 #5
0
 public FormWithRecipe(MainApplicationForm form)
 {
     InitializeComponent();
     this.mainForm = form;
 }