Cleaned references and imports
This commit is contained in:
@@ -1,11 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows;
|
||||
|
||||
namespace PWAPPv2.Source.DataObjects
|
||||
{
|
||||
@@ -40,7 +36,7 @@ namespace PWAPPv2.Source.DataObjects
|
||||
string RemarksText = new TextRange(RemarksBox.Document.ContentStart, RemarksBox.Document.ContentEnd).Text;
|
||||
|
||||
int contact = 0;
|
||||
if(ContactBox.IsChecked == true)
|
||||
if (ContactBox.IsChecked == true)
|
||||
{
|
||||
contact = 1;
|
||||
}
|
||||
@@ -76,11 +72,11 @@ namespace PWAPPv2.Source.DataObjects
|
||||
{
|
||||
MessageBox.Show("Please select a referral type");
|
||||
}
|
||||
catch(Source.DataObjects.ReferToDefaultException)
|
||||
catch (Source.DataObjects.ReferToDefaultException)
|
||||
{
|
||||
MessageBox.Show("Please select a refer to");
|
||||
}
|
||||
catch(Source.DataObjects.ReferFromDefaultException)
|
||||
catch (Source.DataObjects.ReferFromDefaultException)
|
||||
{
|
||||
MessageBox.Show("Please select a refer from");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user