亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? roominfochange.h

?? 導致教室占用的變更
?? H
字號:
#pragma once
#include "FileRW.h"

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace ClassRoom {

	/// <summary>
	/// RoomInfoChange 摘要
	///
	/// 警告: 如果更改此類的名稱,則需要更改
	///          與此類所依賴的所有 .resx 文件關聯的托管資源編譯器工具的
	///          “資源文件名”屬性。否則,
	///          設計器將不能與此窗體的關聯
	///          本地化資源正確交互。
	/// </summary>
	public ref class RoomInfoChange : public System::Windows::Forms::Form
	{
	 public: 

		String^ filePath_State;//教室狀態信息文件路徑

		RoomInfoChange(void)
		{
			InitializeComponent();

			DateIndex  = -1;
			TimeSegmentIndex = -1;
			IdlesseClassRoomIndex = -1;
		    UsingClassRoomIndex  = -1;
			SyllabusList = gcnew ArrayList();
			RoomNameList = gcnew ArrayList();
			DateArray = gcnew array<String^>{"星期一","星期二","星期三","星期四",
				"星期五","星期六","星期日"};

			TimeSegmentArray = gcnew array<String^>{"上午第一大節","上午第二大節",
				"下午第一大節","下午第二大節","晚上第一大節"};
			filePath_State = gcnew String("");

			this->comboBox1->Items->AddRange( DateArray  );
			this->comboBox2->Items->AddRange( TimeSegmentArray );
			file = gcnew FileRW();
			IdlesseClassRoomString = gcnew String("") ;
			UsingClassRoomString = gcnew String("") ;
			//
			//TODO: 在此處添加構造函數代碼
			//
		}

	protected:
		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		~RoomInfoChange()
		{
			if (components)
			{
				delete components;
			}
		}
	private: System::Windows::Forms::GroupBox^  groupBox1;
	private: System::Windows::Forms::DataGridView^  dataGridView1;
	private: System::Windows::Forms::Label^  label1;
	private: System::Windows::Forms::ComboBox^  comboBox1;
	private: System::Windows::Forms::ComboBox^  comboBox2;
	private: System::Windows::Forms::Button^  button1;
	private: System::Windows::Forms::Label^  label2;
	private: System::Windows::Forms::GroupBox^  groupBox2;
	private: System::Windows::Forms::Label^  label3;
	private: System::Windows::Forms::ComboBox^  comboBox3;
	private: System::Windows::Forms::Button^  button2;
	private: System::Windows::Forms::Label^  label4;
	private: System::Windows::Forms::ComboBox^  comboBox4;
	private: System::Windows::Forms::DataGridViewTextBoxColumn^  Column1;

	private:
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		System::ComponentModel::Container ^components;

		array<String^>^ DateArray;//存放星期的數組
		array<String^>^ TimeSegmentArray;//存放大課節數的數組
		array<String^>^ ClassRoomArray;//存放教室名稱的數組
		int DateIndex ;//返回選擇星期的編號,用在下拉菜單中
		int TimeSegmentIndex ;//返回大課節數的編號
		int IdlesseClassRoomIndex ;//返回空閑教室的編號
		int UsingClassRoomIndex ;//返回被占用教室的編號
		FileRW^ file ;//文件讀取對象
		ArrayList^ IdlesseClassRoomList ;//存放空閑教室的數組鏈表
		ArrayList^ SyllabusList; //存每個教室課程字符串的數組列表
		ArrayList^ RoomNameList;//存放滅個教室名稱的數組列表
		String^ IdlesseClassRoomString ;//被選定的空閑教室名稱
		String^ UsingClassRoomString ;//被選定的被占用教室名稱

#pragma region Windows Form Designer generated code
		/// <summary>
		/// 設計器支持所需的方法 - 不要
		/// 使用代碼編輯器修改此方法的內容。
		/// </summary>
		void InitializeComponent(void)
		{
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(RoomInfoChange::typeid));
			this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
			this->button1 = (gcnew System::Windows::Forms::Button());
			this->label2 = (gcnew System::Windows::Forms::Label());
			this->comboBox2 = (gcnew System::Windows::Forms::ComboBox());
			this->label1 = (gcnew System::Windows::Forms::Label());
			this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
			this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
			this->Column1 = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
			this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
			this->button2 = (gcnew System::Windows::Forms::Button());
			this->label4 = (gcnew System::Windows::Forms::Label());
			this->comboBox4 = (gcnew System::Windows::Forms::ComboBox());
			this->label3 = (gcnew System::Windows::Forms::Label());
			this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
			this->groupBox1->SuspendLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
			this->groupBox2->SuspendLayout();
			this->SuspendLayout();
			// 
			// groupBox1
			// 
			this->groupBox1->BackColor = System::Drawing::Color::Transparent;
			this->groupBox1->Controls->Add(this->button1);
			this->groupBox1->Controls->Add(this->label2);
			this->groupBox1->Controls->Add(this->comboBox2);
			this->groupBox1->Controls->Add(this->label1);
			this->groupBox1->Controls->Add(this->comboBox1);
			this->groupBox1->Controls->Add(this->dataGridView1);
			this->groupBox1->Font = (gcnew System::Drawing::Font(L"宋體", 10.5F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			this->groupBox1->Location = System::Drawing::Point(14, 12);
			this->groupBox1->Name = L"groupBox1";
			this->groupBox1->Size = System::Drawing::Size(447, 299);
			this->groupBox1->TabIndex = 0;
			this->groupBox1->TabStop = false;
			this->groupBox1->Text = L"空閑教室檢索";
			// 
			// button1
			// 
			this->button1->Location = System::Drawing::Point(268, 219);
			this->button1->Name = L"button1";
			this->button1->Size = System::Drawing::Size(75, 23);
			this->button1->TabIndex = 5;
			this->button1->Text = L"檢索";
			this->button1->UseVisualStyleBackColor = true;
			this->button1->Click += gcnew System::EventHandler(this, &RoomInfoChange::Button1_Click);
			// 
			// label2
			// 
			this->label2->AutoSize = true;
			this->label2->Location = System::Drawing::Point(225, 109);
			this->label2->Name = L"label2";
			this->label2->Size = System::Drawing::Size(67, 14);
			this->label2->TabIndex = 4;
			this->label2->Text = L"大課節數";
			// 
			// comboBox2
			// 
			this->comboBox2->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->comboBox2->FormattingEnabled = true;
			this->comboBox2->Location = System::Drawing::Point(309, 105);
			this->comboBox2->Name = L"comboBox2";
			this->comboBox2->Size = System::Drawing::Size(107, 22);
			this->comboBox2->TabIndex = 3;
			this->comboBox2->SelectedIndexChanged += gcnew System::EventHandler(this, &RoomInfoChange::comboBox2_SelectedIndexChanged);
			// 
			// label1
			// 
			this->label1->AutoSize = true;
			this->label1->ForeColor = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(192)), static_cast<System::Int32>(static_cast<System::Byte>(64)), 
				static_cast<System::Int32>(static_cast<System::Byte>(0)));
			this->label1->Location = System::Drawing::Point(225, 41);
			this->label1->Name = L"label1";
			this->label1->Size = System::Drawing::Size(67, 14);
			this->label1->TabIndex = 2;
			this->label1->Text = L"星期編號";
			// 
			// comboBox1
			// 
			this->comboBox1->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->comboBox1->FormattingEnabled = true;
			this->comboBox1->Location = System::Drawing::Point(309, 36);
			this->comboBox1->Name = L"comboBox1";
			this->comboBox1->Size = System::Drawing::Size(107, 22);
			this->comboBox1->TabIndex = 1;
			this->comboBox1->SelectedIndexChanged += gcnew System::EventHandler(this, &RoomInfoChange::comboBox1_SelectedIndexChanged);
			// 
			// dataGridView1
			// 
			this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
			this->dataGridView1->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(1) {this->Column1});
			this->dataGridView1->Location = System::Drawing::Point(18, 36);
			this->dataGridView1->Name = L"dataGridView1";
			this->dataGridView1->RowHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::None;
			this->dataGridView1->RowTemplate->Height = 23;
			this->dataGridView1->Size = System::Drawing::Size(147, 247);
			this->dataGridView1->TabIndex = 0;
			// 
			// Column1
			// 
			this->Column1->HeaderText = L"空閑教室";
			this->Column1->Name = L"Column1";
			this->Column1->ReadOnly = true;
			// 
			// groupBox2
			// 
			this->groupBox2->BackColor = System::Drawing::Color::Transparent;
			this->groupBox2->Controls->Add(this->button2);
			this->groupBox2->Controls->Add(this->label4);
			this->groupBox2->Controls->Add(this->comboBox4);
			this->groupBox2->Controls->Add(this->label3);
			this->groupBox2->Controls->Add(this->comboBox3);
			this->groupBox2->Font = (gcnew System::Drawing::Font(L"宋體", 10.5F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
				static_cast<System::Byte>(134)));
			this->groupBox2->ForeColor = System::Drawing::Color::Black;
			this->groupBox2->Location = System::Drawing::Point(14, 331);
			this->groupBox2->Name = L"groupBox2";
			this->groupBox2->Size = System::Drawing::Size(447, 135);
			this->groupBox2->TabIndex = 1;
			this->groupBox2->TabStop = false;
			this->groupBox2->Text = L"教室占用信息更改";
			// 
			// button2
			// 
			this->button2->Location = System::Drawing::Point(327, 69);
			this->button2->Name = L"button2";
			this->button2->Size = System::Drawing::Size(75, 23);
			this->button2->TabIndex = 4;
			this->button2->Text = L"保存修改";
			this->button2->UseVisualStyleBackColor = true;
			this->button2->Click += gcnew System::EventHandler(this, &RoomInfoChange::Button2_Click);
			// 
			// label4
			// 
			this->label4->AutoSize = true;
			this->label4->ForeColor = System::Drawing::Color::Black;
			this->label4->Location = System::Drawing::Point(130, 36);
			this->label4->Name = L"label4";
			this->label4->Size = System::Drawing::Size(133, 14);
			this->label4->TabIndex = 3;
			this->label4->Text = L"從空閑轉為占用狀態";
			// 
			// comboBox4
			// 
			this->comboBox4->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->comboBox4->FormattingEnabled = true;
			this->comboBox4->Location = System::Drawing::Point(22, 73);
			this->comboBox4->Name = L"comboBox4";
			this->comboBox4->Size = System::Drawing::Size(86, 22);
			this->comboBox4->TabIndex = 2;
			this->comboBox4->SelectedIndexChanged += gcnew System::EventHandler(this, &RoomInfoChange::comboBox4_SelectedIndexChanged);
			// 
			// label3
			// 
			this->label3->AutoSize = true;
			this->label3->ForeColor = System::Drawing::Color::Black;
			this->label3->Location = System::Drawing::Point(129, 76);
			this->label3->Name = L"label3";
			this->label3->Size = System::Drawing::Size(133, 14);
			this->label3->TabIndex = 1;
			this->label3->Text = L"從占用轉為空閑狀態";
			// 
			// comboBox3
			// 
			this->comboBox3->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
			this->comboBox3->FormattingEnabled = true;
			this->comboBox3->Location = System::Drawing::Point(22, 31);
			this->comboBox3->Name = L"comboBox3";
			this->comboBox3->Size = System::Drawing::Size(86, 22);
			this->comboBox3->TabIndex = 0;
			this->comboBox3->SelectedIndexChanged += gcnew System::EventHandler(this, &RoomInfoChange::comboBox3_SelectedIndexChanged);
			// 
			// RoomInfoChange
			// 
			this->AutoScaleDimensions = System::Drawing::SizeF(7, 12);
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
			this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"$this.BackgroundImage")));
			this->ClientSize = System::Drawing::Size(475, 498);
			this->Controls->Add(this->groupBox2);
			this->Controls->Add(this->groupBox1);
			this->Font = (gcnew System::Drawing::Font(L"宋體", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(134)));
			this->Name = L"RoomInfoChange";
			this->Text = L"教室狀態信息更改";
			this->Load += gcnew System::EventHandler(this, &RoomInfoChange::RoomInfoChange_Load);
			this->groupBox1->ResumeLayout(false);
			this->groupBox1->PerformLayout();
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
			this->groupBox2->ResumeLayout(false);
			this->groupBox2->PerformLayout();
			this->ResumeLayout(false);

		}
#pragma endregion

		/*讀取日期選擇編號*/
		private: System::Void comboBox1_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e);

		/*讀取大課節編號的編號*/	 
		private: System::Void comboBox2_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e) ;

		/*讀取教室編號---此教室是空閑教室,用于轉換為占用狀態*/
		private: System::Void comboBox3_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e); 

	    /*讀取教室編號---此教室是被占用教室,用于轉換為空閑狀態*/
		private: System::Void RoomInfoChange::comboBox4_SelectedIndexChanged(System::Object^  sender, System::EventArgs^  e);
        
	    /*進行空閑教室的檢索,把結果顯示在以為列表中*/
		private: System::Void Button1_Click(System::Object^  sender, System::EventArgs^  e) ;

	    /*將狀態轉換后的結果進行保存*/
		private: System::Void Button2_Click(System::Object^  sender, System::EventArgs^  e) ;
		private: System::Void RoomInfoChange_Load(System::Object^  sender, System::EventArgs^  e);

		/// <summary>
		/// 以下的函數的作用是對使用同一個模板的信息左不同的設置 : 
	    ///
		/// 1)更改GroupBox中的 Text 的字符串 : ChangeGroupBox1(String^)
		/// 2)向 Combox 中添加信息,不同教學樓的教室的名稱: AddClassRoomName( array<String^>^)
		/// 3) 從文件中讀入信息,有教室的名字,教室的課標信息等:ReadSyllabus(),ReadRoomName()()。
	    ///
		/// </summary>
		
		public :  void  ChangeGroupBox1(String^ text);
		public :  void  AddClassRoomName( array<String^>^ newArray );
		public :  void  ReadSyllabus();
		public :  void  ReadRoomName();
};
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91.com视频| 欧美日韩国产综合久久| 久久综合九色综合久久久精品综合| 国产在线不卡一区| 中文字幕日韩一区| 欧美一区国产二区| 日本道色综合久久| 国产精品自拍网站| 亚洲一区二区三区中文字幕| 亚洲精品在线观| 欧美日韩另类国产亚洲欧美一级| 色天使色偷偷av一区二区| 国产一区二区三区| 大胆欧美人体老妇| 久久精品二区亚洲w码| 一区二区三区小说| 中文字幕一区av| 亚洲一线二线三线久久久| 亚洲成人av免费| 一区二区在线免费| 国产精品久久久久久久久搜平片| 91精品国产乱| 国产午夜精品福利| 久久综合精品国产一区二区三区| 国产欧美日韩视频在线观看| 欧美电影免费观看高清完整版 | 中文字幕一区二区三区在线观看| 国产精品色婷婷| 久久一夜天堂av一区二区三区| 久久久久久久精| 久久中文字幕电影| 国产精品第一页第二页第三页| 亚洲高清免费观看高清完整版在线观看| 国产欧美日韩另类一区| 亚洲精品久久嫩草网站秘色| 麻豆一区二区三区| 日本成人中文字幕在线视频| 亚洲成人精品在线观看| 国产成人自拍在线| 国产精品系列在线观看| 91久久线看在观草草青青| 777a∨成人精品桃花网| 18成人在线视频| 久久99热这里只有精品| 91久久一区二区| 欧美激情一区不卡| 亚洲国产精品精华液ab| 免费看日韩精品| 精品一区免费av| 国产一区二区在线观看视频| 91黄色激情网站| 欧美国产一区视频在线观看| 日本不卡视频在线| 欧美日韩在线不卡| 精品日韩成人av| 日本一区二区三区视频视频| 日日嗨av一区二区三区四区| 黑人巨大精品欧美一区| 成人小视频在线| 久久综合久色欧美综合狠狠| 天堂成人国产精品一区| 一本色道久久综合精品竹菊| 中文天堂在线一区| 成人在线一区二区三区| 久久久精品日韩欧美| 激情都市一区二区| www日韩大片| 久久成人精品无人区| 日韩一区二区电影网| 国产精品免费观看视频| 国产一本一道久久香蕉| 26uuu久久天堂性欧美| 久久99久久久久| 欧美精品一区二区不卡| 老汉av免费一区二区三区 | 成人中文字幕合集| 国产女主播一区| 国产成人免费视频| 国产精品免费aⅴ片在线观看| 国产精品一区二区久久精品爱涩 | 一道本成人在线| 国产精品超碰97尤物18| 色综合一个色综合亚洲| 91精品国产综合久久久久久| 婷婷一区二区三区| 91亚洲精品久久久蜜桃| 欧美一区二区在线免费播放| 免费成人在线视频观看| 精品国产免费久久| 国产二区国产一区在线观看| 国产精品久久久久7777按摩| 97se亚洲国产综合自在线观| 2023国产一二三区日本精品2022| 国产99久久久国产精品潘金 | 精品视频免费在线| 五月综合激情网| 日韩免费成人网| 成人久久视频在线观看| 亚洲影院理伦片| 日韩欧美中文字幕公布| 福利一区福利二区| 夜夜嗨av一区二区三区| 欧美一区二区三区四区五区| 国产呦萝稀缺另类资源| 亚洲视频一区二区免费在线观看| 国产资源在线一区| 亚洲欧美日韩国产另类专区| 不卡高清视频专区| 中文字幕高清不卡| 欧美日韩一区二区在线观看 | 7777精品久久久大香线蕉 | 972aa.com艺术欧美| 日韩av一区二区三区四区| 国产精品久久久久久久蜜臀| 91精品视频网| 99re视频精品| 激情综合一区二区三区| 一区二区三区免费在线观看| 欧美sm极限捆绑bd| 日本福利一区二区| 国产精品1区2区3区在线观看| 一区二区三区在线视频免费 | 欧美v国产在线一区二区三区| av激情综合网| 亚洲精品视频自拍| 久久综合九色欧美综合狠狠| 欧美日韩亚洲综合| av中文字幕在线不卡| 蜜臀久久99精品久久久久宅男| 亚洲成人免费在线观看| 国产精品人人做人人爽人人添| 欧美蜜桃一区二区三区| 色综合久久久久综合体| 国产成人av影院| 久草这里只有精品视频| 午夜在线成人av| 亚洲精品免费视频| 中文字幕一区二区在线观看| 欧美经典三级视频一区二区三区| 欧美一区二区三区四区五区 | 伦理电影国产精品| 亚洲国产精品一区二区久久恐怖片 | 亚洲国产精品成人综合| 精品久久久久一区二区国产| 日韩一区二区免费高清| 欧美嫩在线观看| 欧美三区在线观看| 精品视频123区在线观看| 欧美三区免费完整视频在线观看| 色综合久久久久综合99| 91视频.com| 色琪琪一区二区三区亚洲区| 色哟哟亚洲精品| 91精品办公室少妇高潮对白| 97成人超碰视| 在线观看av不卡| 全部av―极品视觉盛宴亚洲| 亚洲一区免费视频| 亚洲sss视频在线视频| 一区二区欧美视频| 天天影视网天天综合色在线播放| 亚洲一级二级三级在线免费观看| 亚洲成av人影院| 丝袜亚洲另类丝袜在线| 免费欧美日韩国产三级电影| 国产在线精品一区二区三区不卡| 顶级嫩模精品视频在线看| 高清视频一区二区| 色香蕉成人二区免费| 欧美日韩一级片在线观看| 91精品国产综合久久婷婷香蕉| 精品欧美一区二区久久| 国产欧美精品一区二区三区四区| 中文字幕一区二区三区四区| 亚洲一区二区三区中文字幕在线 | 中文av一区二区| 怡红院av一区二区三区| 亚洲亚洲精品在线观看| 美女尤物国产一区| 99在线精品一区二区三区| 欧美吞精做爰啪啪高潮| caoporm超碰国产精品| 精品视频一区二区三区免费| 精品国产三级a在线观看| 国产精品国产三级国产| 日本女人一区二区三区| 国产aⅴ综合色| 在线播放/欧美激情| 亚洲免费在线观看视频| 日韩成人一级大片| 99久免费精品视频在线观看| 欧美乱妇20p| 欧美日韩国产小视频| 久久精品一区二区三区四区| 一区二区三区91| 国产精品一区一区三区| 欧美日本一区二区三区四区| 国产欧美精品一区二区色综合 | 欧美videossexotv100| 国产精品麻豆视频|