private void ModDevs_MouseDown(object sender, MouseEventArgs e) { switch (e.Button) { case MouseButtons.Right: CreatePerModRules form = new CreatePerModRules(); form.ShowDialog(); form.Dispose(); break; default: if (_hd) { HD f = new HD(); f.ShowDialog(); f.Dispose(); } else { CreatePerModRules f = new CreatePerModRules(); f.ShowDialog(); f.Dispose(); } break; } }
public HDFileRuleGrouping(HD parent, string file, string bep, int xLoc, int yLoc) { this.hd = true; this.parent = parent; InitializeComponent(); File = file; Bep = bep; Location = new Point(xLoc, yLoc); }
public HDFolderRuleGrouping(HD parent, string folder, string bep, int xLoc, int yLoc) { this.hd = true; this.parent = parent; InitializeComponent(); Folder = folder; Bep = bep; Location = new Point(xLoc, yLoc); }
public HDSCGrouping(HD parent, HDSCJson sc) { this.parent = parent; InitializeComponent(); this.Text = sc.Name; UpdateUUIDs(sc.UUIDS); UpdateNumFiles(sc.Files); UpdateNumFolders(sc.Folders); this.PickOne = sc.PickOneOfX; this.PickOptions = sc.PickOptions; }
public HDFileRuleGrouping(HD parent) { this.hd = true; this.parent = parent; InitializeComponent(); }
public HDSCGrouping(HD parent) { this.parent = parent; InitializeComponent(); this.Text = "New Rule"; }