Exemplo n.º 1
0
        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;
            }
        }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
 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);
 }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 public HDFileRuleGrouping(HD parent)
 {
     this.hd     = true;
     this.parent = parent;
     InitializeComponent();
 }
Exemplo n.º 6
0
 public HDSCGrouping(HD parent)
 {
     this.parent = parent;
     InitializeComponent();
     this.Text = "New Rule";
 }