internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnafxParticleEmitterVectorData_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnafxZodiacPolysoupRenderer_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnRenderTexTargetBinManager_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnfxFoliageReplicator_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiGameListOptionsProfile_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnWheeledVehicleTire_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiBitmapButtonTextCtrl_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiInspectorTypeCommand_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnafxXM_BoxHeightOffsetData_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnBoxEnvironmentProbe_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnLightningStrikeEvent_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnVSpawnSphereSpawnTargetEvent_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnGuiDynamicCtrlArrayControl_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnTheoraTextureObject_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnafxZodiacTerrainRenderer_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiInspectorTypeShapeAssetId_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnModuleMergeDefinition_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( Torque3D.DllLoadUtils.GetProcAddress( Torque3D.Torque3DLibHandle, "fnafxEffectWrapperData_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnVLightObjectToggleTrack_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnSaveFileDialog_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiTextEditSliderCtrl_create"), typeof(_Create)); } return(_CreateFunc); }
internal static _Create Create() { if (_CreateFunc == null) { _CreateFunc = (_Create)Marshal.GetDelegateForFunctionPointer( NativeLibrary.GetExport( Torque3D.Torque3DLibHandle, "fnGuiGameListMenuProfile_create"), typeof(_Create)); } return(_CreateFunc); }
public void FORM_03_Load(object sender, EventArgs e) { this.FormBorderStyle = FormBorderStyle.FixedSingle; ClientSize = new Size(750, 430); ct = new _Create(); BackColor = Color.FromArgb(191, 191, 191); this.StartPosition = FormStartPosition.Manual; //날짜라벨 lbSet pn1_lb5 = new lbSet(this, "pn1_lb5", "//날짜", 250, 30, 5, 240, 15); 날짜 = ct.lable(pn1_lb5); 날짜.TextAlign = ContentAlignment.MiddleCenter; 날짜.Font = new Font("Tahoma", 15, FontStyle.Bold); 날짜.ForeColor = Color.White; Controls.Add(날짜); //시간라벨 lbSet pn1_lb6 = new lbSet(this, "pn1_lb6", "//시간", 170, 30, 45, 270, 15); 시간 = ct.lable(pn1_lb6); 시간.TextAlign = ContentAlignment.MiddleCenter; 시간.Font = new Font("Tahoma", 15, FontStyle.Bold); 시간.ForeColor = Color.White; Controls.Add(시간); PictureBox mojave = new PictureBox(); mojave.Image = (Bitmap)PosSystem.Properties.Resources.ResourceManager.GetObject("모자브포스3"); mojave.SizeMode = PictureBoxSizeMode.StretchImage; mojave.Size = new Size(250, 110); mojave.BackColor = Color.FromArgb(19, 38, 78); mojave.Location = new Point(0, 0); Controls.Add(mojave); //패널 pnSet pn1 = new pnSet(this, 250, 350, 0, 0); Panel 패널1 = ct.panel(pn1); 패널1.BackColor = Color.FromArgb(19, 38, 78); Controls.Add(패널1); //패널 화면 출력 패널1.Controls.Add(날짜); 패널1.Controls.Add(시간); 패널1.Controls.Add(mojave); //그림넣기 //분기매출액 표현하기 ArrayList arr = new ArrayList(); arr.Add(new lbSet(this, "label1", "오늘매출액", 100, 25, 70, 140, 10)); arr.Add(new lbSet(this, "label1_1", " ", 100, 25, 60, 170, 10)); arr.Add(new lbSet(this, "label1_2", "원", 20, 25, 160, 170, 10)); // arr.Add(new lbSet(this, "pn1_lb2", "분기 매출액", 110, 25, 70, 140, 10)); // arr.Add(new lbSet(this, "pn1_lb2_0", "2", 20, 25, 58, 140, 10)); // arr.Add(new lbSet(this, "pn1_lb2_1", "10,000,000", 100, 25, 60, 170, 10)); // arr.Add(new lbSet(this, "pn1_lb2_2", "원", 20, 25, 160, 170, 10)); for (int i = 0; i < arr.Count; i++) { if (typeof(lbSet) == arr[i].GetType()) { Label label = ct.lable((lbSet)arr[i]); if (i == 1) { api = new Module(); string total_money = api.getIdPass("http://192.168.3.28:5000/F3_total_day"); if (total_money == null) { label.Text = "0"; } else { label.Text = total_money; } } label.TextAlign = ContentAlignment.MiddleCenter; label.ForeColor = Color.White; label.Font = new Font("Tahoma", 10, FontStyle.Bold); 패널1.Controls.Add(label); } } //영업시작 파트 //영업시작 버튼 btnSet pn2_btn_1 = new btnSet(this, "pn2_btn_1", " ", 80, 80, 50, 30, btn_Click); Button 영업시작버튼 = ct.btn(pn2_btn_1); 영업시작버튼.Font = new Font("Tahoma", 10, FontStyle.Bold); //영업시작버튼.BackgroundImage = PosSystem.Properties.Resources.자물쇠잠김; 영업시작버튼.BackColor = Color.FromArgb(232, 227, 227); 영업시작버튼.FlatStyle = FlatStyle.Flat; 영업시작버튼.FlatAppearance.BorderSize = 0; Controls.Add(영업시작버튼); //영업시작 라벨 lbSet pn2_lb1 = new lbSet(this, "pn2_lb1", lbText3, 130, 30, 30, 120, 20); 영업시작 = ct.lable(pn2_lb1); 영업시작.TextAlign = ContentAlignment.MiddleCenter; 영업시작.Font = new Font("Tahoma", 20, FontStyle.Bold); Controls.Add(영업시작); //영업시작 패널 pnSet pn2 = new pnSet(this, 180, 220, 300, 70); Panel 패널2 = ct.panel(pn2); 패널2.BackColor = Color.FromArgb(232, 227, 227); Controls.Add(패널2); //패널 화면 출력 패널2.Controls.Add(영업시작버튼); 패널2.Controls.Add(영업시작); //관리자 시작 파트 //관리자 버튼 btnSet pn3_btn_1 = new btnSet(this, "pn3_btn_1", " ", 80, 80, 50, 30, btn1_Click); Button 관리자버튼 = ct.btn(pn3_btn_1); 관리자버튼.Font = new Font("Tahoma", 10, FontStyle.Bold); 관리자버튼.BackColor = Color.FromArgb(232, 227, 227); 관리자버튼.FlatStyle = FlatStyle.Flat; 관리자버튼.FlatAppearance.BorderSize = 0; //관리자버튼.BackgroundImage = PosSystem.Properties.Resources.가방수정; Controls.Add(관리자버튼); //관리자 라벨 lbSet pn3_lb1 = new lbSet(this, "pn3_lb1", "관리자", 100, 35, 45, 120, 20); Label 관리자 = ct.lable(pn3_lb1); 관리자.Font = new Font("Tahoma", 20, FontStyle.Bold); 영업시작.TextAlign = ContentAlignment.MiddleCenter; Controls.Add(관리자); //관리자 패널 pnSet pn3 = new pnSet(this, 180, 220, 520, 70); Panel 패널3 = ct.panel(pn3); 패널3.BackColor = Color.FromArgb(232, 227, 227); Controls.Add(패널3); //패널 화면 출력 패널3.Controls.Add(관리자버튼); 패널3.Controls.Add(관리자); a = pn4_lb; //경고문 라벨 pn4_lb = new lbSet(this, "label2", lbText1, 750, 30, 0, 12, 15); 경고문 = ct.lable(pn4_lb); 경고문.Font = new Font("Tahoma", 15, FontStyle.Bold); 경고문.TextAlign = ContentAlignment.MiddleCenter; Controls.Add(경고문); //하단부 패널 pnSet pn4 = new pnSet(this, 750, 50, 0, 380); Panel 패널4 = ct.panel(pn4); 패널4.BackColor = Color.FromArgb(232, 227, 227); 패널4.Font = new Font("Tahoma", 20, FontStyle.Bold); Controls.Add(패널4); 패널4.Controls.Add(경고문); Control_Init(); }
private void FORM_02_Load(object sender, EventArgs e) { this.FormBorderStyle = FormBorderStyle.FixedSingle; ClientSize = new Size(750, 430); //폼 사이즈 this.ControlBox = false; //최소화 최대화 버튼 없애기 ct = new _Create(); //Name 텍스트박스 출력 Richtb tx1 = new Richtb(this, "txt1", 170, 30, 30, 60); 네임택박 = ct.richbox(tx1); 네임택박.SelectionFont = new Font("Tahoma", 15, FontStyle.Bold); Controls.Add(네임택박); //Postion 텍스트박스 출력 Richtb tx2 = new Richtb(this, "txt2", 170, 30, 30, 120); 포지션택박 = ct.richbox(tx2); 포지션택박.SelectionFont = new Font("Tahoma", 15, FontStyle.Bold); Controls.Add(포지션택박); //Password 텍스트박스 출력 tbSet tx3 = new tbSet(this, "txt3", 170, 30, 30, 180); 패스워드택박 = ct.txtbox(tx3); 패스워드택박.PasswordChar = '*'; 패스워드택박.Font = new Font("Tahoma", 15, FontStyle.Bold); Controls.Add(패스워드택박); //Serial 텍스트박스 출력 Richtb tx4 = new Richtb(this, "txt4", 170, 30, 30, 240); 시리얼택박 = ct.richbox(tx4); 시리얼택박.SelectionFont = new Font("Tahoma", 15, FontStyle.Bold); Controls.Add(시리얼택박); pnSet pn1 = new pnSet(this, 230, 370, 30, 30); Panel 패널 = ct.panel(pn1); 패널.BackColor = Color.FromArgb(19, 38, 78); Controls.Add(패널); 패널.Controls.Add(네임택박); 패널.Controls.Add(포지션택박); 패널.Controls.Add(패스워드택박); 패널.Controls.Add(시리얼택박); ArrayList arr = new ArrayList(); arr.Add(new lbSet(this, "label1", "Name", 50, 15, 90, 40, 10)); arr.Add(new lbSet(this, "label2", "Postion", 100, 15, 83, 100, 10)); arr.Add(new lbSet(this, "label3", "Password", 100, 15, 75, 160, 10)); arr.Add(new lbSet(this, "label4", "Serial Number", 100, 15, 90, 220, 10)); arr.Add(new btnSet(this, "Btn1_pn1", "가입", 80, 50, 30, 290, btn_Click)); arr.Add(new btnSet(this, "Btn2_pn1", "취소", 80, 50, 120, 290, btn2_Click)); for (int i = 0; i < arr.Count; i++) { if (typeof(lbSet) == arr[i].GetType()) { Label label = ct.lable((lbSet)arr[i]); label.ForeColor = Color.White; label.Font = new Font("Tahoma", 10, FontStyle.Bold); 패널.Controls.Add(label); } else { if (typeof(btnSet) == arr[i].GetType()) { Button button = ct.btn((btnSet)arr[i]); button.FlatStyle = FlatStyle.Flat; button.FlatAppearance.BorderSize = 0; button.Font = new Font("Tahoma", 8, FontStyle.Bold); 패널.Controls.Add(button); } } } pnSet pn2 = new pnSet(this, 420, 370, 300, 30); Panel 패널2 = ct.panel(pn2); 패널2.BackColor = Color.FromArgb(232, 227, 227); Controls.Add(패널2); //패널 화면 출력 ArrayList arr2 = new ArrayList(); arr2.Add(new lbSet(this, "label5", "ELBON the table _", 140, 15, 35, 40, 10)); arr2.Add(new lbSet(this, "label6", "Mojave of Pos", 200, 27, 180, 29, 30)); arr2.Add(new lbSet(this, "label7", "1. Mojave of Pos 는 'Mojave/모하비'에서 제작하였습니다.", 350, 15, 35, 70, 8)); arr2.Add(new lbSet(this, "label8", "2. Mojave of Pos는 ELBON the table의 효율적인 재정관리를 할 수 있도록 돕기 위해 제작 되었습니다.", 380, 30, 35, 100, 8)); arr2.Add(new lbSet(this, "label9", "3. Mojave of Pos는 자체 제공한 시리얼넘버로 하나의 아이디만 회원 가입할수 있습니다.", 380, 30, 35, 145, 8)); arr2.Add(new lbSet(this, "label10", "4. Mojave of Pos는 비밀번호찾기 기능을 따로 제공하지 않습니다.", 380, 15, 35, 190, 8)); arr2.Add(new lbSet(this, "label6", "5. Mojave of Pos안의 ELBON the table 정보는 절대 외부에 공개를 하지 않습니다.", 380, 30, 35, 220, 8)); arr2.Add(new lbSet(this, "label12", "6. Mojave of Pos는 포스기에 최적화 되어 있습니다.", 380, 15, 35, 265, 8)); arr2.Add(new lbSet(this, "label13", "문의사항 : [email protected]", 380, 15, 35, 310, 8)); for (int i = 0; i < arr2.Count; i++) { if (typeof(lbSet) == arr2[i].GetType()) { Label label = ct.lable((lbSet)arr2[i]); if (i == 0) { label.Font = new Font("Tahoma", 9, FontStyle.Bold); } else if (i == 1) { label.Font = new Font("Tahoma", 19, FontStyle.Bold); } else { label.Font = new Font("Tahoma", 8, FontStyle.Bold); } 패널2.Controls.Add(label); } } }