예제 #1
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                name, pType, specificDepID, rangeDepID, fromDepID, toDepID, specificPrice, rangePrice, fromPrice, toPrice, specificPrdID, rangePrdID, fromPrdID, toPrdID, pStatus, specificStockCount, rangeStockCount, fromStockCount, toStockCount
            };

            PL_GUI.ClearForm(lst);
        }
예제 #2
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                username, password
            };

            PL_GUI.ClearForm(lst);
        }
예제 #3
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                firstName, lastName, ID, specificTranID, rangeTranID, fromTranID, toTranID
            };

            PL_GUI.ClearForm(lst);
        }
예제 #4
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                purchaseType, returnType, fromCurrentDate, toCurrentDate, specificCurrentDate, rangeCurrentDate, specificTranID, rangeTranID, fromTranID, toTranID, payment, specificPrdID, rangePrdID, fromPrdID, toPrdID
            };

            PL_GUI.ClearForm(lst);
        }
예제 #5
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                depName, specificDepID, rangeDepID, fromDepID, toDepID
            };

            PL_GUI.ClearForm(lst);
        }
예제 #6
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                firstName, lastName, ID, specificDepID, rangeDepID, fromDepID, toDepID, specificSalary, rangeSalary, fromSalary, toSalary, specificSupID, rangeSupID, fromSupID, toSupID, male, female, rank
            };

            PL_GUI.ClearForm(lst);
        }
예제 #7
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                firstName, lastName, ID, specificMemberID, rangeMemberID, fromMemberID, toMemberID, specificTranID, rangeTranID, fromTranID, toTranID, male, female, fromDateOfBirth, toDateOfBirth, specificDateOfBirth, rangeDateOfBirth
            };

            PL_GUI.ClearForm(lst);
        }
예제 #8
0
        private void ClearForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                newPass
            };

            PL_GUI.ClearForm(lst);
        }
예제 #9
0
        // Clear form if adding or Resetting to default if editing
        private void ResetForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                depName
            };

            if (isAdd)
            {
                PL_GUI.ClearForm(lst);
            }
            else
            {
                ResetToDefault();
            }
        }
예제 #10
0
        // Clear form if adding or Resetting to default if editing
        private void ResetForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                username, password, firstName, lastName, ID
            };

            if (isAdd)
            {
                PL_GUI.ClearForm(lst);
            }
            else
            {
                ResetToDefault();
            }
        }
예제 #11
0
        // Clear form if adding or Resetting to default if editing
        private void ResetForm(object sender, RoutedEventArgs e)
        {
            List <Control> lst = new List <Control>()
            {
                productName, productType, price, stockcount, depID
            };

            if (isAdd)
            {
                PL_GUI.ClearForm(lst);
            }
            else
            {
                ResetToDefault();
            }
        }