Exemple #1
0
        public static CoatingScheduleProductBase Load(BinaryReader reader)
        {
            string baseType = reader.ReadString();

            if (baseType == "Product")
            {
                return(CoatingScheduleProduct.Load(reader));
            }
            else if (baseType == "Note")
            {
                return(CoatingScheduleNote.Load(reader));
            }

            return(null);
        }
Exemple #2
0
        private void BtnAddNote_OnClick(object sender, RoutedEventArgs e)
        {
            CoatingScheduleNote newNote = new CoatingScheduleNote();

            Shift.AddLogic(newNote);
        }