예제 #1
0
        public TafelManager(FrontsOrdersManager tFrontsOrdersManager)
        {
            FrontsOrdersManager = tFrontsOrdersManager;
            MainOrdersDT        = new DataTable();
            FrontOrdersDT       = new DataTable();
            MainOrdersDT.Columns.Add(new DataColumn("ClientName", Type.GetType("System.String")));
            MainOrdersDT.Columns.Add(new DataColumn("OrderNumber", Type.GetType("System.String")));
            MainOrdersDT.Columns.Add(new DataColumn("MainOrderID", Type.GetType("System.Int32")));
            MainOrdersDT.Columns.Add(new DataColumn("GroupType", Type.GetType("System.Int32")));
            MainOrdersBS  = new BindingSource();
            FrontOrdersBS = new BindingSource();

            MainOrdersBS.DataSource = MainOrdersDT;
        }
예제 #2
0
        public DyeingAssignmentsMaterialForm(Form tMainForm, ref ControlAssignments tControlAssignmentsManager, ref FrontsOrdersManager tFrontsOrdersManager,
                                             DateTime dFrom, DateTime dTo)
        {
            InitializeComponent();
            MainForm = tMainForm;
            From     = dFrom;
            To       = dTo;
            ControlAssignmentsManager = tControlAssignmentsManager;
            FrontsOrdersManager       = tFrontsOrdersManager;
            //FrontConfigID = aFrontConfigID;
            //Square = dSquare;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            Initialize();

            while (!SplashForm.bCreated)
            {
                ;
            }
        }