예제 #1
0
        public SettingHWControl()
        {
            InitializeComponent();

            mPageView          = new Telerik.WinControls.UI.RadPageView();
            mPageView.Dock     = DockStyle.Fill;
            mPageView.ViewMode = Telerik.WinControls.UI.PageViewMode.Stack;

            //mPageView.Pages.Add( new Telerik.WinControls.UI.RadPageViewPage)
            //InitializeComponent();
            mSettingHWPage = new Telerik.WinControls.UI.RadPageViewPage("Setting Hardware");

            mSettingHW.Dock = DockStyle.Fill;

            mSettingHWPage.Controls.Add(mSettingHW);

            mPageView.Pages.Add(mSettingHWPage);

            mPageView.AutoScroll         = true;
            this.mPageView.EnableTheming = true;
            this.mPageView.ElementTree.EnableApplicationThemeName = true;
            this.mPageView.ThemeName = "Office2010Silver";
            this.Controls.Add(mPageView);
            mSettingHW.SettingDoneEvent += MCtrlIntrisicCalib_SettingDone;
            mSettingHW.ExitProgramByFactoryResetEvent += MExit_Event;
        }
예제 #2
0
        public SetupControl()
        {
            mPageView          = new Telerik.WinControls.UI.RadPageView();
            mPageView.Dock     = DockStyle.Fill;
            mPageView.ViewMode = Telerik.WinControls.UI.PageViewMode.Stack;

            //mPageView.Pages.Add( new Telerik.WinControls.UI.RadPageViewPage)
            InitializeComponent();
            mTrayInspectionPage     = new Telerik.WinControls.UI.RadPageViewPage("Tray Inspection");
            mPanelInspectionPage    = new Telerik.WinControls.UI.RadPageViewPage("Panel Inspection");
            mTrayBlobCheckPage      = new Telerik.WinControls.UI.RadPageViewPage("Blob Finder");
            mConveyorInspectionPage = new Telerik.WinControls.UI.RadPageViewPage("Conveyor/Align Inspection");
            mDisplayControlPage     = new Telerik.WinControls.UI.RadPageViewPage("Display Control");

            mCtrlTrayInspection.Dock     = DockStyle.Fill;
            mCtrlPanelInspection.Dock    = DockStyle.Fill;
            mCtrlTrayBlobCheck.Dock      = DockStyle.Fill;
            mCtrlConveyorInspection.Dock = DockStyle.Fill;
            mCtrlDisplayControl.Dock     = DockStyle.Fill;

            mTrayInspectionPage.Controls.Add(mCtrlTrayInspection);
            mPanelInspectionPage.Controls.Add(mCtrlPanelInspection);
            mTrayBlobCheckPage.Controls.Add(mCtrlTrayBlobCheck);
            mConveyorInspectionPage.Controls.Add(mCtrlConveyorInspection);
            mDisplayControlPage.Controls.Add(mCtrlDisplayControl);

            mPageView.Pages.Add(mTrayInspectionPage);
            mPageView.Pages.Add(mPanelInspectionPage);
            mPageView.Pages.Add(mTrayBlobCheckPage);
            mPageView.Pages.Add(mConveyorInspectionPage);
            mPageView.Pages.Add(mDisplayControlPage);

            mPageView.AutoScroll = true;
            //mConveyorSetupPage.Item.BackColor = Color.LightGray;
            //mConveyorSetupPage.Item.BackColor2 = Color.LightGray;
            //mConveyorSetupPage.Item.BackColor3 = Color.LightGray;
            //mConveyorSetupPage.Item.BackColor4 = Color.LightGray;
            //mPageView.ViewElement.Header.BackColor = Color.Orange;
            //mPageView.ViewElement.Header.BackColor2 = Color.Orange;
            //mPageView.ViewElement.Header.BackColor3 = Color.Orange;
            //mPageView.ViewElement.Header.BackColor4 = Color.Orange;
            //mConveyorSetupPage.Item.GradientStyle = GradientStyles.Solid;
            this.mPageView.EnableTheming = true;
            this.mPageView.ElementTree.EnableApplicationThemeName = true;
            this.mPageView.ThemeName       = "Office2010Silver";
            mPageView.SelectedPageChanged += MPageView_SelectedPageChanged;
            this.Controls.Add(mPageView);
            mCtrlTrayInspection.SettingDoneEvent     += MCtrlTrayInspection_SettingDone;
            mCtrlPanelInspection.SettingDoneEvent    += MCtrlPanelInspection_SettingDone;
            mCtrlTrayBlobCheck.SettingDoneEvent      += MCtrlTrayBlobCheck_SettingDone;
            mCtrlConveyorInspection.SettingDoneEvent += MCtrlConveyorInspection_SettingDone;
            mCtrlDisplayControl.SettingDoneEvent     += MCtrlDisplayControl_SettingDone;
        }
예제 #3
0
        private void MPageView_SelectedPageChanged(object sender, EventArgs e)
        {
            try
            {
                Telerik.WinControls.UI.RadPageView currentPageView = (Telerik.WinControls.UI.RadPageView)sender;
                string pageName = currentPageView.AccessibilityObject.Name.ToString();
                string trim     = pageName.Trim();
                switch (trim)
                {
                case "Tray Inspection":
                    mCtrlTrayInspection.Init(mCvsInSightDisplay);
                    break;

                case "Panel Inspection":
                    mCtrlPanelInspection.Init(mCvsInSightDisplay);
                    break;

                case "Blob Finder":
                    mCtrlTrayBlobCheck.Init(mCvsInSightDisplay);
                    break;

                case "Conveyor/Align Inspection":
                    mCtrlConveyorInspection.Init(mCvsInSightDisplay);
                    break;

                case "Display Control":
                    mCtrlDisplayControl.Init(mCvsInSightDisplay);
                    break;

                default:
                    mCtrlTrayInspection.Init(mCvsInSightDisplay);
                    break;
                }
                MessageManager.MessageLoggerManager.Log.Info("[Action] Inspection Setting Page: " + trim);
            }
            catch (Exception ex)
            {
            }
        }
예제 #4
0
        public IntrisicControl()
        {
            mPageView          = new Telerik.WinControls.UI.RadPageView();
            mPageView.Dock     = DockStyle.Fill;
            mPageView.ViewMode = Telerik.WinControls.UI.PageViewMode.Stack;

            //mPageView.Pages.Add( new Telerik.WinControls.UI.RadPageViewPage)
            InitializeComponent();
            mIntrisicPage = new Telerik.WinControls.UI.RadPageViewPage("Intrinsic Calibration");

            mCtrlIntrisicCalib.Dock = DockStyle.Fill;

            mIntrisicPage.Controls.Add(mCtrlIntrisicCalib);

            mPageView.Pages.Add(mIntrisicPage);

            mPageView.AutoScroll         = true;
            this.mPageView.EnableTheming = true;
            this.mPageView.ElementTree.EnableApplicationThemeName = true;
            this.mPageView.ThemeName = "Office2010Silver";
            this.Controls.Add(mPageView);
            mCtrlIntrisicCalib.SettingDoneEvent += MCtrlIntrisicCalib_SettingDone;
        }
예제 #5
0
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn23 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn24 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn25 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn26 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn27 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.Data.FilterDescriptor filterDescriptor3 = new Telerik.WinControls.Data.FilterDescriptor();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn28 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn29 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn5 = new Telerik.WinControls.UI.GridViewCommandColumn();
            Telerik.WinControls.UI.ListViewDetailColumn listViewDetailColumn1 = new Telerik.WinControls.UI.ListViewDetailColumn("Column 0", "نام بیمه");
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn30 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn31 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn32 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn33 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
            Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn6 = new Telerik.WinControls.UI.GridViewCommandColumn();
            this.radPageView1 = new Telerik.WinControls.UI.RadPageView();
            this.radPageViewPage1 = new Telerik.WinControls.UI.RadPageViewPage();
            this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox();
            this.radGroupBox4 = new Telerik.WinControls.UI.RadGroupBox();
            this.grvPastServices = new Telerik.WinControls.UI.RadGridView();
            this.cmbPatient = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.radMultiColumnComboBox1 = new Telerik.WinControls.UI.RadMultiColumnComboBox();
            this.srcItem = new System.Windows.Forms.BindingSource(this.components);
            this.cmbDoctor = new Telerik.WinControls.UI.RadDropDownList();
            this.radLabel9 = new Telerik.WinControls.UI.RadLabel();
            this.radTextBox1 = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel6 = new Telerik.WinControls.UI.RadLabel();
            this.faDatePicker1 = new FarsiLibrary.Win.Controls.FADatePicker();
            this.radLabel5 = new Telerik.WinControls.UI.RadLabel();
            this.lblBedehi = new Telerik.WinControls.UI.RadLabel();
            this.btnDocument = new Telerik.WinControls.UI.RadButton();
            this.radLabel4 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel2 = new Telerik.WinControls.UI.RadLabel();
            this.tpTo = new Telerik.WinControls.UI.RadTimePicker();
            this.radLabel1 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel3 = new Telerik.WinControls.UI.RadLabel();
            this.tpFrom = new Telerik.WinControls.UI.RadTimePicker();
            this.radPageViewPage3 = new Telerik.WinControls.UI.RadPageViewPage();
            this.radGroupBox3 = new Telerik.WinControls.UI.RadGroupBox();
            this.grvServices = new Telerik.WinControls.UI.RadGridView();
            this.radLabel16 = new Telerik.WinControls.UI.RadLabel();
            this.lblFinalSumCost = new Telerik.WinControls.UI.RadLabel();
            this.grbService = new Telerik.WinControls.UI.RadGroupBox();
            this.txtTakhfif = new Telerik.WinControls.UI.RadTextBox();
            this.srcService = new System.Windows.Forms.BindingSource(this.components);
            this.radLabel13 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel10 = new Telerik.WinControls.UI.RadLabel();
            this.txtComment = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel12 = new Telerik.WinControls.UI.RadLabel();
            this.ucTooth1 = new ShayanDental.UCTooth();
            this.radLabel14 = new Telerik.WinControls.UI.RadLabel();
            this.lsvInsurances = new Telerik.WinControls.UI.RadListView();
            this.lblFinalServiceCost = new Telerik.WinControls.UI.RadLabel();
            this.btnPercent = new Telerik.WinControls.UI.RadButton();
            this.cmbService = new Telerik.WinControls.UI.RadDropDownList();
            this.cmbCategories = new Telerik.WinControls.UI.RadDropDownList();
            this.btnAdd = new Telerik.WinControls.UI.RadButton();
            this.btnNew = new Telerik.WinControls.UI.RadButton();
            this.radLabel11 = new Telerik.WinControls.UI.RadLabel();
            this.txtServiceCost = new Telerik.WinControls.UI.RadTextBox();
            this.radLabel8 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel7 = new Telerik.WinControls.UI.RadLabel();
            this.radPageViewPage2 = new Telerik.WinControls.UI.RadPageViewPage();
            this.radGroupBox5 = new Telerik.WinControls.UI.RadGroupBox();
            this.cmbPrescription = new Telerik.WinControls.UI.RadDropDownList();
            this.grvPrescriptionDrug = new Telerik.WinControls.UI.RadGridView();
            this.btnAddPrescription = new Telerik.WinControls.UI.RadButton();
            this.radLabel18 = new Telerik.WinControls.UI.RadLabel();
            this.radGroupBox6 = new Telerik.WinControls.UI.RadGroupBox();
            this.btnPrintPrescription = new Telerik.WinControls.UI.RadButton();
            this.grvDrugs = new Telerik.WinControls.UI.RadGridView();
            this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
            this.cmbDrugs = new Telerik.WinControls.UI.RadDropDownList();
            this.btnAddDrug = new Telerik.WinControls.UI.RadButton();
            this.btnNewDrug = new Telerik.WinControls.UI.RadButton();
            this.radLabel20 = new Telerik.WinControls.UI.RadLabel();
            this.radLabel22 = new Telerik.WinControls.UI.RadLabel();
            this.txtManual = new Telerik.WinControls.UI.RadTextBox();
            this.srcDrug = new System.Windows.Forms.BindingSource(this.components);
            this.btnSave = new Telerik.WinControls.UI.RadButton();
            this.btnCancel = new Telerik.WinControls.UI.RadButton();
            this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
            this.btnRemove = new Telerik.WinControls.UI.RadButton();
            this.btnPrintVisit = new Telerik.WinControls.UI.RadButton();
            ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).BeginInit();
            this.radPageView1.SuspendLayout();
            this.radPageViewPage1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
            this.radGroupBox1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).BeginInit();
            this.radGroupBox4.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grvPastServices)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPastServices.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient.EditorControl.MasterTemplate)).BeginInit();
            this.cmbPatient.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbDoctor)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblBedehi)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDocument)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tpTo)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tpFrom)).BeginInit();
            this.radPageViewPage3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).BeginInit();
            this.radGroupBox3.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grvServices)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvServices.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblFinalSumCost)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grbService)).BeginInit();
            this.grbService.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtTakhfif)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcService)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtComment)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lsvInsurances)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblFinalServiceCost)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPercent)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbService)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbCategories)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServiceCost)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).BeginInit();
            this.radPageViewPage2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox5)).BeginInit();
            this.radGroupBox5.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPrescription)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPrescriptionDrug)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPrescriptionDrug.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddPrescription)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).BeginInit();
            this.radGroupBox6.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrintPrescription)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvDrugs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvDrugs.MasterTemplate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
            this.radGroupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbDrugs)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddDrug)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnNewDrug)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtManual)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcDrug)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRemove)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrintVisit)).BeginInit();
            this.SuspendLayout();
            // 
            // radPageView1
            // 
            this.radPageView1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radPageView1.Controls.Add(this.radPageViewPage1);
            this.radPageView1.Controls.Add(this.radPageViewPage3);
            this.radPageView1.Controls.Add(this.radPageViewPage2);
            this.radPageView1.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold);
            this.radPageView1.Location = new System.Drawing.Point(2, 3);
            this.radPageView1.Name = "radPageView1";
            this.radPageView1.SelectedPage = this.radPageViewPage1;
            this.radPageView1.Size = new System.Drawing.Size(980, 516);
            this.radPageView1.TabIndex = 0;
            this.radPageView1.Text = "radPageView1";
            ((Telerik.WinControls.UI.RadPageViewStripElement)(this.radPageView1.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
            // 
            // radPageViewPage1
            // 
            this.radPageViewPage1.Controls.Add(this.radGroupBox1);
            this.radPageViewPage1.Location = new System.Drawing.Point(10, 49);
            this.radPageViewPage1.Name = "radPageViewPage1";
            this.radPageViewPage1.Size = new System.Drawing.Size(959, 456);
            this.radPageViewPage1.Text = "ویزیت";
            // 
            // radGroupBox1
            // 
            this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox1.Controls.Add(this.radGroupBox4);
            this.radGroupBox1.Controls.Add(this.cmbPatient);
            this.radGroupBox1.Controls.Add(this.cmbDoctor);
            this.radGroupBox1.Controls.Add(this.radLabel9);
            this.radGroupBox1.Controls.Add(this.radTextBox1);
            this.radGroupBox1.Controls.Add(this.radLabel6);
            this.radGroupBox1.Controls.Add(this.faDatePicker1);
            this.radGroupBox1.Controls.Add(this.radLabel5);
            this.radGroupBox1.Controls.Add(this.lblBedehi);
            this.radGroupBox1.Controls.Add(this.btnDocument);
            this.radGroupBox1.Controls.Add(this.radLabel4);
            this.radGroupBox1.Controls.Add(this.radLabel2);
            this.radGroupBox1.Controls.Add(this.tpTo);
            this.radGroupBox1.Controls.Add(this.radLabel1);
            this.radGroupBox1.Controls.Add(this.radLabel3);
            this.radGroupBox1.Controls.Add(this.tpFrom);
            this.radGroupBox1.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox1.FooterImageIndex = -1;
            this.radGroupBox1.FooterImageKey = "";
            this.radGroupBox1.HeaderImageIndex = -1;
            this.radGroupBox1.HeaderImageKey = "";
            this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox1.HeaderText = "ویزیت";
            this.radGroupBox1.Location = new System.Drawing.Point(2, 3);
            this.radGroupBox1.Name = "radGroupBox1";
            this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            // 
            // 
            // 
            this.radGroupBox1.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.radGroupBox1.Size = new System.Drawing.Size(954, 453);
            this.radGroupBox1.TabIndex = 3;
            this.radGroupBox1.Text = "ویزیت";
            // 
            // radGroupBox4
            // 
            this.radGroupBox4.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox4.Controls.Add(this.grvPastServices);
            this.radGroupBox4.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox4.FooterImageIndex = -1;
            this.radGroupBox4.FooterImageKey = "";
            this.radGroupBox4.HeaderImageIndex = -1;
            this.radGroupBox4.HeaderImageKey = "";
            this.radGroupBox4.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox4.HeaderText = "سابقه بیمار";
            this.radGroupBox4.Location = new System.Drawing.Point(10, 211);
            this.radGroupBox4.Name = "radGroupBox4";
            this.radGroupBox4.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            this.radGroupBox4.Size = new System.Drawing.Size(936, 237);
            this.radGroupBox4.TabIndex = 18;
            this.radGroupBox4.Text = "سابقه بیمار";
            // 
            // grvPastServices
            // 
            this.grvPastServices.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.grvPastServices.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.grvPastServices.Location = new System.Drawing.Point(5, 31);
            // 
            // grvPastServices
            // 
            this.grvPastServices.MasterTemplate.AllowAddNewRow = false;
            this.grvPastServices.MasterTemplate.AllowCellContextMenu = false;
            this.grvPastServices.MasterTemplate.AllowColumnChooser = false;
            this.grvPastServices.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.grvPastServices.MasterTemplate.AllowColumnReorder = false;
            this.grvPastServices.MasterTemplate.AllowDeleteRow = false;
            this.grvPastServices.MasterTemplate.AllowDragToGroup = false;
            this.grvPastServices.MasterTemplate.AllowEditRow = false;
            this.grvPastServices.MasterTemplate.AllowRowResize = false;
            this.grvPastServices.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn23.FieldName = "ToothDescription";
            gridViewTextBoxColumn23.HeaderText = "سرویس";
            gridViewTextBoxColumn23.Name = "column1";
            gridViewTextBoxColumn23.Width = 462;
            gridViewTextBoxColumn24.FieldName = "FinalCost";
            gridViewTextBoxColumn24.FormatString = "{0:0,0 ریال}";
            gridViewTextBoxColumn24.HeaderText = "قیمت";
            gridViewTextBoxColumn24.Name = "column4";
            gridViewTextBoxColumn24.Width = 326;
            gridViewTextBoxColumn25.FieldName = "PersianDate";
            gridViewTextBoxColumn25.FormatString = "";
            gridViewTextBoxColumn25.HeaderText = "تاریخ";
            gridViewTextBoxColumn25.Name = "column3";
            gridViewTextBoxColumn25.StretchVertically = false;
            gridViewTextBoxColumn25.Width = 139;
            this.grvPastServices.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn23,
            gridViewTextBoxColumn24,
            gridViewTextBoxColumn25});
            this.grvPastServices.MasterTemplate.EnableFiltering = true;
            this.grvPastServices.MasterTemplate.EnableGrouping = false;
            this.grvPastServices.MasterTemplate.ShowFilteringRow = false;
            this.grvPastServices.MasterTemplate.ShowRowHeaderColumn = false;
            this.grvPastServices.Name = "grvPastServices";
            this.grvPastServices.ReadOnly = true;
            this.grvPastServices.ShowGroupPanel = false;
            this.grvPastServices.Size = new System.Drawing.Size(926, 201);
            this.grvPastServices.TabIndex = 13;
            // 
            // cmbPatient
            // 
            this.cmbPatient.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbPatient.AutoFilter = true;
            this.cmbPatient.Controls.Add(this.radMultiColumnComboBox1);
            this.cmbPatient.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.srcItem, "Patient", true));
            this.cmbPatient.DisplayMember = "FirstName";
            this.cmbPatient.DropDownSizingMode = ((Telerik.WinControls.UI.SizingMode)((Telerik.WinControls.UI.SizingMode.RightBottom | Telerik.WinControls.UI.SizingMode.UpDown)));
            // 
            // cmbPatient.NestedRadGridView
            // 
            this.cmbPatient.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.cmbPatient.EditorControl.BeginEditMode = Telerik.WinControls.RadGridViewBeginEditMode.BeginEditOnKeystroke;
            this.cmbPatient.EditorControl.Cursor = System.Windows.Forms.Cursors.Default;
            this.cmbPatient.EditorControl.Font = new System.Drawing.Font("B Nazanin", 9.5F, System.Drawing.FontStyle.Bold);
            this.cmbPatient.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.cmbPatient.EditorControl.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.cmbPatient.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.cmbPatient.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowColumnReorder = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowDeleteRow = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowDragToGroup = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowEditRow = false;
            this.cmbPatient.EditorControl.MasterTemplate.AllowRowResize = false;
            this.cmbPatient.EditorControl.MasterTemplate.AutoGenerateColumns = false;
            this.cmbPatient.EditorControl.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn26.EnableExpressionEditor = false;
            gridViewTextBoxColumn26.FieldName = "PatientName";
            gridViewTextBoxColumn26.HeaderText = "نام";
            gridViewTextBoxColumn26.Name = "PatientName";
            gridViewTextBoxColumn26.Width = 128;
            gridViewTextBoxColumn27.EnableExpressionEditor = false;
            gridViewTextBoxColumn27.FieldName = "AccountantCode";
            gridViewTextBoxColumn27.HeaderText = "کد";
            gridViewTextBoxColumn27.Name = "AccountantCode";
            gridViewTextBoxColumn27.Width = 112;
            this.cmbPatient.EditorControl.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn26,
            gridViewTextBoxColumn27});
            this.cmbPatient.EditorControl.MasterTemplate.EnableAlternatingRowColor = true;
            this.cmbPatient.EditorControl.MasterTemplate.EnableFiltering = true;
            this.cmbPatient.EditorControl.MasterTemplate.EnableGrouping = false;
            this.cmbPatient.EditorControl.MasterTemplate.EnableSorting = false;
            filterDescriptor3.PropertyName = null;
            this.cmbPatient.EditorControl.MasterTemplate.FilterDescriptors.AddRange(new Telerik.WinControls.Data.FilterDescriptor[] {
            filterDescriptor3});
            this.cmbPatient.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.cmbPatient.EditorControl.MasterTemplate.ShowRowHeaderColumn = false;
            this.cmbPatient.EditorControl.Name = "NestedRadGridView";
            this.cmbPatient.EditorControl.ReadOnly = true;
            this.cmbPatient.EditorControl.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.cmbPatient.EditorControl.ShowGroupPanel = false;
            this.cmbPatient.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.cmbPatient.EditorControl.TabIndex = 0;
            this.cmbPatient.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbPatient.Location = new System.Drawing.Point(733, 33);
            this.cmbPatient.Name = "cmbPatient";
            // 
            // 
            // 
            this.cmbPatient.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
            this.cmbPatient.Size = new System.Drawing.Size(166, 28);
            this.cmbPatient.TabIndex = 17;
            this.cmbPatient.TabStop = false;
            this.cmbPatient.SelectedIndexChanged += new System.EventHandler(this.cmbPatient_SelectedIndexChanged);
            // 
            // radMultiColumnComboBox1
            // 
            this.radMultiColumnComboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radMultiColumnComboBox1.AutoFilter = true;
            this.radMultiColumnComboBox1.DisplayMember = "FirstName";
            this.radMultiColumnComboBox1.DropDownSizingMode = ((Telerik.WinControls.UI.SizingMode)((Telerik.WinControls.UI.SizingMode.RightBottom | Telerik.WinControls.UI.SizingMode.UpDown)));
            // 
            // radMultiColumnComboBox1.NestedRadGridView
            // 
            this.radMultiColumnComboBox1.EditorControl.BackColor = System.Drawing.SystemColors.Window;
            this.radMultiColumnComboBox1.EditorControl.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radMultiColumnComboBox1.EditorControl.ForeColor = System.Drawing.SystemColors.ControlText;
            this.radMultiColumnComboBox1.EditorControl.Location = new System.Drawing.Point(0, 0);
            // 
            // 
            // 
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowAddNewRow = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowCellContextMenu = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.AllowColumnChooser = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.EnableFiltering = true;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.EnableGrouping = false;
            this.radMultiColumnComboBox1.EditorControl.MasterTemplate.ShowFilteringRow = false;
            this.radMultiColumnComboBox1.EditorControl.Name = "NestedRadGridView";
            this.radMultiColumnComboBox1.EditorControl.ReadOnly = true;
            this.radMultiColumnComboBox1.EditorControl.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radMultiColumnComboBox1.EditorControl.ShowGroupPanel = false;
            this.radMultiColumnComboBox1.EditorControl.Size = new System.Drawing.Size(240, 150);
            this.radMultiColumnComboBox1.EditorControl.TabIndex = 0;
            this.radMultiColumnComboBox1.Location = new System.Drawing.Point(339, -39);
            this.radMultiColumnComboBox1.Name = "radMultiColumnComboBox1";
            // 
            // 
            // 
            this.radMultiColumnComboBox1.RootElement.AutoSizeMode = Telerik.WinControls.RadAutoSizeMode.WrapAroundChildren;
            this.radMultiColumnComboBox1.Size = new System.Drawing.Size(153, 20);
            this.radMultiColumnComboBox1.TabIndex = 19;
            this.radMultiColumnComboBox1.TabStop = false;
            // 
            // srcItem
            // 
            this.srcItem.DataSource = typeof(Shayan.Data.Visit);
            // 
            // cmbDoctor
            // 
            this.cmbDoctor.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbDoctor.AutoCompleteDisplayMember = "Title";
            this.cmbDoctor.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
            this.cmbDoctor.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.srcItem, "Doctor", true));
            this.cmbDoctor.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.srcItem, "Doctor", true));
            this.cmbDoctor.DisplayMember = "Title";
            this.cmbDoctor.DropDownAnimationEnabled = true;
            this.cmbDoctor.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbDoctor.Location = new System.Drawing.Point(733, 66);
            this.cmbDoctor.MaxDropDownItems = 0;
            this.cmbDoctor.Name = "cmbDoctor";
            this.cmbDoctor.ShowImageInEditorArea = true;
            this.cmbDoctor.Size = new System.Drawing.Size(166, 28);
            this.cmbDoctor.TabIndex = 1;
            // 
            // radLabel9
            // 
            this.radLabel9.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel9.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel9.Location = new System.Drawing.Point(901, 66);
            this.radLabel9.Name = "radLabel9";
            this.radLabel9.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel9.Size = new System.Drawing.Size(50, 30);
            this.radLabel9.TabIndex = 9;
            this.radLabel9.Text = "پزشک :";
            this.radLabel9.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radTextBox1
            // 
            this.radTextBox1.AcceptsReturn = true;
            this.radTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radTextBox1.AutoScroll = true;
            this.radTextBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Comment", true));
            this.radTextBox1.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radTextBox1.Location = new System.Drawing.Point(10, 125);
            this.radTextBox1.Multiline = true;
            this.radTextBox1.Name = "radTextBox1";
            // 
            // 
            // 
            this.radTextBox1.RootElement.StretchVertically = true;
            this.radTextBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.radTextBox1.Size = new System.Drawing.Size(889, 80);
            this.radTextBox1.TabIndex = 5;
            this.radTextBox1.TabStop = false;
            this.radTextBox1.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtComment_TextChanging);
            // 
            // radLabel6
            // 
            this.radLabel6.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel6.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel6.Location = new System.Drawing.Point(900, 122);
            this.radLabel6.Name = "radLabel6";
            this.radLabel6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel6.Size = new System.Drawing.Size(49, 30);
            this.radLabel6.TabIndex = 15;
            this.radLabel6.Text = "توضیح :";
            this.radLabel6.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // faDatePicker1
            // 
            this.faDatePicker1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.faDatePicker1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedDateTime", this.srcItem, "Date", true));
            this.faDatePicker1.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.faDatePicker1.Location = new System.Drawing.Point(733, 96);
            this.faDatePicker1.Multiline = true;
            this.faDatePicker1.Name = "faDatePicker1";
            this.faDatePicker1.Size = new System.Drawing.Size(166, 28);
            this.faDatePicker1.TabIndex = 2;
            // 
            // radLabel5
            // 
            this.radLabel5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel5.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel5.Location = new System.Drawing.Point(603, 32);
            this.radLabel5.Name = "radLabel5";
            this.radLabel5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel5.Size = new System.Drawing.Size(42, 30);
            this.radLabel5.TabIndex = 6;
            this.radLabel5.Text = "بدهی :";
            this.radLabel5.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // lblBedehi
            // 
            this.lblBedehi.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.lblBedehi.AutoSize = false;
            this.lblBedehi.Font = new System.Drawing.Font("B Nazanin", 10F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.lblBedehi.Location = new System.Drawing.Point(316, 35);
            this.lblBedehi.Name = "lblBedehi";
            this.lblBedehi.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblBedehi.Size = new System.Drawing.Size(304, 23);
            this.lblBedehi.TabIndex = 7;
            this.lblBedehi.Text = "0 ریال";
            this.lblBedehi.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // btnDocument
            // 
            this.btnDocument.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnDocument.Enabled = false;
            this.btnDocument.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnDocument.Location = new System.Drawing.Point(655, 34);
            this.btnDocument.Name = "btnDocument";
            this.btnDocument.Size = new System.Drawing.Size(72, 27);
            this.btnDocument.TabIndex = 9;
            this.btnDocument.Text = "پرونده بیمار";
            this.btnDocument.Click += new System.EventHandler(this.btnDocument_Click);
            // 
            // radLabel4
            // 
            this.radLabel4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel4.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel4.Location = new System.Drawing.Point(506, 93);
            this.radLabel4.Name = "radLabel4";
            this.radLabel4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel4.Size = new System.Drawing.Size(57, 30);
            this.radLabel4.TabIndex = 6;
            this.radLabel4.Text = "تا ساعت :";
            this.radLabel4.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel2
            // 
            this.radLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel2.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel2.Location = new System.Drawing.Point(902, 96);
            this.radLabel2.Name = "radLabel2";
            this.radLabel2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel2.Size = new System.Drawing.Size(42, 30);
            this.radLabel2.TabIndex = 6;
            this.radLabel2.Text = "تاریخ :";
            this.radLabel2.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // tpTo
            // 
            this.tpTo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.tpTo.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.srcItem, "ToTime", true));
            this.tpTo.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.tpTo.HeadersHeight = 19;
            this.tpTo.Location = new System.Drawing.Point(402, 93);
            this.tpTo.Name = "tpTo";
            this.tpTo.Size = new System.Drawing.Size(103, 28);
            this.tpTo.TabIndex = 4;
            this.tpTo.TabStop = false;
            this.tpTo.Text = "radTimePicker1";
            this.tpTo.Value = new System.DateTime(2012, 7, 31, 11, 14, 20, 0);
            // 
            // radLabel1
            // 
            this.radLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel1.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel1.Location = new System.Drawing.Point(902, 30);
            this.radLabel1.Name = "radLabel1";
            this.radLabel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel1.Size = new System.Drawing.Size(38, 30);
            this.radLabel1.TabIndex = 5;
            this.radLabel1.Text = "بیمار :";
            this.radLabel1.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel3
            // 
            this.radLabel3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel3.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel3.Location = new System.Drawing.Point(667, 95);
            this.radLabel3.Name = "radLabel3";
            this.radLabel3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel3.Size = new System.Drawing.Size(59, 30);
            this.radLabel3.TabIndex = 4;
            this.radLabel3.Text = "از ساعت :";
            this.radLabel3.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // tpFrom
            // 
            this.tpFrom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.tpFrom.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.srcItem, "FromTime", true));
            this.tpFrom.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.tpFrom.HeadersHeight = 19;
            this.tpFrom.Location = new System.Drawing.Point(565, 95);
            this.tpFrom.Name = "tpFrom";
            this.tpFrom.Size = new System.Drawing.Size(101, 28);
            this.tpFrom.TabIndex = 3;
            this.tpFrom.TabStop = false;
            this.tpFrom.Text = "radTimePicker1";
            this.tpFrom.Value = new System.DateTime(2012, 7, 31, 11, 14, 20, 0);
            // 
            // radPageViewPage3
            // 
            this.radPageViewPage3.Controls.Add(this.radGroupBox3);
            this.radPageViewPage3.Controls.Add(this.grbService);
            this.radPageViewPage3.Location = new System.Drawing.Point(10, 49);
            this.radPageViewPage3.Name = "radPageViewPage3";
            this.radPageViewPage3.Size = new System.Drawing.Size(959, 456);
            this.radPageViewPage3.Text = "خدمات";
            // 
            // radGroupBox3
            // 
            this.radGroupBox3.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox3.Controls.Add(this.grvServices);
            this.radGroupBox3.Controls.Add(this.radLabel16);
            this.radGroupBox3.Controls.Add(this.lblFinalSumCost);
            this.radGroupBox3.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox3.FooterImageIndex = -1;
            this.radGroupBox3.FooterImageKey = "";
            this.radGroupBox3.HeaderImageIndex = -1;
            this.radGroupBox3.HeaderImageKey = "";
            this.radGroupBox3.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox3.HeaderText = "لیست خدمات";
            this.radGroupBox3.Location = new System.Drawing.Point(3, 3);
            this.radGroupBox3.Name = "radGroupBox3";
            this.radGroupBox3.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            this.radGroupBox3.Size = new System.Drawing.Size(236, 454);
            this.radGroupBox3.TabIndex = 6;
            this.radGroupBox3.Text = "لیست خدمات";
            // 
            // grvServices
            // 
            this.grvServices.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.grvServices.AutoScroll = true;
            this.grvServices.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(240)))), ((int)(((byte)(249)))));
            this.grvServices.Cursor = System.Windows.Forms.Cursors.Default;
            this.grvServices.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold);
            this.grvServices.ForeColor = System.Drawing.Color.Black;
            this.grvServices.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.grvServices.Location = new System.Drawing.Point(5, 33);
            // 
            // grvServices
            // 
            this.grvServices.MasterTemplate.AllowAddNewRow = false;
            this.grvServices.MasterTemplate.AllowCellContextMenu = false;
            this.grvServices.MasterTemplate.AllowColumnChooser = false;
            this.grvServices.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.grvServices.MasterTemplate.AllowColumnReorder = false;
            this.grvServices.MasterTemplate.AllowDeleteRow = false;
            this.grvServices.MasterTemplate.AllowDragToGroup = false;
            this.grvServices.MasterTemplate.AllowEditRow = false;
            this.grvServices.MasterTemplate.AllowRowResize = false;
            this.grvServices.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn28.EnableExpressionEditor = false;
            gridViewTextBoxColumn28.FieldName = "ToothDescription";
            gridViewTextBoxColumn28.HeaderText = "سرویس";
            gridViewTextBoxColumn28.Name = "column1";
            gridViewTextBoxColumn28.Width = 162;
            gridViewTextBoxColumn29.EnableExpressionEditor = false;
            gridViewTextBoxColumn29.FieldName = "FinalCost";
            gridViewTextBoxColumn29.FormatString = "{0:0,0 ریال}";
            gridViewTextBoxColumn29.HeaderText = "قیمت";
            gridViewTextBoxColumn29.Name = "column4";
            gridViewTextBoxColumn29.Width = 34;
            gridViewCommandColumn5.AllowHide = false;
            gridViewCommandColumn5.AllowReorder = false;
            gridViewCommandColumn5.AllowResize = false;
            gridViewCommandColumn5.AllowSort = false;
            gridViewCommandColumn5.EnableExpressionEditor = false;
            gridViewCommandColumn5.HeaderText = "حذف";
            gridViewCommandColumn5.IsPinned = true;
            gridViewCommandColumn5.Name = "column3";
            gridViewCommandColumn5.PinPosition = Telerik.WinControls.UI.PinnedColumnPosition.Right;
            gridViewCommandColumn5.Width = 30;
            this.grvServices.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn28,
            gridViewTextBoxColumn29,
            gridViewCommandColumn5});
            this.grvServices.MasterTemplate.EnableFiltering = true;
            this.grvServices.MasterTemplate.EnableGrouping = false;
            this.grvServices.MasterTemplate.ShowFilteringRow = false;
            this.grvServices.MasterTemplate.ShowRowHeaderColumn = false;
            this.grvServices.Name = "grvServices";
            this.grvServices.ReadOnly = true;
            this.grvServices.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.grvServices.Size = new System.Drawing.Size(226, 386);
            this.grvServices.TabIndex = 12;
            this.grvServices.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting);
            this.grvServices.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvServices_CurrentRowChanging);
            this.grvServices.SelectionChanged += new System.EventHandler(this.grvServices_SelectionChanged);
            this.grvServices.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick);
            this.grvServices.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvServices_KeyDown);
            // 
            // radLabel16
            // 
            this.radLabel16.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel16.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel16.Location = new System.Drawing.Point(134, 420);
            this.radLabel16.Name = "radLabel16";
            this.radLabel16.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel16.Size = new System.Drawing.Size(97, 30);
            this.radLabel16.TabIndex = 10;
            this.radLabel16.Text = "مجموع هزینه ها :";
            this.radLabel16.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // lblFinalSumCost
            // 
            this.lblFinalSumCost.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.lblFinalSumCost.AutoSize = false;
            this.lblFinalSumCost.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "FinalSumCost", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, "صفر", "0,0 ریال"));
            this.lblFinalSumCost.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.lblFinalSumCost.Location = new System.Drawing.Point(5, 421);
            this.lblFinalSumCost.Name = "lblFinalSumCost";
            this.lblFinalSumCost.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblFinalSumCost.Size = new System.Drawing.Size(130, 24);
            this.lblFinalSumCost.TabIndex = 11;
            this.lblFinalSumCost.Text = "0";
            this.lblFinalSumCost.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // grbService
            // 
            this.grbService.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.grbService.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.grbService.Controls.Add(this.txtTakhfif);
            this.grbService.Controls.Add(this.radLabel13);
            this.grbService.Controls.Add(this.radLabel10);
            this.grbService.Controls.Add(this.txtComment);
            this.grbService.Controls.Add(this.radLabel12);
            this.grbService.Controls.Add(this.ucTooth1);
            this.grbService.Controls.Add(this.radLabel14);
            this.grbService.Controls.Add(this.lsvInsurances);
            this.grbService.Controls.Add(this.lblFinalServiceCost);
            this.grbService.Controls.Add(this.btnPercent);
            this.grbService.Controls.Add(this.cmbService);
            this.grbService.Controls.Add(this.cmbCategories);
            this.grbService.Controls.Add(this.btnAdd);
            this.grbService.Controls.Add(this.btnNew);
            this.grbService.Controls.Add(this.radLabel11);
            this.grbService.Controls.Add(this.txtServiceCost);
            this.grbService.Controls.Add(this.radLabel8);
            this.grbService.Controls.Add(this.radLabel7);
            this.grbService.Enabled = false;
            this.grbService.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.grbService.FooterImageIndex = -1;
            this.grbService.FooterImageKey = "";
            this.grbService.HeaderImageIndex = -1;
            this.grbService.HeaderImageKey = "";
            this.grbService.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.grbService.HeaderText = "ارائه خدمات";
            this.grbService.Location = new System.Drawing.Point(242, 3);
            this.grbService.Name = "grbService";
            this.grbService.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            // 
            // 
            // 
            this.grbService.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.grbService.Size = new System.Drawing.Size(714, 454);
            this.grbService.TabIndex = 5;
            this.grbService.Text = "ارائه خدمات";
            // 
            // txtTakhfif
            // 
            this.txtTakhfif.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtTakhfif.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcService, "Discount", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "N0"));
            this.txtTakhfif.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.txtTakhfif.Location = new System.Drawing.Point(311, 64);
            this.txtTakhfif.Name = "txtTakhfif";
            this.txtTakhfif.Size = new System.Drawing.Size(70, 28);
            this.txtTakhfif.TabIndex = 9;
            this.txtTakhfif.TabStop = false;
            this.txtTakhfif.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtSalary_TextChanging);
            this.txtTakhfif.TextChanged += new System.EventHandler(this.txtTakhfif_TextChanged);
            // 
            // srcService
            // 
            this.srcService.DataSource = typeof(Shayan.Data.VisitService);
            // 
            // radLabel13
            // 
            this.radLabel13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel13.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel13.Location = new System.Drawing.Point(639, 91);
            this.radLabel13.Name = "radLabel13";
            this.radLabel13.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel13.Size = new System.Drawing.Size(49, 30);
            this.radLabel13.TabIndex = 17;
            this.radLabel13.Text = "توضیح :";
            this.radLabel13.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel10
            // 
            this.radLabel10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel10.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel10.Location = new System.Drawing.Point(363, 31);
            this.radLabel10.Name = "radLabel10";
            this.radLabel10.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel10.Size = new System.Drawing.Size(107, 30);
            this.radLabel10.TabIndex = 9;
            this.radLabel10.Text = "هزینه واحد (ریال) :";
            this.radLabel10.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // txtComment
            // 
            this.txtComment.AcceptsReturn = true;
            this.txtComment.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.txtComment.AutoScroll = true;
            this.txtComment.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcService, "Comment", true));
            this.txtComment.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.txtComment.Location = new System.Drawing.Point(266, 96);
            this.txtComment.Multiline = true;
            this.txtComment.Name = "txtComment";
            // 
            // 
            // 
            this.txtComment.RootElement.StretchVertically = true;
            this.txtComment.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.txtComment.Size = new System.Drawing.Size(372, 108);
            this.txtComment.TabIndex = 16;
            this.txtComment.TabStop = false;
            // 
            // radLabel12
            // 
            this.radLabel12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel12.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel12.Location = new System.Drawing.Point(208, 31);
            this.radLabel12.Name = "radLabel12";
            this.radLabel12.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel12.Size = new System.Drawing.Size(49, 30);
            this.radLabel12.TabIndex = 9;
            this.radLabel12.Text = "بیمه ها :";
            this.radLabel12.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // ucTooth1
            // 
            this.ucTooth1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.ucTooth1.ChildTooth = false;
            this.ucTooth1.DataBindings.Add(new System.Windows.Forms.Binding("SelectedTooths", this.srcService, "Tooth", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.ucTooth1.Location = new System.Drawing.Point(5, 211);
            this.ucTooth1.Name = "ucTooth1";
            this.ucTooth1.ReadOnly = false;
            this.ucTooth1.SelectedTooths = ((long)(0));
            this.ucTooth1.Size = new System.Drawing.Size(699, 195);
            this.ucTooth1.TabIndex = 15;
            // 
            // radLabel14
            // 
            this.radLabel14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel14.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel14.Location = new System.Drawing.Point(367, 413);
            this.radLabel14.Name = "radLabel14";
            this.radLabel14.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel14.Size = new System.Drawing.Size(121, 30);
            this.radLabel14.TabIndex = 8;
            this.radLabel14.Text = "هزینه نهایی سرویس :";
            this.radLabel14.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // lsvInsurances
            // 
            this.lsvInsurances.AllowColumnReorder = false;
            this.lsvInsurances.AllowColumnResize = false;
            this.lsvInsurances.AllowEdit = false;
            this.lsvInsurances.AllowRemove = false;
            this.lsvInsurances.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            listViewDetailColumn1.HeaderText = "نام بیمه";
            this.lsvInsurances.Columns.AddRange(new Telerik.WinControls.UI.ListViewDetailColumn[] {
            listViewDetailColumn1});
            this.lsvInsurances.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.lsvInsurances.GroupItemSize = new System.Drawing.Size(200, 20);
            this.lsvInsurances.ItemSize = new System.Drawing.Size(200, 20);
            this.lsvInsurances.ItemSpacing = -1;
            this.lsvInsurances.Location = new System.Drawing.Point(5, 33);
            this.lsvInsurances.Name = "lsvInsurances";
            this.lsvInsurances.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lsvInsurances.ShowCheckBoxes = true;
            this.lsvInsurances.ShowColumnHeaders = false;
            this.lsvInsurances.ShowGridLines = true;
            this.lsvInsurances.Size = new System.Drawing.Size(200, 172);
            this.lsvInsurances.TabIndex = 0;
            this.lsvInsurances.ViewType = Telerik.WinControls.UI.ListViewType.DetailsView;
            this.lsvInsurances.ItemCheckedChanged += new Telerik.WinControls.UI.ListViewItemEventHandler(this.lsvInsurances_ItemCheckedChanged);
            // 
            // lblFinalServiceCost
            // 
            this.lblFinalServiceCost.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.lblFinalServiceCost.AutoSize = false;
            this.lblFinalServiceCost.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcService, "FinalCost", true, System.Windows.Forms.DataSourceUpdateMode.OnValidation, "صفر", "0,0 ریال"));
            this.lblFinalServiceCost.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.lblFinalServiceCost.Location = new System.Drawing.Point(238, 416);
            this.lblFinalServiceCost.Name = "lblFinalServiceCost";
            this.lblFinalServiceCost.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.lblFinalServiceCost.Size = new System.Drawing.Size(125, 24);
            this.lblFinalServiceCost.TabIndex = 9;
            this.lblFinalServiceCost.Text = "0 ریال";
            this.lblFinalServiceCost.TextAlignment = System.Drawing.ContentAlignment.MiddleLeft;
            // 
            // btnPercent
            // 
            this.btnPercent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPercent.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnPercent.Location = new System.Drawing.Point(266, 63);
            this.btnPercent.Name = "btnPercent";
            this.btnPercent.Size = new System.Drawing.Size(39, 29);
            this.btnPercent.TabIndex = 10;
            this.btnPercent.Text = "درصد";
            this.btnPercent.Click += new System.EventHandler(this.btnPercent_Click);
            // 
            // cmbService
            // 
            this.cmbService.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbService.AutoCompleteDisplayMember = "Title";
            this.cmbService.DataBindings.Add(new System.Windows.Forms.Binding("SelectedItem", this.srcService, "Service", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.cmbService.DataBindings.Add(new System.Windows.Forms.Binding("SelectedValue", this.srcService, "Service", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged));
            this.cmbService.DisplayMember = "Title";
            this.cmbService.DropDownAnimationEnabled = true;
            this.cmbService.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            this.cmbService.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbService.Location = new System.Drawing.Point(475, 63);
            this.cmbService.MaxDropDownItems = 0;
            this.cmbService.Name = "cmbService";
            this.cmbService.ShowImageInEditorArea = true;
            this.cmbService.Size = new System.Drawing.Size(163, 28);
            this.cmbService.TabIndex = 7;
            this.cmbService.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbService_SelectedIndexChanged);
            // 
            // cmbCategories
            // 
            this.cmbCategories.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.cmbCategories.AutoCompleteDisplayMember = "Title";
            this.cmbCategories.DisplayMember = "Title";
            this.cmbCategories.DropDownAnimationEnabled = true;
            this.cmbCategories.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            this.cmbCategories.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbCategories.Location = new System.Drawing.Point(475, 31);
            this.cmbCategories.MaxDropDownItems = 0;
            this.cmbCategories.Name = "cmbCategories";
            this.cmbCategories.ShowImageInEditorArea = true;
            this.cmbCategories.Size = new System.Drawing.Size(163, 28);
            this.cmbCategories.TabIndex = 6;
            this.cmbCategories.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbCategories_SelectedIndexChanged);
            // 
            // btnAdd
            // 
            this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnAdd.Location = new System.Drawing.Point(615, 408);
            this.btnAdd.Name = "btnAdd";
            this.btnAdd.Size = new System.Drawing.Size(95, 35);
            this.btnAdd.TabIndex = 13;
            this.btnAdd.Text = "افزودن";
            this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
            // 
            // btnNew
            // 
            this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnNew.Location = new System.Drawing.Point(514, 408);
            this.btnNew.Name = "btnNew";
            this.btnNew.Size = new System.Drawing.Size(95, 35);
            this.btnNew.TabIndex = 14;
            this.btnNew.Text = "جدید";
            this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
            // 
            // radLabel11
            // 
            this.radLabel11.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel11.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel11.Location = new System.Drawing.Point(385, 63);
            this.radLabel11.Name = "radLabel11";
            this.radLabel11.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel11.Size = new System.Drawing.Size(85, 30);
            this.radLabel11.TabIndex = 10;
            this.radLabel11.Text = "تخفیف (ریال) :";
            this.radLabel11.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // txtServiceCost
            // 
            this.txtServiceCost.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtServiceCost.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcService, "Cost", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged, null, "N0"));
            this.txtServiceCost.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.txtServiceCost.Location = new System.Drawing.Point(266, 31);
            this.txtServiceCost.Name = "txtServiceCost";
            this.txtServiceCost.Size = new System.Drawing.Size(97, 28);
            this.txtServiceCost.TabIndex = 8;
            this.txtServiceCost.TabStop = false;
            this.txtServiceCost.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtSalary_TextChanging);
            // 
            // radLabel8
            // 
            this.radLabel8.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel8.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel8.Location = new System.Drawing.Point(641, 62);
            this.radLabel8.Name = "radLabel8";
            this.radLabel8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel8.Size = new System.Drawing.Size(57, 30);
            this.radLabel8.TabIndex = 8;
            this.radLabel8.Text = "سرویس :";
            this.radLabel8.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel7
            // 
            this.radLabel7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel7.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel7.Location = new System.Drawing.Point(640, 31);
            this.radLabel7.Name = "radLabel7";
            this.radLabel7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radLabel7.Size = new System.Drawing.Size(69, 30);
            this.radLabel7.TabIndex = 6;
            this.radLabel7.Text = "دسته بندی :";
            this.radLabel7.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radPageViewPage2
            // 
            this.radPageViewPage2.Controls.Add(this.radGroupBox5);
            this.radPageViewPage2.Controls.Add(this.radGroupBox6);
            this.radPageViewPage2.Controls.Add(this.radGroupBox2);
            this.radPageViewPage2.Location = new System.Drawing.Point(10, 49);
            this.radPageViewPage2.Name = "radPageViewPage2";
            this.radPageViewPage2.Size = new System.Drawing.Size(959, 456);
            this.radPageViewPage2.Text = "نسخه";
            // 
            // radGroupBox5
            // 
            this.radGroupBox5.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox5.CausesValidation = false;
            this.radGroupBox5.Controls.Add(this.cmbPrescription);
            this.radGroupBox5.Controls.Add(this.grvPrescriptionDrug);
            this.radGroupBox5.Controls.Add(this.btnAddPrescription);
            this.radGroupBox5.Controls.Add(this.radLabel18);
            this.radGroupBox5.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox5.FooterImageIndex = -1;
            this.radGroupBox5.FooterImageKey = "";
            this.radGroupBox5.HeaderImageIndex = -1;
            this.radGroupBox5.HeaderImageKey = "";
            this.radGroupBox5.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox5.HeaderText = "نسخه از پیش تعرف شده";
            this.radGroupBox5.Location = new System.Drawing.Point(670, 260);
            this.radGroupBox5.Name = "radGroupBox5";
            this.radGroupBox5.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            this.radGroupBox5.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGroupBox5.Size = new System.Drawing.Size(289, 193);
            this.radGroupBox5.TabIndex = 27;
            this.radGroupBox5.Text = "نسخه از پیش تعرف شده";
            // 
            // cmbPrescription
            // 
            this.cmbPrescription.AutoCompleteDisplayMember = "Title";
            this.cmbPrescription.DisplayMember = "Title";
            this.cmbPrescription.DropDownAnimationEnabled = true;
            this.cmbPrescription.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            this.cmbPrescription.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbPrescription.Location = new System.Drawing.Point(6, 26);
            this.cmbPrescription.MaxDropDownItems = 0;
            this.cmbPrescription.Name = "cmbPrescription";
            this.cmbPrescription.ShowImageInEditorArea = true;
            this.cmbPrescription.Size = new System.Drawing.Size(217, 28);
            this.cmbPrescription.TabIndex = 104;
            this.cmbPrescription.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbPrescription_SelectedIndexChanged);
            // 
            // grvPrescriptionDrug
            // 
            this.grvPrescriptionDrug.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.grvPrescriptionDrug.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.grvPrescriptionDrug.Location = new System.Drawing.Point(5, 60);
            // 
            // grvPrescriptionDrug
            // 
            this.grvPrescriptionDrug.MasterTemplate.AllowAddNewRow = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowCellContextMenu = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowColumnChooser = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowColumnReorder = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowColumnResize = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowDeleteRow = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowDragToGroup = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowEditRow = false;
            this.grvPrescriptionDrug.MasterTemplate.AllowRowResize = false;
            this.grvPrescriptionDrug.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn30.FieldName = "Drug.Title";
            gridViewTextBoxColumn30.HeaderText = "نام دارو";
            gridViewTextBoxColumn30.Name = "column1";
            gridViewTextBoxColumn30.StretchVertically = false;
            gridViewTextBoxColumn30.Width = 106;
            gridViewTextBoxColumn31.FieldName = "CustomManual";
            gridViewTextBoxColumn31.HeaderText = "توضیحات";
            gridViewTextBoxColumn31.Name = "column2";
            gridViewTextBoxColumn31.Width = 173;
            this.grvPrescriptionDrug.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn30,
            gridViewTextBoxColumn31});
            this.grvPrescriptionDrug.MasterTemplate.EnableGrouping = false;
            this.grvPrescriptionDrug.MasterTemplate.ShowRowHeaderColumn = false;
            this.grvPrescriptionDrug.Name = "grvPrescriptionDrug";
            this.grvPrescriptionDrug.ReadOnly = true;
            // 
            // 
            // 
            this.grvPrescriptionDrug.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.grvPrescriptionDrug.Size = new System.Drawing.Size(279, 85);
            this.grvPrescriptionDrug.TabIndex = 14;
            // 
            // btnAddPrescription
            // 
            this.btnAddPrescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddPrescription.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnAddPrescription.Location = new System.Drawing.Point(5, 151);
            this.btnAddPrescription.Name = "btnAddPrescription";
            this.btnAddPrescription.Size = new System.Drawing.Size(279, 35);
            this.btnAddPrescription.TabIndex = 105;
            this.btnAddPrescription.Text = "افزودن نسخه";
            this.btnAddPrescription.Click += new System.EventHandler(this.btnAddPrescription_Click);
            // 
            // radLabel18
            // 
            this.radLabel18.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel18.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel18.Location = new System.Drawing.Point(225, 26);
            this.radLabel18.Name = "radLabel18";
            this.radLabel18.Size = new System.Drawing.Size(60, 30);
            this.radLabel18.TabIndex = 11;
            this.radLabel18.Text = "نام نسخه :";
            this.radLabel18.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radGroupBox6
            // 
            this.radGroupBox6.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox6.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox6.Controls.Add(this.btnPrintPrescription);
            this.radGroupBox6.Controls.Add(this.grvDrugs);
            this.radGroupBox6.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox6.FooterImageIndex = -1;
            this.radGroupBox6.FooterImageKey = "";
            this.radGroupBox6.HeaderImageIndex = -1;
            this.radGroupBox6.HeaderImageKey = "";
            this.radGroupBox6.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox6.HeaderText = "داروها";
            this.radGroupBox6.Location = new System.Drawing.Point(3, 3);
            this.radGroupBox6.Name = "radGroupBox6";
            this.radGroupBox6.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            this.radGroupBox6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGroupBox6.Size = new System.Drawing.Size(661, 450);
            this.radGroupBox6.TabIndex = 27;
            this.radGroupBox6.Text = "داروها";
            // 
            // btnPrintPrescription
            // 
            this.btnPrintPrescription.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnPrintPrescription.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnPrintPrescription.Location = new System.Drawing.Point(512, 408);
            this.btnPrintPrescription.Name = "btnPrintPrescription";
            this.btnPrintPrescription.Size = new System.Drawing.Size(144, 35);
            this.btnPrintPrescription.TabIndex = 5;
            this.btnPrintPrescription.Text = "پرینت نسخه";
            this.btnPrintPrescription.Click += new System.EventHandler(this.btnPrintPrescription_Click);
            // 
            // grvDrugs
            // 
            this.grvDrugs.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.grvDrugs.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(233)))), ((int)(((byte)(240)))), ((int)(((byte)(249)))));
            this.grvDrugs.Cursor = System.Windows.Forms.Cursors.Default;
            this.grvDrugs.Font = new System.Drawing.Font("B Lotus", 11.25F, System.Drawing.FontStyle.Bold);
            this.grvDrugs.ForeColor = System.Drawing.Color.Black;
            this.grvDrugs.ImeMode = System.Windows.Forms.ImeMode.NoControl;
            this.grvDrugs.Location = new System.Drawing.Point(5, 28);
            // 
            // grvDrugs
            // 
            this.grvDrugs.MasterTemplate.AllowAddNewRow = false;
            this.grvDrugs.MasterTemplate.AllowCellContextMenu = false;
            this.grvDrugs.MasterTemplate.AllowColumnChooser = false;
            this.grvDrugs.MasterTemplate.AllowColumnHeaderContextMenu = false;
            this.grvDrugs.MasterTemplate.AllowColumnReorder = false;
            this.grvDrugs.MasterTemplate.AllowColumnResize = false;
            this.grvDrugs.MasterTemplate.AllowDeleteRow = false;
            this.grvDrugs.MasterTemplate.AllowDragToGroup = false;
            this.grvDrugs.MasterTemplate.AllowEditRow = false;
            this.grvDrugs.MasterTemplate.AllowRowResize = false;
            this.grvDrugs.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
            gridViewTextBoxColumn32.EnableExpressionEditor = false;
            gridViewTextBoxColumn32.FieldName = "Drug.Title";
            gridViewTextBoxColumn32.HeaderText = "نام دارو";
            gridViewTextBoxColumn32.Name = "column1";
            gridViewTextBoxColumn32.Width = 91;
            gridViewTextBoxColumn33.EnableExpressionEditor = false;
            gridViewTextBoxColumn33.FieldName = "CustomManual";
            gridViewTextBoxColumn33.HeaderText = "توضیحات";
            gridViewTextBoxColumn33.Name = "column3";
            gridViewTextBoxColumn33.Width = 530;
            gridViewCommandColumn6.AllowHide = false;
            gridViewCommandColumn6.AllowReorder = false;
            gridViewCommandColumn6.AllowResize = false;
            gridViewCommandColumn6.AllowSort = false;
            gridViewCommandColumn6.EnableExpressionEditor = false;
            gridViewCommandColumn6.HeaderText = "حذف";
            gridViewCommandColumn6.Name = "column2";
            gridViewCommandColumn6.Width = 30;
            this.grvDrugs.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
            gridViewTextBoxColumn32,
            gridViewTextBoxColumn33,
            gridViewCommandColumn6});
            this.grvDrugs.MasterTemplate.EnableGrouping = false;
            this.grvDrugs.MasterTemplate.ShowRowHeaderColumn = false;
            this.grvDrugs.Name = "grvDrugs";
            this.grvDrugs.ReadOnly = true;
            this.grvDrugs.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            // 
            // 
            // 
            this.grvDrugs.RootElement.MinSize = new System.Drawing.Size(0, 0);
            this.grvDrugs.Size = new System.Drawing.Size(651, 374);
            this.grvDrugs.TabIndex = 13;
            this.grvDrugs.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting);
            this.grvDrugs.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvDrugs_CurrentRowChanging);
            this.grvDrugs.SelectionChanged += new System.EventHandler(this.grvDrugs_SelectionChanged);
            this.grvDrugs.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvDrugs_CommandCellClick);
            // 
            // radGroupBox2
            // 
            this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
            this.radGroupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radGroupBox2.CausesValidation = false;
            this.radGroupBox2.Controls.Add(this.cmbDrugs);
            this.radGroupBox2.Controls.Add(this.btnAddDrug);
            this.radGroupBox2.Controls.Add(this.btnNewDrug);
            this.radGroupBox2.Controls.Add(this.radLabel20);
            this.radGroupBox2.Controls.Add(this.radLabel22);
            this.radGroupBox2.Controls.Add(this.txtManual);
            this.radGroupBox2.Font = new System.Drawing.Font("B Titr", 9F, System.Drawing.FontStyle.Bold);
            this.radGroupBox2.FooterImageIndex = -1;
            this.radGroupBox2.FooterImageKey = "";
            this.radGroupBox2.HeaderImageIndex = -1;
            this.radGroupBox2.HeaderImageKey = "";
            this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0);
            this.radGroupBox2.HeaderText = "دارو";
            this.radGroupBox2.Location = new System.Drawing.Point(670, 3);
            this.radGroupBox2.Name = "radGroupBox2";
            this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 18, 2, 2);
            this.radGroupBox2.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.radGroupBox2.Size = new System.Drawing.Size(289, 251);
            this.radGroupBox2.TabIndex = 26;
            this.radGroupBox2.Text = "دارو";
            // 
            // cmbDrugs
            // 
            this.cmbDrugs.AutoCompleteDisplayMember = "Title";
            this.cmbDrugs.DisplayMember = "Title";
            this.cmbDrugs.DropDownAnimationEnabled = true;
            this.cmbDrugs.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
            this.cmbDrugs.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.cmbDrugs.Location = new System.Drawing.Point(5, 28);
            this.cmbDrugs.MaxDropDownItems = 0;
            this.cmbDrugs.Name = "cmbDrugs";
            this.cmbDrugs.ShowImageInEditorArea = true;
            this.cmbDrugs.Size = new System.Drawing.Size(217, 28);
            this.cmbDrugs.TabIndex = 100;
            this.cmbDrugs.SelectedIndexChanged += new Telerik.WinControls.UI.Data.PositionChangedEventHandler(this.cmbDrugs_SelectedIndexChanged);
            // 
            // btnAddDrug
            // 
            this.btnAddDrug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnAddDrug.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnAddDrug.Location = new System.Drawing.Point(138, 205);
            this.btnAddDrug.Name = "btnAddDrug";
            this.btnAddDrug.Size = new System.Drawing.Size(146, 35);
            this.btnAddDrug.TabIndex = 102;
            this.btnAddDrug.Text = "افزودن دارو";
            this.btnAddDrug.Click += new System.EventHandler(this.btnAddDrug_Click);
            // 
            // btnNewDrug
            // 
            this.btnNewDrug.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnNewDrug.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold);
            this.btnNewDrug.Location = new System.Drawing.Point(5, 205);
            this.btnNewDrug.Name = "btnNewDrug";
            this.btnNewDrug.Size = new System.Drawing.Size(127, 35);
            this.btnNewDrug.TabIndex = 103;
            this.btnNewDrug.Text = "داروی جدید";
            this.btnNewDrug.Click += new System.EventHandler(this.btnNewDrug_Click);
            // 
            // radLabel20
            // 
            this.radLabel20.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel20.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel20.Location = new System.Drawing.Point(228, 28);
            this.radLabel20.Name = "radLabel20";
            this.radLabel20.Size = new System.Drawing.Size(53, 30);
            this.radLabel20.TabIndex = 11;
            this.radLabel20.Text = "نام دارو :";
            this.radLabel20.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // radLabel22
            // 
            this.radLabel22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.radLabel22.Font = new System.Drawing.Font("B Koodak", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.radLabel22.Location = new System.Drawing.Point(220, 57);
            this.radLabel22.Name = "radLabel22";
            this.radLabel22.Size = new System.Drawing.Size(65, 30);
            this.radLabel22.TabIndex = 9;
            this.radLabel22.Text = "توضیحات :";
            this.radLabel22.TextAlignment = System.Drawing.ContentAlignment.TopRight;
            // 
            // txtManual
            // 
            this.txtManual.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.txtManual.AutoScroll = true;
            this.txtManual.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcDrug, "CustomManual", true));
            this.txtManual.Font = new System.Drawing.Font("B Nazanin", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.txtManual.Location = new System.Drawing.Point(5, 88);
            this.txtManual.Multiline = true;
            this.txtManual.Name = "txtManual";
            this.txtManual.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            // 
            // 
            // 
            this.txtManual.RootElement.StretchVertically = true;
            this.txtManual.Size = new System.Drawing.Size(279, 111);
            this.txtManual.TabIndex = 101;
            this.txtManual.TabStop = false;
            // 
            // srcDrug
            // 
            this.srcDrug.DataSource = typeof(Shayan.Data.VisitDrug);
            // 
            // btnSave
            // 
            this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnSave.Location = new System.Drawing.Point(887, 523);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(95, 35);
            this.btnSave.TabIndex = 106;
            this.btnSave.Text = "ذخیره";
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // btnCancel
            // 
            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnCancel.Location = new System.Drawing.Point(787, 523);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(94, 35);
            this.btnCancel.TabIndex = 107;
            this.btnCancel.Text = "انصراف";
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnRemove
            // 
            this.btnRemove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
            this.btnRemove.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnRemove.Location = new System.Drawing.Point(688, 523);
            this.btnRemove.Name = "btnRemove";
            this.btnRemove.Size = new System.Drawing.Size(93, 35);
            this.btnRemove.TabIndex = 108;
            this.btnRemove.Text = "حذف";
            this.btnRemove.Click += new System.EventHandler(this.btnRemove_Click_1);
            // 
            // btnPrintVisit
            // 
            this.btnPrintVisit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
            this.btnPrintVisit.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
            this.btnPrintVisit.Location = new System.Drawing.Point(13, 523);
            this.btnPrintVisit.Name = "btnPrintVisit";
            this.btnPrintVisit.Size = new System.Drawing.Size(146, 35);
            this.btnPrintVisit.TabIndex = 109;
            this.btnPrintVisit.Text = "پرینت ویزیت";
            this.btnPrintVisit.Click += new System.EventHandler(this.btnPrintVisit_Click);
            // 
            // UCDefineVisit
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.btnRemove);
            this.Controls.Add(this.btnPrintVisit);
            this.Controls.Add(this.btnSave);
            this.Controls.Add(this.radPageView1);
            this.Controls.Add(this.btnCancel);
            this.Name = "UCDefineVisit";
            this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
            this.Size = new System.Drawing.Size(991, 564);
            ((System.ComponentModel.ISupportInitialize)(this.radPageView1)).EndInit();
            this.radPageView1.ResumeLayout(false);
            this.radPageViewPage1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
            this.radGroupBox1.ResumeLayout(false);
            this.radGroupBox1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox4)).EndInit();
            this.radGroupBox4.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.grvPastServices.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPastServices)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPatient)).EndInit();
            this.cmbPatient.ResumeLayout(false);
            this.cmbPatient.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1.EditorControl)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radMultiColumnComboBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbDoctor)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel9)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radTextBox1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel6)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel5)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblBedehi)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnDocument)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel4)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tpTo)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel3)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tpFrom)).EndInit();
            this.radPageViewPage3.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox3)).EndInit();
            this.radGroupBox3.ResumeLayout(false);
            this.radGroupBox3.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.grvServices.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvServices)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel16)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblFinalSumCost)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grbService)).EndInit();
            this.grbService.ResumeLayout(false);
            this.grbService.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.txtTakhfif)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcService)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel13)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel10)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtComment)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel12)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel14)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lsvInsurances)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.lblFinalServiceCost)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPercent)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbService)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cmbCategories)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel11)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtServiceCost)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel8)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel7)).EndInit();
            this.radPageViewPage2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox5)).EndInit();
            this.radGroupBox5.ResumeLayout(false);
            this.radGroupBox5.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbPrescription)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPrescriptionDrug.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvPrescriptionDrug)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddPrescription)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel18)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox6)).EndInit();
            this.radGroupBox6.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.btnPrintPrescription)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvDrugs.MasterTemplate)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.grvDrugs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
            this.radGroupBox2.ResumeLayout(false);
            this.radGroupBox2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cmbDrugs)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnAddDrug)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnNewDrug)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel20)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.radLabel22)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.txtManual)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.srcDrug)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnRemove)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.btnPrintVisit)).EndInit();
            this.ResumeLayout(false);

        }
예제 #6
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn1 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCommandColumn gridViewCommandColumn1 = new Telerik.WinControls.UI.GridViewCommandColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn2 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn1 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn2 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn3 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn4 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn5 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewTextBoxColumn gridViewTextBoxColumn3 = new Telerik.WinControls.UI.GridViewTextBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn6 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     Telerik.WinControls.UI.GridViewCheckBoxColumn gridViewCheckBoxColumn7 = new Telerik.WinControls.UI.GridViewCheckBoxColumn();
     this.btnSave = new Telerik.WinControls.UI.RadButton();
     this.btnCancel = new Telerik.WinControls.UI.RadButton();
     this.grvItems = new Telerik.WinControls.UI.RadGridView();
     this.radGroupBox1 = new Telerik.WinControls.UI.RadGroupBox();
     this.btnAllAccess = new Telerik.WinControls.UI.RadButton();
     this.btnNoAccess = new Telerik.WinControls.UI.RadButton();
     this.tabAccess = new Telerik.WinControls.UI.RadPageView();
     this.radPageViewPage1 = new Telerik.WinControls.UI.RadPageViewPage();
     this.rgvAccessTask = new Telerik.WinControls.UI.RadGridView();
     this.radPageViewPage2 = new Telerik.WinControls.UI.RadPageViewPage();
     this.rgvAccessSetings = new Telerik.WinControls.UI.RadGridView();
     this.btnAdd = new Telerik.WinControls.UI.RadButton();
     this.btnNew = new Telerik.WinControls.UI.RadButton();
     this.roleTitleLabel = new Telerik.WinControls.UI.RadLabel();
     this.txtName = new Telerik.WinControls.UI.RadTextBox();
     this.srcItem = new System.Windows.Forms.BindingSource(this.components);
     this.radGroupBox2 = new Telerik.WinControls.UI.RadGroupBox();
     this.ucFilter1 = new ShayanDental.UserControls.UCFilter();
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvItems)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).BeginInit();
     this.radGroupBox1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnAllAccess)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnNoAccess)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabAccess)).BeginInit();
     this.tabAccess.SuspendLayout();
     this.radPageViewPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask.MasterTemplate)).BeginInit();
     this.radPageViewPage2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings.MasterTemplate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnNew)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtName)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.srcItem)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).BeginInit();
     this.radGroupBox2.SuspendLayout();
     this.SuspendLayout();
     //
     // btnSave
     //
     this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSave.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnSave.Location = new System.Drawing.Point(750, 567);
     this.btnSave.Name = "btnSave";
     this.btnSave.Size = new System.Drawing.Size(98, 35);
     this.btnSave.TabIndex = 11;
     this.btnSave.Text = "ذخیره";
     this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
     //
     // btnCancel
     //
     this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnCancel.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnCancel.Location = new System.Drawing.Point(646, 567);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.Size = new System.Drawing.Size(98, 35);
     this.btnCancel.TabIndex = 12;
     this.btnCancel.Text = "انصراف";
     this.btnCancel.Click += new System.EventHandler(this.roleNewButton_Click);
     //
     // grvItems
     //
     this.grvItems.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.grvItems.AutoScroll = true;
     this.grvItems.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.grvItems.Location = new System.Drawing.Point(5, 71);
     //
     // grvItems
     //
     this.grvItems.MasterTemplate.AllowAddNewRow = false;
     this.grvItems.MasterTemplate.AllowCellContextMenu = false;
     this.grvItems.MasterTemplate.AllowColumnChooser = false;
     this.grvItems.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.grvItems.MasterTemplate.AllowColumnReorder = false;
     this.grvItems.MasterTemplate.AllowDeleteRow = false;
     this.grvItems.MasterTemplate.AllowDragToGroup = false;
     this.grvItems.MasterTemplate.AllowEditRow = false;
     this.grvItems.MasterTemplate.AllowRowResize = false;
     this.grvItems.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill;
     gridViewTextBoxColumn1.FieldName = "Title";
     gridViewTextBoxColumn1.HeaderText = "عنوان سمت";
     gridViewTextBoxColumn1.Name = "column1";
     gridViewTextBoxColumn1.Width = 393;
     gridViewCommandColumn1.AllowHide = false;
     gridViewCommandColumn1.AllowReorder = false;
     gridViewCommandColumn1.AllowResize = false;
     gridViewCommandColumn1.AllowSort = false;
     gridViewCommandColumn1.HeaderText = "حذف";
     gridViewCommandColumn1.Name = "column3";
     gridViewCommandColumn1.Width = 30;
     this.grvItems.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
     gridViewTextBoxColumn1,
     gridViewCommandColumn1});
     this.grvItems.MasterTemplate.EnableFiltering = true;
     this.grvItems.MasterTemplate.EnableGrouping = false;
     this.grvItems.MasterTemplate.ShowFilteringRow = false;
     this.grvItems.Name = "grvItems";
     this.grvItems.ReadOnly = true;
     this.grvItems.Size = new System.Drawing.Size(443, 474);
     this.grvItems.TabIndex = 10;
     this.grvItems.CellFormatting += new Telerik.WinControls.UI.CellFormattingEventHandler(this.grvItems_CellFormatting);
     this.grvItems.CurrentRowChanging += new Telerik.WinControls.UI.CurrentRowChangingEventHandler(this.grvItems_CurrentRowChanging);
     this.grvItems.SelectionChanged += new System.EventHandler(this.grvItems_SelectionChanged);
     this.grvItems.CommandCellClick += new Telerik.WinControls.UI.CommandCellClickEventHandler(this.grvItems_CommandCellClick);
     this.grvItems.KeyDown += new System.Windows.Forms.KeyEventHandler(this.grvItems_KeyDown);
     //
     // radGroupBox1
     //
     this.radGroupBox1.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.radGroupBox1.Controls.Add(this.btnAllAccess);
     this.radGroupBox1.Controls.Add(this.btnNoAccess);
     this.radGroupBox1.Controls.Add(this.tabAccess);
     this.radGroupBox1.Controls.Add(this.btnAdd);
     this.radGroupBox1.Controls.Add(this.btnNew);
     this.radGroupBox1.Controls.Add(this.roleTitleLabel);
     this.radGroupBox1.Controls.Add(this.txtName);
     this.radGroupBox1.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.radGroupBox1.FooterImageIndex = -1;
     this.radGroupBox1.FooterImageKey = "";
     this.radGroupBox1.HeaderImageIndex = -1;
     this.radGroupBox1.HeaderImageKey = "";
     this.radGroupBox1.HeaderMargin = new System.Windows.Forms.Padding(0);
     this.radGroupBox1.HeaderText = "تعریف سمت";
     this.radGroupBox1.Location = new System.Drawing.Point(462, 7);
     this.radGroupBox1.Name = "radGroupBox1";
     this.radGroupBox1.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2);
     //
     //
     //
     this.radGroupBox1.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2);
     this.radGroupBox1.Size = new System.Drawing.Size(397, 555);
     this.radGroupBox1.TabIndex = 9;
     this.radGroupBox1.Text = "تعریف سمت";
     //
     // btnAllAccess
     //
     this.btnAllAccess.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAllAccess.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnAllAccess.Location = new System.Drawing.Point(201, 75);
     this.btnAllAccess.Name = "btnAllAccess";
     this.btnAllAccess.Size = new System.Drawing.Size(190, 35);
     this.btnAllAccess.TabIndex = 18;
     this.btnAllAccess.Text = "همه دسترسی ها";
     this.btnAllAccess.Click += new System.EventHandler(this.btnAllAccess_Click);
     //
     // btnNoAccess
     //
     this.btnNoAccess.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btnNoAccess.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnNoAccess.Location = new System.Drawing.Point(5, 75);
     this.btnNoAccess.Name = "btnNoAccess";
     this.btnNoAccess.Size = new System.Drawing.Size(190, 35);
     this.btnNoAccess.TabIndex = 17;
     this.btnNoAccess.Text = "هیچ کدام از دسترسی";
     this.btnNoAccess.Click += new System.EventHandler(this.btnNoAccess_Click);
     //
     // tabAccess
     //
     this.tabAccess.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.tabAccess.Controls.Add(this.radPageViewPage1);
     this.tabAccess.Controls.Add(this.radPageViewPage2);
     this.tabAccess.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold);
     this.tabAccess.Location = new System.Drawing.Point(5, 116);
     this.tabAccess.Name = "tabAccess";
     this.tabAccess.SelectedPage = this.radPageViewPage1;
     this.tabAccess.Size = new System.Drawing.Size(386, 392);
     this.tabAccess.TabIndex = 16;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).StripButtons = Telerik.WinControls.UI.StripViewButtons.None;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemAlignment = Telerik.WinControls.UI.StripViewItemAlignment.Near;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemFitMode = Telerik.WinControls.UI.StripViewItemFitMode.Fill;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).StripAlignment = Telerik.WinControls.UI.StripViewAlignment.Top;
     ((Telerik.WinControls.UI.RadPageViewStripElement)(this.tabAccess.GetChildAt(0))).ItemDragMode = Telerik.WinControls.UI.PageViewItemDragMode.None;
     //
     // radPageViewPage1
     //
     this.radPageViewPage1.Controls.Add(this.rgvAccessTask);
     this.radPageViewPage1.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold);
     this.radPageViewPage1.Location = new System.Drawing.Point(10, 42);
     this.radPageViewPage1.Name = "radPageViewPage1";
     this.radPageViewPage1.Size = new System.Drawing.Size(365, 339);
     this.radPageViewPage1.Text = "وظایف";
     //
     // rgvAccessTask
     //
     this.rgvAccessTask.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.rgvAccessTask.EnableHotTracking = false;
     this.rgvAccessTask.Font = new System.Drawing.Font("B Nazanin", 9F);
     this.rgvAccessTask.Location = new System.Drawing.Point(3, 5);
     //
     // rgvAccessTask
     //
     this.rgvAccessTask.MasterTemplate.AllowAddNewRow = false;
     this.rgvAccessTask.MasterTemplate.AllowCellContextMenu = false;
     this.rgvAccessTask.MasterTemplate.AllowColumnChooser = false;
     this.rgvAccessTask.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.rgvAccessTask.MasterTemplate.AllowColumnReorder = false;
     this.rgvAccessTask.MasterTemplate.AllowColumnResize = false;
     this.rgvAccessTask.MasterTemplate.AllowDeleteRow = false;
     this.rgvAccessTask.MasterTemplate.AllowDragToGroup = false;
     this.rgvAccessTask.MasterTemplate.AllowRowResize = false;
     this.rgvAccessTask.MasterTemplate.AutoGenerateColumns = false;
     gridViewTextBoxColumn2.FieldName = "Name";
     gridViewTextBoxColumn2.FormatString = "";
     gridViewTextBoxColumn2.HeaderText = "نام دسترسی";
     gridViewTextBoxColumn2.Name = "column1";
     gridViewTextBoxColumn2.Width = 90;
     gridViewCheckBoxColumn1.FieldName = "AccessObserve";
     gridViewCheckBoxColumn1.FormatString = "";
     gridViewCheckBoxColumn1.HeaderText = "مشاهده";
     gridViewCheckBoxColumn1.Name = "column3";
     gridViewCheckBoxColumn2.FieldName = "AccessChange";
     gridViewCheckBoxColumn2.FormatString = "";
     gridViewCheckBoxColumn2.HeaderText = "اعمال تغییرات";
     gridViewCheckBoxColumn2.Name = "column4";
     gridViewCheckBoxColumn2.Width = 70;
     gridViewCheckBoxColumn3.FieldName = "AccessInsert";
     gridViewCheckBoxColumn3.FormatString = "";
     gridViewCheckBoxColumn3.HeaderText = "افزودن";
     gridViewCheckBoxColumn3.Name = "column5";
     gridViewCheckBoxColumn4.FieldName = "AccessRemove";
     gridViewCheckBoxColumn4.FormatString = "";
     gridViewCheckBoxColumn4.HeaderText = "حذف";
     gridViewCheckBoxColumn4.Name = "column6";
     gridViewCheckBoxColumn5.FieldName = "AccessPrint";
     gridViewCheckBoxColumn5.FormatString = "";
     gridViewCheckBoxColumn5.HeaderText = "پرینت";
     gridViewCheckBoxColumn5.Name = "column7";
     this.rgvAccessTask.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
     gridViewTextBoxColumn2,
     gridViewCheckBoxColumn1,
     gridViewCheckBoxColumn2,
     gridViewCheckBoxColumn3,
     gridViewCheckBoxColumn4,
     gridViewCheckBoxColumn5});
     this.rgvAccessTask.MasterTemplate.EnableGrouping = false;
     this.rgvAccessTask.MasterTemplate.EnableSorting = false;
     this.rgvAccessTask.MasterTemplate.ShowFilteringRow = false;
     this.rgvAccessTask.MasterTemplate.ShowRowHeaderColumn = false;
     this.rgvAccessTask.Name = "rgvAccessTask";
     this.rgvAccessTask.ShowCellErrors = false;
     this.rgvAccessTask.ShowGroupPanel = false;
     this.rgvAccessTask.ShowNoDataText = false;
     this.rgvAccessTask.ShowRowErrors = false;
     this.rgvAccessTask.Size = new System.Drawing.Size(360, 331);
     this.rgvAccessTask.TabIndex = 15;
     this.rgvAccessTask.Text = "radGridView1";
     //
     // radPageViewPage2
     //
     this.radPageViewPage2.Controls.Add(this.rgvAccessSetings);
     this.radPageViewPage2.Font = new System.Drawing.Font("B Nazanin", 9.3F, System.Drawing.FontStyle.Bold);
     this.radPageViewPage2.Location = new System.Drawing.Point(10, 42);
     this.radPageViewPage2.Name = "radPageViewPage2";
     this.radPageViewPage2.Size = new System.Drawing.Size(365, 339);
     this.radPageViewPage2.Text = "نتظیمات";
     //
     // rgvAccessSetings
     //
     this.rgvAccessSetings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.rgvAccessSetings.EnableHotTracking = false;
     this.rgvAccessSetings.Font = new System.Drawing.Font("B Nazanin", 9F);
     this.rgvAccessSetings.Location = new System.Drawing.Point(3, 4);
     //
     // rgvAccessSetings
     //
     this.rgvAccessSetings.MasterTemplate.AllowAddNewRow = false;
     this.rgvAccessSetings.MasterTemplate.AllowCellContextMenu = false;
     this.rgvAccessSetings.MasterTemplate.AllowColumnChooser = false;
     this.rgvAccessSetings.MasterTemplate.AllowColumnHeaderContextMenu = false;
     this.rgvAccessSetings.MasterTemplate.AllowColumnReorder = false;
     this.rgvAccessSetings.MasterTemplate.AllowDeleteRow = false;
     this.rgvAccessSetings.MasterTemplate.AllowDragToGroup = false;
     this.rgvAccessSetings.MasterTemplate.AllowRowResize = false;
     this.rgvAccessSetings.MasterTemplate.AutoGenerateColumns = false;
     gridViewTextBoxColumn3.FieldName = "Name";
     gridViewTextBoxColumn3.FormatString = "";
     gridViewTextBoxColumn3.HeaderText = "نام دسترسی";
     gridViewTextBoxColumn3.Name = "column1";
     gridViewTextBoxColumn3.Width = 150;
     gridViewCheckBoxColumn6.FieldName = "AccessObserve";
     gridViewCheckBoxColumn6.FormatString = "";
     gridViewCheckBoxColumn6.HeaderText = "مشاهده";
     gridViewCheckBoxColumn6.Name = "column3";
     gridViewCheckBoxColumn6.Width = 110;
     gridViewCheckBoxColumn7.FieldName = "AccessChange";
     gridViewCheckBoxColumn7.FormatString = "";
     gridViewCheckBoxColumn7.HeaderText = "اعمال تغییرات";
     gridViewCheckBoxColumn7.Name = "column4";
     gridViewCheckBoxColumn7.Width = 100;
     this.rgvAccessSetings.MasterTemplate.Columns.AddRange(new Telerik.WinControls.UI.GridViewDataColumn[] {
     gridViewTextBoxColumn3,
     gridViewCheckBoxColumn6,
     gridViewCheckBoxColumn7});
     this.rgvAccessSetings.MasterTemplate.EnableGrouping = false;
     this.rgvAccessSetings.MasterTemplate.EnableSorting = false;
     this.rgvAccessSetings.MasterTemplate.ShowFilteringRow = false;
     this.rgvAccessSetings.MasterTemplate.ShowRowHeaderColumn = false;
     this.rgvAccessSetings.Name = "rgvAccessSetings";
     this.rgvAccessSetings.ShowCellErrors = false;
     this.rgvAccessSetings.ShowGroupPanel = false;
     this.rgvAccessSetings.ShowNoDataText = false;
     this.rgvAccessSetings.ShowRowErrors = false;
     this.rgvAccessSetings.Size = new System.Drawing.Size(359, 335);
     this.rgvAccessSetings.TabIndex = 16;
     this.rgvAccessSetings.Text = "radGridView2";
     //
     // btnAdd
     //
     this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnAdd.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnAdd.Location = new System.Drawing.Point(288, 515);
     this.btnAdd.Name = "btnAdd";
     this.btnAdd.Size = new System.Drawing.Size(98, 35);
     this.btnAdd.TabIndex = 14;
     this.btnAdd.Text = "افزودن";
     this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
     //
     // btnNew
     //
     this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnNew.Font = new System.Drawing.Font("B Nazanin", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.btnNew.Location = new System.Drawing.Point(184, 515);
     this.btnNew.Name = "btnNew";
     this.btnNew.Size = new System.Drawing.Size(98, 35);
     this.btnNew.TabIndex = 13;
     this.btnNew.Text = "جدید";
     this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
     //
     // roleTitleLabel
     //
     this.roleTitleLabel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.roleTitleLabel.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.roleTitleLabel.Location = new System.Drawing.Point(355, 34);
     this.roleTitleLabel.Name = "roleTitleLabel";
     this.roleTitleLabel.Size = new System.Drawing.Size(34, 23);
     this.roleTitleLabel.TabIndex = 3;
     this.roleTitleLabel.Text = "عنوان:";
     this.roleTitleLabel.TextAlignment = System.Drawing.ContentAlignment.TopRight;
     //
     // txtName
     //
     this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.txtName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.srcItem, "Title", true));
     this.txtName.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.txtName.Location = new System.Drawing.Point(5, 32);
     this.txtName.Name = "txtName";
     this.txtName.Size = new System.Drawing.Size(347, 25);
     this.txtName.TabIndex = 1;
     this.txtName.TabStop = false;
     this.txtName.TextChanging += new Telerik.WinControls.TextChangingEventHandler(this.txtName_TextChanging);
     this.txtName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtName_KeyDown);
     //
     // srcItem
     //
     this.srcItem.DataSource = typeof(Shayan.Data.Role);
     //
     // radGroupBox2
     //
     this.radGroupBox2.AccessibleRole = System.Windows.Forms.AccessibleRole.Grouping;
     this.radGroupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.radGroupBox2.Controls.Add(this.ucFilter1);
     this.radGroupBox2.Controls.Add(this.grvItems);
     this.radGroupBox2.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(178)));
     this.radGroupBox2.FooterImageIndex = -1;
     this.radGroupBox2.FooterImageKey = "";
     this.radGroupBox2.HeaderImageIndex = -1;
     this.radGroupBox2.HeaderImageKey = "";
     this.radGroupBox2.HeaderMargin = new System.Windows.Forms.Padding(0);
     this.radGroupBox2.HeaderText = "سمت های ذخیره شده";
     this.radGroupBox2.Location = new System.Drawing.Point(3, 7);
     this.radGroupBox2.Name = "radGroupBox2";
     this.radGroupBox2.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2);
     //
     //
     //
     this.radGroupBox2.RootElement.Padding = new System.Windows.Forms.Padding(2, 17, 2, 2);
     this.radGroupBox2.Size = new System.Drawing.Size(453, 555);
     this.radGroupBox2.TabIndex = 14;
     this.radGroupBox2.Text = "سمت های ذخیره شده";
     //
     // ucFilter1
     //
     this.ucFilter1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
     | System.Windows.Forms.AnchorStyles.Right)));
     this.ucFilter1.Location = new System.Drawing.Point(6, 32);
     this.ucFilter1.Margin = new System.Windows.Forms.Padding(4);
     this.ucFilter1.Name = "ucFilter1";
     this.ucFilter1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.ucFilter1.Size = new System.Drawing.Size(441, 24);
     this.ucFilter1.TabIndex = 11;
     //
     // UCDefineRole
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 19F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.radGroupBox2);
     this.Controls.Add(this.btnSave);
     this.Controls.Add(this.btnCancel);
     this.Controls.Add(this.radGroupBox1);
     this.Font = new System.Drawing.Font("B Nazanin", 9F, System.Drawing.FontStyle.Bold);
     this.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
     this.Name = "UCDefineRole";
     this.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.Size = new System.Drawing.Size(874, 608);
     ((System.ComponentModel.ISupportInitialize)(this.btnSave)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnCancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvItems.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.grvItems)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox1)).EndInit();
     this.radGroupBox1.ResumeLayout(false);
     this.radGroupBox1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.btnAllAccess)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnNoAccess)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tabAccess)).EndInit();
     this.tabAccess.ResumeLayout(false);
     this.radPageViewPage1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessTask)).EndInit();
     this.radPageViewPage2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings.MasterTemplate)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.rgvAccessSetings)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnAdd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.btnNew)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.roleTitleLabel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.txtName)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.srcItem)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.radGroupBox2)).EndInit();
     this.radGroupBox2.ResumeLayout(false);
     this.ResumeLayout(false);
 }