當前位置: 首頁>>代碼示例>>C#>>正文


C# ComboBox.set_Anchor方法代碼示例

本文整理匯總了C#中System.Windows.Forms.ComboBox.set_Anchor方法的典型用法代碼示例。如果您正苦於以下問題:C# ComboBox.set_Anchor方法的具體用法?C# ComboBox.set_Anchor怎麽用?C# ComboBox.set_Anchor使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在System.Windows.Forms.ComboBox的用法示例。


在下文中一共展示了ComboBox.set_Anchor方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_ServicesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_StreetsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_HousesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SettlementsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_Grid = new System.Windows.Forms.DataGridView();
     this.includeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.flatNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.abonentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownershipTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.monthCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chargeSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_GridBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SaveCalcButton = new System.Windows.Forms.Button();
     this.m_PreprocessMonths = new System.Windows.Forms.NumericUpDown();
     this.m_PreprocessButton = new System.Windows.Forms.Button();
     this.m_SearchButton = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.chbxNotChargeMunicipal = new System.Windows.Forms.CheckBox();
     this.chbxValidateNegativeSumm = new System.Windows.Forms.CheckBox();
     this.m_ExcludeAllButton = new System.Windows.Forms.Button();
     this.m_PreprocessDate = new DateBox();
     this.m_IncludeAllButton = new System.Windows.Forms.Button();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.selectOrganization1 = new SelectOrganization();
     this.m_FindWorker = new BackgroundWorker();
     this.m_ExecWorker = new BackgroundWorker();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     System.Windows.Forms.ComboBox box = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box2 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box3 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box4 = new System.Windows.Forms.ComboBox();
     this.m_ServicesBS.BeginInit();
     this.m_StreetsBS.BeginInit();
     this.m_HousesBS.BeginInit();
     this.m_SettlementsBS.BeginInit();
     this.m_Grid.BeginInit();
     this.m_GridBS.BeginInit();
     this.m_PreprocessMonths.BeginInit();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(9, 6));
     label.set_Name("label1");
     label.set_Size(new System.Drawing.Size(0x41, 13));
     label.set_TabIndex(1);
     label.set_Text("Поставщик");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 0x20));
     label2.set_Name("label2");
     label2.set_Size(new System.Drawing.Size(0x2b, 13));
     label2.set_TabIndex(2);
     label2.set_Text("Услуга");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(9, 0x3b));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(70, 13));
     label3.set_TabIndex(9);
     label3.set_Text("Насел.пункт");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x11b, 0x3b));
     label4.set_Name("label5");
     label4.set_Size(new System.Drawing.Size(0x27, 13));
     label4.set_TabIndex(9);
     label4.set_Text("Улица");
     label5.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label5.set_AutoSize(true);
     label5.set_Location(new System.Drawing.Point(0x242, 0x3b));
     label5.set_Name("label6");
     label5.set_Size(new System.Drawing.Size(30, 13));
     label5.set_TabIndex(9);
     label5.set_Text("Дом");
     label6.set_AutoSize(true);
     label6.set_Location(new System.Drawing.Point(3, 0x2f));
     label6.set_Name("label7");
     label6.set_Size(new System.Drawing.Size(0x69, 13));
     label6.set_TabIndex(12);
     label6.set_Text("Начисление с даты");
     label7.set_AutoSize(true);
     label7.set_Location(new System.Drawing.Point(220, 0x2f));
     label7.set_Name("label8");
     label7.set_Size(new System.Drawing.Size(90, 13));
     label7.set_TabIndex(12);
//.........這裏部分代碼省略.........
開發者ID:u4097,項目名稱:SQLScript,代碼行數:101,代碼來源:AddFixedSummServicesForm.cs


注:本文中的System.Windows.Forms.ComboBox.set_Anchor方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。