Example #1
0
        //public static string a = "";

        // COP-OUT METHOD HEADER COMMENT -------------------------------------------------------------------------------

        /*
         *	\fn			int Square()
         *	\brief		To create a new Square by validating or else defaulting new values
         *	\details	THis is if you have more to say about what the function does and don't want to inline comment
         *	\param[in]	char[]	newColour		An incoming value meant to become the square's colour
         *	\param[out]	char[]	newSideLength	An incoming value meant to become the square's side length
         *	\exception	This is if we have some big ol try catches?
         *	\see		CallsMade()
         *	\return		None
         *
         * ---------------------------------------------------------------------------------------------------- */
        public BuyerPage()
        {
            InitializeComponent();
            BuyerClass.ParseContracts();
            DG1.ItemsSource           = BuyerClass.Contracts;
            DG2.ItemsSource           = BuyerClass.acceptedContracts;
            TMSLogger.LogStatusEvent += LogStatusEventHandler;
            Folder.ItemsSource        = invoiceFiles;
        }
Example #2
0
        // COP-OUT METHOD HEADER COMMENT -------------------------------------------------------------------------------

        /*
         *	\fn			int Square()
         *	\brief		To create a new Square by validating or else defaulting new values
         *	\details	THis is if you have more to say about what the function does and don't want to inline comment
         *	\param[in]	char[]	newColour		An incoming value meant to become the square's colour
         *	\param[out]	char[]	newSideLength	An incoming value meant to become the square's side length
         *	\exception	This is if we have some big ol try catches?
         *	\see		CallsMade()
         *	\return		None
         *
         * ---------------------------------------------------------------------------------------------------- */
        private void Button_Click(object sender, RoutedEventArgs e)//load refresh button
        {
            DG1.ItemsSource = null;
            BuyerClass.ParseContracts();
            DG1.ItemsSource = BuyerClass.Contracts;
        }