public override void SaveToAutoCat(AutoCat autocat)
        {
            AutoCatPlatform ac = autocat as AutoCatPlatform;

            if (ac == null)
            {
                return;
            }
            ac.Prefix  = txtPrefix.Text;
            ac.Windows = chkboxPlatforms.GetItemChecked(0);
            ac.Mac     = chkboxPlatforms.GetItemChecked(1);
            ac.Linux   = chkboxPlatforms.GetItemChecked(2);
            ac.SteamOS = chkboxPlatforms.GetItemChecked(3);
        }
        public override void LoadFromAutoCat(AutoCat ac)
        {
            AutoCatPlatform acPlatform = ac as AutoCatPlatform;

            if (acPlatform == null)
            {
                return;
            }
            txtPrefix.Text = acPlatform.Prefix == null ? string.Empty : acPlatform.Prefix;
            chkboxPlatforms.SetItemChecked(0, acPlatform.Windows);
            chkboxPlatforms.SetItemChecked(1, acPlatform.Mac);
            chkboxPlatforms.SetItemChecked(2, acPlatform.Linux);
            chkboxPlatforms.SetItemChecked(3, acPlatform.SteamOS);
        }