public override IModuleDataModel Clone()
        {
            ShowsData newData = (ShowsData)MemberwiseClone();

            //newData.ScheduledItems = ScheduledItems.ToList();
            return(newData);
        }
Exemple #2
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            buttonAdd.Image    = Tools.GetIcon(Resources.add, 16);
            buttonAdd.Text     = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDelete.Text  = "";
            buttonEdit.Image   = Tools.GetIcon(Resources.pencil, 16);
            buttonEdit.Text    = "";
            buttonHelp.Image   = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
Exemple #3
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            buttonAdd.Image = Tools.GetIcon(Resources.add, 16);
            buttonAdd.Text = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDelete.Text = "";
            buttonEdit.Image = Tools.GetIcon(Resources.pencil, 16);
            buttonEdit.Text = "";
            buttonHelp.Image = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
Exemple #4
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            ThemeUpdateControls.UpdateControls(this);
            buttonAdd.Image = Tools.GetIcon(Resources.add, 16);
            buttonAdd.Text = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDelete.Text = "";
            buttonEdit.Image = Tools.GetIcon(Resources.pencil, 16);
            buttonEdit.Text = "";
            buttonHelp.Image = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
Exemple #5
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            ThemeUpdateControls.UpdateControls(this);
            buttonAdd.Image    = Tools.GetIcon(Resources.add, 16);
            buttonAdd.Text     = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, 16);
            buttonDelete.Text  = "";
            buttonEdit.Image   = Tools.GetIcon(Resources.pencil, 16);
            buttonEdit.Text    = "";
            buttonHelp.Image   = Tools.GetIcon(Resources.help, 16);

            Data = data;
        }
Exemple #6
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            int iconSize = (int)(24 * ScalingTools.GetScaleFactor());
            buttonAdd.Image = Tools.GetIcon(Resources.add, iconSize);
            buttonAdd.Text = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, iconSize);
            buttonDelete.Text = "";
            buttonEdit.Image = Tools.GetIcon(Resources.pencil, iconSize);
            buttonEdit.Text = "";
            buttonHelp.Image = Tools.GetIcon(Resources.help, iconSize);
            ThemeUpdateControls.UpdateControls(this);

            Data = data;
        }
Exemple #7
0
        public ShowListForm(ShowsData data)
        {
            InitializeComponent();

            ForeColor = ThemeColorTable.ForeColor;
            BackColor = ThemeColorTable.BackgroundColor;
            int iconSize = (int)(24 * ScalingTools.GetScaleFactor());

            buttonAdd.Image    = Tools.GetIcon(Resources.add, iconSize);
            buttonAdd.Text     = "";
            buttonDelete.Image = Tools.GetIcon(Resources.delete, iconSize);
            buttonDelete.Text  = "";
            buttonEdit.Image   = Tools.GetIcon(Resources.pencil, iconSize);
            buttonEdit.Text    = "";
            buttonHelp.Image   = Tools.GetIcon(Resources.help, iconSize);
            ThemeUpdateControls.UpdateControls(this);

            Data = data;
        }
Exemple #8
0
 public ShowListForm(ShowsData data)
 {
     InitializeComponent();
     Data = data;
 }
 public ShowListForm(ShowsData data)
 {
     InitializeComponent();
     Data = data;
 }