this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.MaximizeBox = false;
this.MinimizeBox = false;
Size = new Size(422, 433);
Assistant.CenterFormOnScreen(this);
this.Text = "Aqua Theme";
Also not the circle on the left is gray and the Aqua theme makes it red with an x when you mouse over it.
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.MaximizeBox = false;
this.MinimizeBox = false;
Size = new Size(422, 433);
Assistant.CenterFormOnScreen(this);
this.Text = "Aqua Theme";
It is an MDI application and these are pop up forms.
Can someone tell me if this is normal or what other settings am I missing.
Thanks
Chom
MyTab tab =
new
MyTab();
var win =
this
.dock.DockControl(tab, DockPosition.Fill, DockType.Document);
win.TabStripItem.CloseButton.Visibility = ElementVisibility.Hidden;
win.TabStripItem.MouseHover +=
new
EventHandler(TabStripItem_MouseHover);
win.TabStripItem.MouseLeave +=
new
EventHandler(TabStripItem_MouseLeave);
void
TabStripItem_MouseLeave(
object
sender, EventArgs e)
{
var tabStripItem = (TabStripItem)sender;
tabStripItem.CloseButton.Visibility = ElementVisibility.Hidden;
}
void
TabStripItem_MouseHover(
object
sender, EventArgs e)
{
var tabStripItem = (TabStripItem)sender;
tabStripItem.CloseButton.Visibility = ElementVisibility.Visible;
}
grid.MultiSelect =
true
;
grid.SelectionMode = GridViewSelectionMode.CellSelect;
private
void
CountrySelector_MouseClick(
object
sender, MouseEventArgs e)
{ this
.CountrySelector.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDown;
this
.CountrySelector.DropDownListElement.ShowImageInEditorArea =
false
;
}private
void
CountrySelector_SelectedIndexChanged(
object
sender, Telerik.WinControls.UI.Data.PositionChangedEventArgs e)
{
this
.CountrySelector.DropDownListElement.ShowImageInEditorArea =
true
;
this
.CountrySelector.DropDownStyle = Telerik.WinControls.RadDropDownStyle.DropDownList;
}
Dim lu As LookupRow = DirectCast(rddlSite.SelectedItem.DataBoundItem, LookupRow)
If lu.LookupID <> Globals.CurrentSite Then
Dim currentGlobalSite As Integer = Globals.CurrentSite
If Globals.CurrentSite > 0 AndAlso checkDirtyLabour() Then 'if dirty and selected to not change, but not when Globals.CurrentSite not set
rddlSite.SelectedValue = Globals.CurrentSite
lh.rddlSite.SelectedValue = Globals.CurrentSite
Return
End If
lh.rddlSite.Text = ""
Globals.CurrentSite = lu.LookupID
lh.rddlSite.SelectedText = lu.FieldID
If Globals.CurrentSite > 0 Then refreshLabourOnSiteChange()
End If
Hi,
is it possible to enable or disable a specific cell in Gridview. i am using Winforms Q1 2010 SP1 version.
Regards,
Nitin